code
stringlengths 3
10M
| language
stringclasses 31
values |
|---|---|
public import interfaces;
public import category;
public import cobject;
public import morphism;
public import element;
public import homset;
public import composition;
public import cartesianproduct;
public import specialobjects;
public import specialmorphisms;
public import constant;
public import terminal;
public import initial;
public import evaluation;
public import contraction;
public import differentiation;
public import currying;
public import operations;
public import addition;
public import checks;
public import categorymeet;
public import hash;
public import catio;
public import std.conv;
public import std.format;
|
D
|
a thermoplastic polyamide
a synthetic fabric
|
D
|
module stk.generator;
public import stk.stk;
/***************************************************/
/*! \class Generator
\brief STK abstract unit generator parent class.
This class provides limited common functionality for STK unit
generator sample-source subclasses. It is general enough to
support both monophonic and polyphonic output classes.
by Perry R. Cook and Gary P. Scavone, 1995--2016.
*/
/***************************************************/
abstract class Generator : Stk
{
//! Class constructor.
this() { lastFrame_.resize( 1, 1, 0.0 ); }
//! Return the number of output channels for the class.
uint channelsOut() const {
return lastFrame_.channels();
}
//! Return an StkFrames reference to the last output sample frame.
ref StkFrames lastFrame() {
return lastFrame_;
}
//! Fill the StkFrames object with computed sample frames, starting at the specified channel.
/*!
The \c channel argument plus the number of output channels must
be less than the number of channels in the StkFrames argument (the
first channel is specified by 0). However, range checking is only
performed if _STK_DEBUG_ is defined during compilation, in which
case an out-of-range value will trigger an StkError exception.
*/
//ref StkFrames tick( ref StkFrames frames, uint channel = 0 ) = 0;
protected:
StkFrames lastFrame_;
}
|
D
|
/Users/oyo02699/apps/easycrm/easycrm-api/target/rls/debug/deps/notify-c2d646de703a4c41.rmeta: /Users/oyo02699/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/notify-4.0.15/src/lib.rs /Users/oyo02699/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/notify-4.0.15/src/fsevent.rs /Users/oyo02699/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/notify-4.0.15/src/null.rs /Users/oyo02699/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/notify-4.0.15/src/poll.rs /Users/oyo02699/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/notify-4.0.15/src/debounce/mod.rs /Users/oyo02699/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/notify-4.0.15/src/debounce/timer.rs
/Users/oyo02699/apps/easycrm/easycrm-api/target/rls/debug/deps/notify-c2d646de703a4c41.d: /Users/oyo02699/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/notify-4.0.15/src/lib.rs /Users/oyo02699/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/notify-4.0.15/src/fsevent.rs /Users/oyo02699/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/notify-4.0.15/src/null.rs /Users/oyo02699/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/notify-4.0.15/src/poll.rs /Users/oyo02699/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/notify-4.0.15/src/debounce/mod.rs /Users/oyo02699/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/notify-4.0.15/src/debounce/timer.rs
/Users/oyo02699/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/notify-4.0.15/src/lib.rs:
/Users/oyo02699/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/notify-4.0.15/src/fsevent.rs:
/Users/oyo02699/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/notify-4.0.15/src/null.rs:
/Users/oyo02699/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/notify-4.0.15/src/poll.rs:
/Users/oyo02699/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/notify-4.0.15/src/debounce/mod.rs:
/Users/oyo02699/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/notify-4.0.15/src/debounce/timer.rs:
|
D
|
unittest
{
enum X { A, B, C } // named enum
enum size(X) = X.sizeof; // raised as bug for issue #84
enum A = 3;
enum B
{
A = A // error, circular reference
}
enum C
{
A = B, // A = 4
B = D, // B = 4
C = 3, // C = 3
D // D = 4
}
enum E : C
{
E1 = C.D,
E2 // error, C.D is C.max
}
enum X { A=3, B, C }
X x; // x is initialized to 3
enum X { A=3, B, C }
X.min; // is X.A
X.max; // is X.C
X.sizeof; // is same as int.sizeof
enum { A, B, C } // anonymous enum
enum { A, B = 5+7, C, D = 8+C, E }
enum : long { A = 3, B }
enum : string
{
A = "hello",
B = "betty",
C // error, cannot add 1 to "betty"
}
enum
{
A = 1.2f, // A is 1.2f of type float
B, // B is 2.2f of type float
int C = 3, // C is 3 of type int
D // D is 4 of type int
}
enum i = 4; // i is 4 of type int
enum long l = 3; // l is 3 of type long
enum size = __traits(classInstanceSize, Foo); // evaluated at compile-time
enum EA
{
@disable member,
@A @B deprecated("meep") member,
deprecated("meep") member
}
}
|
D
|
/*******************************************************************************
copyright: Copyright (c) 2006 Tango. All rights reserved
license: BSD style: see doc/license.txt for details
version: Initial release: Feb 2006
author: Regan Heath, Oskar Linde
This module implements the MD4 Message Digest Algorithm as described
by RFC 1320 The MD4 Message-Digest Algorithm. R. Rivest. April 1992.
*******************************************************************************/
module tango.util.digest.Md4;
public import tango.util.digest.Digest;
private import tango.util.digest.MerkleDamgard;
/*******************************************************************************
*******************************************************************************/
class Md4 : MerkleDamgard
{
protected uint[4] context;
private const ubyte padChar = 0x80;
/***********************************************************************
Construct an Md4
***********************************************************************/
this() { }
/***********************************************************************
The MD 4 digest size is 16 bytes
***********************************************************************/
override uint digestSize() { return 16; }
/***********************************************************************
Initialize the cipher
Remarks:
Returns the cipher state to it's initial value
***********************************************************************/
override void reset()
{
super.reset();
context[] = initial[];
}
/***********************************************************************
Obtain the digest
Returns:
the digest
Remarks:
Returns a digest of the current cipher state, this may be the
final digest, or a digest of the state between calls to update()
***********************************************************************/
override void createDigest(ubyte[] buf)
{
version (BigEndian)
ByteSwap.swap32 (context.ptr, context.length * uint.sizeof);
buf[] = cast(ubyte[]) context;
}
/***********************************************************************
block size
Returns:
the block size
Remarks:
Specifies the size (in bytes) of the block of data to pass to
each call to transform(). For MD4 the blockSize is 64.
***********************************************************************/
protected override uint blockSize() { return 64; }
/***********************************************************************
Length padding size
Returns:
the length padding size
Remarks:
Specifies the size (in bytes) of the padding which uses the
length of the data which has been ciphered, this padding is
carried out by the padLength method. For MD4 the addSize is 8.
***********************************************************************/
protected override uint addSize() { return 8; }
/***********************************************************************
Pads the cipher data
Params:
data = a slice of the cipher buffer to fill with padding
Remarks:
Fills the passed buffer slice with the appropriate padding for
the final call to transform(). This padding will fill the cipher
buffer up to blockSize()-addSize().
***********************************************************************/
protected override void padMessage(ubyte[] data)
{
data[0] = padChar;
data[1..$] = 0;
}
/***********************************************************************
Performs the length padding
Params:
data = the slice of the cipher buffer to fill with padding
length = the length of the data which has been ciphered
Remarks:
Fills the passed buffer slice with addSize() bytes of padding
based on the length in bytes of the input data which has been
ciphered.
***********************************************************************/
protected override void padLength(ubyte[] data, ulong length)
{
length <<= 3;
littleEndian64((cast(ubyte*)&length)[0..8],cast(ulong[]) data);
}
/***********************************************************************
Performs the cipher on a block of data
Params:
data = the block of data to cipher
Remarks:
The actual cipher algorithm is carried out by this method on
the passed block of data. This method is called for every
blockSize() bytes of input data and once more with the remaining
data padded to blockSize().
***********************************************************************/
protected override void transform(ubyte[] input)
{
uint a,b,c,d;
uint[16] x;
littleEndian32(input,x);
a = context[0];
b = context[1];
c = context[2];
d = context[3];
/* Round 1 */
ff(a, b, c, d, x[ 0], S11, 0); /* 1 */
ff(d, a, b, c, x[ 1], S12, 0); /* 2 */
ff(c, d, a, b, x[ 2], S13, 0); /* 3 */
ff(b, c, d, a, x[ 3], S14, 0); /* 4 */
ff(a, b, c, d, x[ 4], S11, 0); /* 5 */
ff(d, a, b, c, x[ 5], S12, 0); /* 6 */
ff(c, d, a, b, x[ 6], S13, 0); /* 7 */
ff(b, c, d, a, x[ 7], S14, 0); /* 8 */
ff(a, b, c, d, x[ 8], S11, 0); /* 9 */
ff(d, a, b, c, x[ 9], S12, 0); /* 10 */
ff(c, d, a, b, x[10], S13, 0); /* 11 */
ff(b, c, d, a, x[11], S14, 0); /* 12 */
ff(a, b, c, d, x[12], S11, 0); /* 13 */
ff(d, a, b, c, x[13], S12, 0); /* 14 */
ff(c, d, a, b, x[14], S13, 0); /* 15 */
ff(b, c, d, a, x[15], S14, 0); /* 16 */
/* Round 2 */
gg(a, b, c, d, x[ 0], S21, 0x5a827999); /* 17 */
gg(d, a, b, c, x[ 4], S22, 0x5a827999); /* 18 */
gg(c, d, a, b, x[ 8], S23, 0x5a827999); /* 19 */
gg(b, c, d, a, x[12], S24, 0x5a827999); /* 20 */
gg(a, b, c, d, x[ 1], S21, 0x5a827999); /* 21 */
gg(d, a, b, c, x[ 5], S22, 0x5a827999); /* 22 */
gg(c, d, a, b, x[ 9], S23, 0x5a827999); /* 23 */
gg(b, c, d, a, x[13], S24, 0x5a827999); /* 24 */
gg(a, b, c, d, x[ 2], S21, 0x5a827999); /* 25 */
gg(d, a, b, c, x[ 6], S22, 0x5a827999); /* 26 */
gg(c, d, a, b, x[10], S23, 0x5a827999); /* 27 */
gg(b, c, d, a, x[14], S24, 0x5a827999); /* 28 */
gg(a, b, c, d, x[ 3], S21, 0x5a827999); /* 29 */
gg(d, a, b, c, x[ 7], S22, 0x5a827999); /* 30 */
gg(c, d, a, b, x[11], S23, 0x5a827999); /* 31 */
gg(b, c, d, a, x[15], S24, 0x5a827999); /* 32 */
/* Round 3 */
hh(a, b, c, d, x[ 0], S31, 0x6ed9eba1); /* 33 */
hh(d, a, b, c, x[ 8], S32, 0x6ed9eba1); /* 34 */
hh(c, d, a, b, x[ 4], S33, 0x6ed9eba1); /* 35 */
hh(b, c, d, a, x[12], S34, 0x6ed9eba1); /* 36 */
hh(a, b, c, d, x[ 2], S31, 0x6ed9eba1); /* 37 */
hh(d, a, b, c, x[10], S32, 0x6ed9eba1); /* 38 */
hh(c, d, a, b, x[ 6], S33, 0x6ed9eba1); /* 39 */
hh(b, c, d, a, x[14], S34, 0x6ed9eba1); /* 40 */
hh(a, b, c, d, x[ 1], S31, 0x6ed9eba1); /* 41 */
hh(d, a, b, c, x[ 9], S32, 0x6ed9eba1); /* 42 */
hh(c, d, a, b, x[ 5], S33, 0x6ed9eba1); /* 43 */
hh(b, c, d, a, x[13], S34, 0x6ed9eba1); /* 44 */
hh(a, b, c, d, x[ 3], S31, 0x6ed9eba1); /* 45 */
hh(d, a, b, c, x[11], S32, 0x6ed9eba1); /* 46 */
hh(c, d, a, b, x[ 7], S33, 0x6ed9eba1); /* 47 */
hh(b, c, d, a, x[15], S34, 0x6ed9eba1); /* 48 */
context[0] += a;
context[1] += b;
context[2] += c;
context[3] += d;
x[] = 0;
}
/***********************************************************************
***********************************************************************/
protected static uint f(uint x, uint y, uint z)
{
return (x&y)|(~x&z);
}
/***********************************************************************
***********************************************************************/
protected static uint h(uint x, uint y, uint z)
{
return x^y^z;
}
/***********************************************************************
***********************************************************************/
private static uint g(uint x, uint y, uint z)
{
return (x&y)|(x&z)|(y&z);
}
/***********************************************************************
***********************************************************************/
private static void ff(ref uint a, uint b, uint c, uint d, uint x, uint s, uint ac)
{
a += f(b, c, d) + x + ac;
a = rotateLeft(a, s);
}
/***********************************************************************
***********************************************************************/
private static void gg(ref uint a, uint b, uint c, uint d, uint x, uint s, uint ac)
{
a += g(b, c, d) + x + ac;
a = rotateLeft(a, s);
}
/***********************************************************************
***********************************************************************/
private static void hh(ref uint a, uint b, uint c, uint d, uint x, uint s, uint ac)
{
a += h(b, c, d) + x + ac;
a = rotateLeft(a, s);
}
/***********************************************************************
***********************************************************************/
private static const uint[4] initial =
[
0x67452301,
0xefcdab89,
0x98badcfe,
0x10325476
];
/***********************************************************************
***********************************************************************/
private static enum
{
S11 = 3,
S12 = 7,
S13 = 11,
S14 = 19,
S21 = 3,
S22 = 5,
S23 = 9,
S24 = 13,
S31 = 3,
S32 = 9,
S33 = 11,
S34 = 15,
}
}
/*******************************************************************************
*******************************************************************************/
debug(UnitTest)
{
unittest
{
static char[][] strings =
[
"",
"a",
"abc",
"message digest",
"abcdefghijklmnopqrstuvwxyz",
"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789",
"12345678901234567890123456789012345678901234567890123456789012345678901234567890"
];
static char[][] results =
[
"31d6cfe0d16ae931b73c59d7e0c089c0",
"bde52cb31de33e46245e05fbdbd6fb24",
"a448017aaf21d8525fc10ae87aa6729d",
"d9130a8164549fe818874806e1c7014b",
"d79e1c308aa5bbcdeea8ed63df412da9",
"043f8582f241db351ce627e153e7f0e4",
"e33b4ddc9c38f2199c3e7b164fcc0536"
];
Md4 h = new Md4();
foreach (int i, char[] s; strings)
{
h.update(s);
char[] d = h.hexDigest;
assert(d == results[i],":("~s~")("~d~")!=("~results[i]~")");
}
}
}
|
D
|
instance GRD_2712_Gardist (Npc_Default)
{
//-------- primary data --------
name = NAME_Gardist;
npctype = NPCTYPE_MAIN;
guild = GIL_DMB;
id = 2712;
voice = 12;
attribute[ATR_STRENGTH] = 50;
attribute[ATR_DEXTERITY] = 10;
attribute[ATR_MANA_MAX] = 0;
attribute[ATR_MANA] = 0;
attribute[ATR_HITPOINTS_MAX]= 170;
attribute[ATR_HITPOINTS] = 170;
Mdl_SetVisual (self,"HUMANS.MDS");
Mdl_ApplyOverlayMds (self,"Humans_Militia.mds");
// body mesh ,bdytex,skin,head mesh ,headtex,teethtex,ruestung
//Mdl_SetVisualBody (self,"hum_body_Naked0", 0, 0,"Hum_Head_FatBald", 10, 1, -1);
B_Scale (self);
/////////////////////////////////////////
B_InitGrdFunc(self,10,15);
//-------------Daily Routine-------------
start_aistate = ZS_ChallengeTragets;
};
|
D
|
a planner who draws up a personal scheme of action
a clerk who marks data on a chart
a member of a conspiracy
an instrument (usually driven by a computer) for drawing graphs or pictures
|
D
|
var C_Npc Raven;
var C_Npc Tom;
var C_Npc Logan;
var C_Npc Ramon;
var C_Npc BanditGuard;
var C_Npc Lehmar;
var C_Npc Franco;
var C_Npc Paul;
var C_Npc Lennar;
var C_Npc Esteban;
var C_Npc Carlos;
var C_Npc Finn;
var C_Npc Fisk;
var C_Npc Thorus;
var C_Npc Bloodwyn;
var C_Npc Freund;
var C_Npc Skinner;
var C_Npc Juan;
var C_Npc JUANFRIEND;
var C_Npc Senyan;
var C_Npc Fortuno;
var C_Npc Wache_01;
var C_Npc Wache_02;
var C_Npc Torwache2;
var C_Npc PrisonGuard;
var C_Npc Buddler_1;
var C_Npc Buddler_2;
var C_Npc Buddler_3;
var C_Npc Patrick;
var C_Npc Tonak;
var C_Npc Telbor;
var C_Npc Monty;
var C_Npc Pardos;
var C_Npc Patrick_NW;
var C_Npc Tonak_NW;
var C_Npc Telbor_NW;
var C_Npc Monty_NW;
var C_Npc Pardos_NW;
var C_Npc Cavalorn;
var C_Npc Greg_NW;
var C_Npc Skip_NW;
var C_Npc EREMIT;
var C_Npc Erol;
var C_Npc Martin;
var C_Npc Gaan;
var C_Npc Farim;
var C_Npc Elvrich;
var C_Npc Morgan;
var C_Npc AlligatorJack;
var C_Npc Francis;
var C_Npc Henry;
var C_Npc Bill;
var C_Npc Garett;
var C_Npc Samuel;
var C_Npc Angus;
var C_Npc Greg;
var C_Npc Malcom;
var C_Npc Owen;
var C_Npc Skip;
var C_Npc Brandon;
var C_Npc Matt;
var C_Npc RoastPirate;
var C_Npc BenchPirate;
var C_Npc SawPirate;
var C_Npc HammerPirate;
var C_Npc Merdarion_NW;
var C_Npc Riordian_NW;
var C_Npc Myxir_NW;
var C_Npc Nefarius_NW;
var C_Npc Cronos_ADW;
var C_Npc Cronos_NW;
var C_Npc Saturas_NW;
var C_Npc Myxir_ADW;
var C_Npc Myxir_CITY;
var C_Npc Quarhodron;
var C_Npc Dexter;
var C_Npc Sumpfi_01;
var C_Npc Sumpfi_02;
var C_Npc Sumpfi_03;
var C_Npc GornOW;
var C_Npc GornDJG;
var C_Npc GornNW_vor_DJG;
var C_Npc GornNW_nach_DJG;
var C_Npc Gorn_DI;
var C_Npc Lester;
var C_Npc Lester_DI;
var C_Npc MiltenNW;
var C_Npc Milten_DI;
var C_Npc DiegoOW;
var C_Npc DiegoNW;
var C_Npc Diego_DI;
var C_Npc Xardas;
var C_Npc Pyrokar;
var C_Npc Ambusher_1013;
var C_Npc Ambusher_1014;
var C_Npc Ambusher_1015;
var C_Npc Vino;
var C_Npc Lobart;
var C_Npc LobartsBauer1;
var C_Npc LobartsBauer2;
var C_Npc Hilda;
var C_Npc Borka;
var C_Npc Stadtwache_310;
var C_Npc STADTWACHE_310_01;
var C_Npc STADTWACHE_310_02;
var C_Npc Stadtwache_333;
var C_Npc Schiffswache_212;
var C_Npc Schiffswache_213;
var C_Npc Torwache_305;
var C_Npc Lagerwache;
var C_Npc Halvor;
var C_Npc Attila;
var C_Npc Brahim;
var C_Npc Nadja;
var C_Npc Vanja;
var C_Npc Moe;
var C_Npc Valentino;
var C_Npc Sagitta;
var C_Npc BDTWache;
var C_Npc Karras;
var C_Npc Gorax;
var C_Npc Rengaru;
var C_Npc Sarah;
var C_Npc Canthar;
var C_Npc Andre;
var C_Npc Lothar;
var C_Npc torwache2044;
var C_Npc Girion;
var C_Npc Girion_DI;
var C_Npc Salandril;
var C_Npc Cornelius;
var C_Npc Bartok;
var C_Npc CityOrc;
var C_Npc Gritta;
var C_Npc Richter;
var C_Npc LordHagen;
var C_Npc Albrecht;
var C_Npc Ingmar;
var C_Npc Fellan;
var C_Npc Bromor;
var C_Npc Fernando;
var C_Npc Wulfgar;
var C_Npc Mario;
var C_Npc Mario_DI;
var C_Npc Ignaz;
var C_Npc Constantino;
var C_Npc ANSELM;
var C_Npc SELIVAN;
var C_Npc ROMIL;
var C_Npc Thorben;
var C_Npc Bosper;
var C_Npc Matteo;
var C_Npc Jack;
var C_Npc Jack_DI;
var C_Npc Jorgen_DI;
var C_Npc Peck;
var C_Npc Cassia;
var C_Npc Jesper;
var C_Npc Ramirez;
var C_Npc Nagur;
var C_Npc Rangar;
var C_Npc Bronko;
var C_Npc Sekob;
var C_Npc Rosi;
var C_Npc Till;
var C_Npc Balthasar;
var C_Npc BalthasarSheep1;
var C_Npc BalthasarSheep2;
var C_Npc BalthasarSheep3;
var C_Npc Rumbold;
var C_Npc Rick;
var C_Npc Bengar;
var C_Npc Malak;
var C_Npc Egill;
var C_Npc Ehnim;
var C_Npc Engardo;
var C_Npc Alvares;
var C_Npc Kati;
var C_Npc Akil;
var C_Npc Orlan;
var C_Npc Rukhar;
var C_Npc Randolph;
var C_Npc Pedro;
var C_Npc Lares;
var C_Npc Vatras;
var C_Npc vatras_di;
var C_Npc Pablo;
var C_Npc Nov607;
var C_Npc Magic_Golem;
var C_Npc Liesel;
var C_Npc Igaraz;
var C_Npc Agon;
var C_Npc Opolos;
var C_Npc Babo;
var C_Npc Dyrian;
var C_Npc Feger1;
var C_Npc Feger2;
var C_Npc Feger3;
var C_Npc Isgaroth;
var C_Npc Sergio;
var C_Npc Ulf;
var C_Npc Wolfi;
var C_Npc Fed;
var C_Npc Kervo;
var C_Npc Geppert;
var C_Npc Bote;
var C_Npc Jorgen;
var C_Npc LeuchtturmBandit_1021;
var C_Npc LeuchtturmBandit_1022;
var C_Npc LeuchtturmBandit_1023;
var C_Npc Brian;
var C_Npc Harad;
var C_Npc Gerbrandt;
var C_Npc GerbrandtsFrau;
var C_Npc Morgahard;
var C_Npc Tengron;
var C_Npc Engor;
var C_Npc Bandit_1;
var C_Npc Bandit_2;
var C_Npc Bandit_3;
var C_Npc Koch;
var C_Npc Bruder;
var C_Npc VLK_Leiche1;
var C_Npc VLK_Leiche2;
var C_Npc VLK_Leiche3;
var C_Npc STRF_Leiche1;
var C_Npc STRF_Leiche2;
var C_Npc STRF_Leiche3;
var C_Npc STRF_Leiche4;
var C_Npc STRF_Leiche5;
var C_Npc STRF_Leiche6;
var C_Npc STRF_Leiche7;
var C_Npc STRF_Leiche8;
var C_Npc PAL_Leiche1;
var C_Npc PAL_Leiche2;
var C_Npc PAL_Leiche3;
var C_Npc PAL_Leiche4;
var C_Npc PAL_Leiche5;
var C_Npc Olav;
var C_Npc Marcos_Guard1;
var C_Npc Marcos_Guard2;
var C_Npc Jergan;
var C_Npc Parlaf;
var C_Npc Garond;
var C_Npc Oric;
var C_Npc Parcival;
var C_Npc DJG_Sylvio;
var C_Npc DJG_Bullco;
var C_Npc DJG_Cipher;
var C_Npc DJG_Rod;
var C_Npc DJG_Angar;
var C_Npc Angar_NW;
var C_Npc Angar_DI;
var C_Npc Kurgan;
var C_Npc Kjorn;
var C_Npc Godar;
var C_Npc Hokurn;
var C_Npc Biff;
var C_Npc Biff_NW;
var C_Npc Biff_DI;
var C_Npc Fajeth;
var C_Npc Bilgot;
var C_Npc Brutus;
var C_Npc Rethon;
var C_Npc Ferros;
var C_Npc Jan;
var C_Npc Hosh_Pak;
var C_Npc Urshak;
var C_Npc Sengrath;
var C_Npc HaupttorWache_4143;
var C_Npc Engrom;
var C_Npc DMT_1200;
var C_Npc dmt_1201;
var C_Npc dmt_1202;
var C_Npc dmt_1203;
var C_Npc dmt_1204;
var C_Npc dmt_1205;
var C_Npc dmt_1206;
var C_Npc dmt_1207;
var C_Npc dmt_1208;
var C_Npc dmt_1209;
var C_Npc dmt_1210;
var C_Npc dmt_1211;
var C_Npc DMT_Vino1;
var C_Npc DMT_Vino2;
var C_Npc DMT_Vino3;
var C_Npc DMT_Vino4;
var C_Npc SwampDragon;
var C_Npc RockDragon;
var C_Npc FireDragon;
var C_Npc IceDragon;
var C_Npc UndeadDragon;
var C_Npc FireDragonIsland;
var C_Npc trollblack;
var C_Npc Pedro_DI;
var C_Npc Keymaster_DI;
var C_Npc Archol;
var C_Npc amort;
var C_Npc Lee;
var C_Npc Lee_DI;
var C_Npc Torlof;
var C_Npc Torlof_DI;
var C_Npc Buster;
var C_Npc Cipher;
var C_Npc Rod;
var C_Npc Cord;
var C_Npc Sylvio;
var C_Npc Bullco;
var C_Npc Jarvis;
var C_Npc Hodges;
var C_Npc Bennet;
var C_Npc Bennet_DI;
var C_Npc Dar;
var C_Npc SLD_Wolf;
var C_Npc Sentenza;
var C_Npc Fester;
var C_Npc Raoul;
var C_Npc Onar;
var C_Npc Bodo;
var C_Npc Pepe;
var C_Npc Garwig;
var C_Npc sonja;
var C_Npc lucia;
var C_Npc huno;
var C_Npc melfri;
func void B_InitNpcGlobals()
{
if(Kapitel == 0)
{
Kapitel = 1;
};
Raven = Hlp_GetNpc(BDT_1090_Addon_Raven);
Tom = Hlp_GetNpc(BDT_1080_Addon_Tom);
Logan = Hlp_GetNpc(BDT_1072_Addon_Logan);
Ramon = Hlp_GetNpc(BDT_1071_Addon_Ramon);
BanditGuard = Hlp_GetNpc(BDT_1064_Bandit_L);
Lehmar = Hlp_GetNpc(VLK_484_Lehmar);
Franco = Hlp_GetNpc(BDT_1093_Addon_Franco);
Paul = Hlp_GetNpc(BDT_1070_Addon_Paul);
Esteban = Hlp_GetNpc(BDT_1083_Addon_Esteban);
Lennar = Hlp_GetNpc(BDT_1096_Addon_Lennar);
Carlos = Hlp_GetNpc(BDT_1079_Addon_Carlos);
Fisk = Hlp_GetNpc(BDT_1097_Addon_Fisk);
Thorus = Hlp_GetNpc(BDT_10014_Addon_Thorus);
Bloodwyn = Hlp_GetNpc(BDT_1085_Addon_Bloodwyn);
Freund = Hlp_GetNpc(BDT_10016_Addon_Bandit);
Skinner = Hlp_GetNpc(BDT_1082_Addon_Skinner);
Juan = Hlp_GetNpc(BDT_10017_Addon_Juan);
JUANFRIEND = Hlp_GetNpc(BDT_10016_Addon_Bandit);
Senyan = Hlp_GetNpc(BDT_1084_Addon_Senyan);
Fortuno = Hlp_GetNpc(BDT_1075_Addon_Fortuno);
Finn = Hlp_GetNpc(BDT_10004_Addon_Finn);
Wache_02 = Hlp_GetNpc(BDT_10005_Addon_Wache_02);
Wache_01 = Hlp_GetNpc(BDT_1081_Addon_Wache_01);
Torwache2 = Hlp_GetNpc(BDT_1088_Addon_Torwache);
PrisonGuard = Hlp_GetNpc(BDT_10023_Addon_Wache);
Buddler_1 = Hlp_GetNpc(BDT_10027_Addon_Buddler);
Buddler_2 = Hlp_GetNpc(BDT_10028_Addon_Buddler);
Buddler_3 = Hlp_GetNpc(BDT_10029_Addon_Buddler);
Patrick = Hlp_GetNpc(STRF_1118_Addon_Patrick);
Tonak = Hlp_GetNpc(STRF_1120_Addon_Tonak);
Telbor = Hlp_GetNpc(STRF_1121_Addon_Telbor);
Monty = Hlp_GetNpc(STRF_1119_Addon_Monty);
Pardos = Hlp_GetNpc(STRF_1122_Addon_Pardos);
Patrick_NW = Hlp_GetNpc(STRF_1123_Addon_Patrick_NW);
Monty_NW = Hlp_GetNpc(STRF_1124_Addon_Monty_NW);
Tonak_NW = Hlp_GetNpc(STRF_1125_Addon_Tonak_NW);
Telbor_NW = Hlp_GetNpc(STRF_1126_Addon_Telbor_NW);
Pardos_NW = Hlp_GetNpc(STRF_1127_Addon_Pardos_NW);
Cavalorn = Hlp_GetNpc(BAU_4300_Addon_Cavalorn);
Greg_NW = Hlp_GetNpc(PIR_1300_Addon_Greg_NW);
Skip_NW = Hlp_GetNpc(PIR_1301_Addon_Skip_NW);
EREMIT = Hlp_GetNpc(NONE_ADDON_115_Eremit);
Erol = Hlp_GetNpc(VLK_4303_Addon_Erol);
Martin = Hlp_GetNpc(Mil_350_Addon_Martin);
Gaan = Hlp_GetNpc(BAU_961_Gaan);
Farim = Hlp_GetNpc(VLK_4301_Addon_Farim);
Elvrich = Hlp_GetNpc(VLK_4302_Addon_Elvrich);
Morgan = Hlp_GetNpc(PIR_1353_Addon_Morgan);
Samuel = Hlp_GetNpc(PIR_1351_Addon_Samuel);
Henry = Hlp_GetNpc(PIR_1354_Addon_Henry);
AlligatorJack = Hlp_GetNpc(PIR_1352_Addon_AlligatorJack);
Bill = Hlp_GetNpc(PIR_1356_Addon_Bill);
Garett = Hlp_GetNpc(PIR_1357_Addon_Garett);
Francis = Hlp_GetNpc(PIR_1350_Addon_Francis);
Angus = Hlp_GetNpc(PIR_1370_Addon_Angus);
Greg = Hlp_GetNpc(PIR_1320_Addon_Greg);
Malcom = Hlp_GetNpc(PIR_1368_Addon_Malcom);
Owen = Hlp_GetNpc(PIR_1367_Addon_Owen);
Skip = Hlp_GetNpc(PIR_1355_Addon_Skip);
Matt = Hlp_GetNpc(PIR_1365_Addon_Matt);
Brandon = Hlp_GetNpc(PIR_1366_Addon_Brandon);
RoastPirate = Hlp_GetNpc(PIR_1364_Addon_Pirat);
BenchPirate = Hlp_GetNpc(PIR_1363_Addon_PIRAT);
SawPirate = Hlp_GetNpc(PIR_1361_Addon_PIRAT);
HammerPirate = Hlp_GetNpc(PIR_1360_Addon_PIRAT);
Saturas_NW = Hlp_GetNpc(KDW_1400_Addon_Saturas_NW);
Nefarius_NW = Hlp_GetNpc(KDW_1402_Addon_Nefarius_NW);
Cronos_ADW = Hlp_GetNpc(KDW_14010_Addon_Cronos_ADW);
Cronos_NW = Hlp_GetNpc(KDW_1401_Addon_Cronos_NW);
Myxir_ADW = Hlp_GetNpc(KDW_14030_Addon_Myxir_ADW);
Myxir_CITY = Hlp_GetNpc(KDW_140300_Addon_Myxir_CITY);
Myxir_NW = Hlp_GetNpc(KDW_1403_Addon_Myxir_NW);
Riordian_NW = Hlp_GetNpc(KDW_1404_Addon_Riordian_NW);
Merdarion_NW = Hlp_GetNpc(KDW_1405_Addon_Merdarion_NW);
Quarhodron = Hlp_GetNpc(NONE_ADDON_111_Quarhodron);
Dexter = Hlp_GetNpc(BDT_1060_Dexter);
Sumpfi_01 = Hlp_GetNpc(MIS_Addon_Swampshark_01);
Sumpfi_02 = Hlp_GetNpc(MIS_Addon_Swampshark_02);
Sumpfi_03 = Hlp_GetNpc(MIS_Addon_Swampshark_03);
Garwig = Hlp_GetNpc(Nov_608_Garwig);
GornOW = Hlp_GetNpc(PC_Fighter_OW);
GornNW_vor_DJG = Hlp_GetNpc(PC_Fighter_NW_vor_DJG);
GornDJG = Hlp_GetNpc(PC_Fighter_DJG);
GornNW_nach_DJG = Hlp_GetNpc(PC_Fighter_NW_nach_DJG);
Gorn_DI = Hlp_GetNpc(PC_Fighter_DI);
Lester = Hlp_GetNpc(PC_Psionic);
Lester_DI = Hlp_GetNpc(PC_Psionic_DI);
MiltenNW = Hlp_GetNpc(PC_Mage_NW);
Milten_DI = Hlp_GetNpc(PC_Mage_DI);
DiegoOW = Hlp_GetNpc(PC_ThiefOW);
DiegoNW = Hlp_GetNpc(PC_Thief_NW);
Diego_DI = Hlp_GetNpc(PC_Thief_DI);
Ambusher_1013 = Hlp_GetNpc(Bdt_1013_Bandit_L);
Ambusher_1014 = Hlp_GetNpc(Bdt_1014_Bandit_L);
Ambusher_1015 = Hlp_GetNpc(Bdt_1015_Bandit_L);
Xardas = Hlp_GetNpc(NONE_100_Xardas);
Pyrokar = Hlp_GetNpc(KDF_500_Pyrokar);
Lee = Hlp_GetNpc(SLD_800_Lee);
Lee_DI = Hlp_GetNpc(SLD_800_Lee_DI);
Vatras = Hlp_GetNpc(VLK_439_Vatras);
vatras_di = Hlp_GetNpc(VLK_439_Vatras_DI);
Pablo = Hlp_GetNpc(MIL_319_Pablo);
Nov607 = Hlp_GetNpc(NOV_607_Novize);
Lares = Hlp_GetNpc(VLK_449_Lares);
Vino = Hlp_GetNpc(BAU_952_Vino);
Lobart = Hlp_GetNpc(BAU_950_Lobart);
LobartsBauer1 = Hlp_GetNpc(BAU_955_Bauer);
LobartsBauer2 = Hlp_GetNpc(BAU_953_Bauer);
Hilda = Hlp_GetNpc(BAU_951_Hilda);
Borka = Hlp_GetNpc(VLK_434_Borka);
Stadtwache_310 = Hlp_GetNpc(Mil_310_Stadtwache);
Stadtwache_333 = Hlp_GetNpc(Mil_333_Stadtwache);
Schiffswache_212 = Hlp_GetNpc(PAL_212_Schiffswache);
Schiffswache_213 = Hlp_GetNpc(PAL_213_Schiffswache);
Torwache_305 = Hlp_GetNpc(Mil_305_Torwache);
Lagerwache = Hlp_GetNpc(Mil_328_Miliz);
Halvor = Hlp_GetNpc(VLK_469_Halvor);
Attila = Hlp_GetNpc(VLK_494_Attila);
Brahim = Hlp_GetNpc(VLK_437_Brahim);
Nadja = Hlp_GetNpc(VLK_435_Nadja);
Vanja = Hlp_GetNpc(VLK_491_Vanja);
Moe = Hlp_GetNpc(VLK_432_Moe);
Valentino = Hlp_GetNpc(VLK_421_Valentino);
Sagitta = Hlp_GetNpc(BAU_980_Sagitta);
BDTWache = Hlp_GetNpc(BDT_1061_Wache);
Karras = Hlp_GetNpc(KDF_503_Karras);
Gorax = Hlp_GetNpc(KDF_508_Gorax);
Rengaru = Hlp_GetNpc(VLK_492_Rengaru);
Sarah = Hlp_GetNpc(VLK_470_Sarah);
Canthar = Hlp_GetNpc(VLK_468_Canthar);
Andre = Hlp_GetNpc(MIL_311_Andre);
Lothar = Hlp_GetNpc(PAL_203_Lothar);
torwache2044 = Hlp_GetNpc(pal_2044_torwache);
Girion = Hlp_GetNpc(Pal_207_Girion);
Girion_DI = Hlp_GetNpc(Pal_207_Girion_DI);
Salandril = Hlp_GetNpc(VLK_422_Salandril);
Cornelius = Hlp_GetNpc(VLK_401_Cornelius);
Hodges = Hlp_GetNpc(BAU_908_Hodges);
Bennet = Hlp_GetNpc(SLD_809_Bennet);
Bennet_DI = Hlp_GetNpc(SLD_809_Bennet_DI);
SLD_Wolf = Hlp_GetNpc(SLD_811_Wolf);
Buster = Hlp_GetNpc(SLD_802_Buster);
Bartok = Hlp_GetNpc(VLK_440_Bartok);
CityOrc = Hlp_GetNpc(OrcWarrior_Harad);
Gritta = Hlp_GetNpc(VLK_418_Gritta);
Richter = Hlp_GetNpc(Vlk_402_Richter);
Constantino = Hlp_GetNpc(VLK_417_Constantino);
ANSELM = Hlp_GetNpc(vlk_4171_anselm);
SELIVAN = Hlp_GetNpc(vlk_4172_selivan);
ROMIL = Hlp_GetNpc(vlk_4173_romil);
Thorben = Hlp_GetNpc(VLK_462_Thorben);
Bosper = Hlp_GetNpc(VLK_413_Bosper);
Matteo = Hlp_GetNpc(VLK_416_Matteo);
LordHagen = Hlp_GetNpc(PAL_200_Hagen);
Albrecht = Hlp_GetNpc(PAL_202_Albrecht);
Ingmar = Hlp_GetNpc(Pal_201_Ingmar);
Fellan = Hlp_GetNpc(VLK_480_Fellan);
Bromor = Hlp_GetNpc(VLK_433_Bromor);
Fernando = Hlp_GetNpc(VLK_405_Fernando);
Wulfgar = Hlp_GetNpc(MIL_312_Wulfgar);
Mario = Hlp_GetNpc(None_101_Mario);
Mario_DI = Hlp_GetNpc(None_101_Mario_DI);
Ignaz = Hlp_GetNpc(VLK_498_Ignaz);
Jack = Hlp_GetNpc(VLK_444_Jack);
Jack_DI = Hlp_GetNpc(VLK_444_Jack_DI);
Jorgen_DI = Hlp_GetNpc(VLK_4250_Jorgen_DI);
Torlof = Hlp_GetNpc(SLD_801_Torlof);
Torlof_DI = Hlp_GetNpc(SLD_801_Torlof_DI);
Peck = Hlp_GetNpc(MIL_324_Peck);
Cassia = Hlp_GetNpc(VLK_447_Cassia);
Jesper = Hlp_GetNpc(VLK_446_Jesper);
Ramirez = Hlp_GetNpc(VLK_445_Ramirez);
Nagur = Hlp_GetNpc(VLK_493_Nagur);
Rangar = Hlp_GetNpc(MIL_321_Rangar);
Sylvio = Hlp_GetNpc(SLD_806_Sylvio);
Sentenza = Hlp_GetNpc(SLD_814_Sentenza);
Bronko = Hlp_GetNpc(BAU_935_Bronko);
Sekob = Hlp_GetNpc(BAU_930_Sekob);
Rosi = Hlp_GetNpc(BAU_936_Rosi);
Till = Hlp_GetNpc(BAU_931_Till);
Balthasar = Hlp_GetNpc(BAU_932_Balthasar);
BalthasarSheep1 = Hlp_GetNpc(Balthasar_Sheep1);
BalthasarSheep2 = Hlp_GetNpc(Balthasar_Sheep2);
BalthasarSheep3 = Hlp_GetNpc(Balthasar_Sheep3);
Rumbold = Hlp_GetNpc(Mil_335_Rumbold);
Rick = Hlp_GetNpc(Mil_336_Rick);
Bengar = Hlp_GetNpc(BAU_960_Bengar);
Malak = Hlp_GetNpc(BAU_963_Malak);
Egill = Hlp_GetNpc(BAU_945_Egill);
Ehnim = Hlp_GetNpc(BAU_944_Ehnim);
Engardo = Hlp_GetNpc(SLD_841_Engardo);
Alvares = Hlp_GetNpc(SLD_840_Alvares);
Kati = Hlp_GetNpc(BAU_941_Kati);
Akil = Hlp_GetNpc(BAU_940_Akil);
Orlan = Hlp_GetNpc(BAU_970_Orlan);
Rukhar = Hlp_GetNpc(BAU_973_Rukhar);
Randolph = Hlp_GetNpc(BAU_942_Randolph);
Pedro = Hlp_GetNpc(NOV_600_Pedro);
Magic_Golem = Hlp_GetNpc(MagicGolem);
Liesel = Hlp_GetNpc(Follow_Sheep);
Igaraz = Hlp_GetNpc(NOV_601_Igaraz);
Agon = Hlp_GetNpc(NOV_603_Agon);
Opolos = Hlp_GetNpc(NOV_605_Opolos);
Babo = Hlp_GetNpc(NOV_612_Babo);
Dyrian = Hlp_GetNpc(NOV_604_Dyrian);
Feger1 = Hlp_GetNpc(NOV_615_Novize);
Feger2 = Hlp_GetNpc(NOV_611_Novize);
Feger3 = Hlp_GetNpc(NOV_609_Novize);
Isgaroth = Hlp_GetNpc(KDF_509_Isgaroth);
Sergio = Hlp_GetNpc(PAL_299_Sergio);
Wolfi = Hlp_GetNpc(BlackWolf);
Ulf = Hlp_GetNpc(NOV_602_Ulf);
Fed = Hlp_GetNpc(STRF_1106_Fed);
Kervo = Hlp_GetNpc(STRF_1116_Kervo);
Geppert = Hlp_GetNpc(STRF_1115_Geppert);
Bote = Hlp_GetNpc(VLK_4006_Bote);
Jorgen = Hlp_GetNpc(VLK_4250_Jorgen);
LeuchtturmBandit_1021 = Hlp_GetNpc(BDT_1021_LeuchtturmBandit);
LeuchtturmBandit_1022 = Hlp_GetNpc(BDT_1022_LeuchtturmBandit);
LeuchtturmBandit_1023 = Hlp_GetNpc(BDT_1023_LeuchtturmBandit);
Brian = Hlp_GetNpc(VLK_457_Brian);
Harad = Hlp_GetNpc(VLK_412_Harad);
Gerbrandt = Hlp_GetNpc(VLK_403_Gerbrandt);
GerbrandtsFrau = Hlp_GetNpc(VLK_497_Buergerin);
Morgahard = Hlp_GetNpc(BDT_1030_Morgahard);
Tengron = Hlp_GetNpc(PAL_280_Tengron);
Engor = Hlp_GetNpc(VLK_4108_Engor);
Bandit_1 = Hlp_GetNpc(BDT_1009_Bandit_L);
Bandit_2 = Hlp_GetNpc(BDT_1010_Bandit_L);
Bandit_3 = Hlp_GetNpc(BDT_1011_Bandit_M);
Koch = Hlp_GetNpc(STRF_1107_Straefling);
Bruder = Hlp_GetNpc(PAL_2004_Bruder);
PAL_Leiche1 = Hlp_GetNpc(PAL_2002_Leiche);
PAL_Leiche2 = Hlp_GetNpc(PAL_2003_Leiche);
PAL_Leiche3 = Hlp_GetNpc(PAL_2005_Leiche);
PAL_Leiche4 = Hlp_GetNpc(PAL_2006_Leiche);
PAL_Leiche5 = Hlp_GetNpc(PAL_2007_Leiche);
VLK_Leiche1 = Hlp_GetNpc(VLK_4150_Leiche);
VLK_Leiche2 = Hlp_GetNpc(VLK_4151_Leiche);
VLK_Leiche3 = Hlp_GetNpc(VLK_4112_Den);
STRF_Leiche1 = Hlp_GetNpc(STRF_1150_Leiche);
STRF_Leiche2 = Hlp_GetNpc(STRF_1151_Leiche);
STRF_Leiche3 = Hlp_GetNpc(STRF_1153_Leiche);
STRF_Leiche4 = Hlp_GetNpc(STRF_1152_Leiche);
STRF_Leiche5 = Hlp_GetNpc(STRF_1154_Leiche);
STRF_Leiche6 = Hlp_GetNpc(STRF_1155_Leiche);
STRF_Leiche7 = Hlp_GetNpc(STRF_1156_Leiche);
STRF_Leiche8 = Hlp_GetNpc(STRF_1157_Leiche);
Olav = Hlp_GetNpc(VLK_4152_Olav);
Marcos_Guard1 = Hlp_GetNpc(PAL_253_Wache);
Marcos_Guard2 = Hlp_GetNpc(PAL_257_Ritter);
Jergan = Hlp_GetNpc(VLK_4110_Jergan);
Parlaf = Hlp_GetNpc(VLK_4107_Parlaf);
Garond = Hlp_GetNpc(PAL_250_Garond);
Oric = Hlp_GetNpc(PAL_251_Oric);
Parcival = Hlp_GetNpc(PAL_252_Parcival);
DJG_Sylvio = Hlp_GetNpc(DJG_700_Sylvio);
DJG_Bullco = Hlp_GetNpc(DJG_701_Bullco);
DJG_Rod = Hlp_GetNpc(DJG_702_Rod);
DJG_Cipher = Hlp_GetNpc(DJG_703_Cipher);
DJG_Angar = Hlp_GetNpc(DJG_705_Angar);
Angar_NW = Hlp_GetNpc(DJG_705_Angar_NW);
Angar_DI = Hlp_GetNpc(DJG_705_Angar_DI);
Kurgan = Hlp_GetNpc(DJG_708_Kurgan);
Kjorn = Hlp_GetNpc(DJG_710_Kjorn);
Godar = Hlp_GetNpc(DJG_711_Godar);
Hokurn = Hlp_GetNpc(DJG_712_Hokurn);
Biff = Hlp_GetNpc(DJG_713_Biff);
Biff_NW = Hlp_GetNpc(DJG_713_Biff_NW);
Biff_DI = Hlp_GetNpc(DJG_713_Biff_DI);
Fajeth = Hlp_GetNpc(PAL_281_Fajeth);
Bilgot = Hlp_GetNpc(VLK_4120_Bilgot);
Brutus = Hlp_GetNpc(VLK_4100_Brutus);
Rethon = Hlp_GetNpc(DJG_709_Rethon);
Ferros = Hlp_GetNpc(DJG_715_Ferros);
Jan = Hlp_GetNpc(DJG_714_Jan);
Hosh_Pak = Hlp_GetNpc(OrcShaman_Hosh_Pak);
Urshak = Hlp_GetNpc(NONE_110_Urshak);
Sengrath = Hlp_GetNpc(PAL_267_Sengrath);
HaupttorWache_4143 = Hlp_GetNpc(VLK_4143_HaupttorWache);
Engrom = Hlp_GetNpc(VLK_4131_Engrom);
DMT_1200 = Hlp_GetNpc(DMT_1200_Dementor);
dmt_1201 = Hlp_GetNpc(DMT_1201_Dementor);
dmt_1202 = Hlp_GetNpc(DMT_1202_Dementor);
dmt_1203 = Hlp_GetNpc(DMT_1203_Dementor);
dmt_1204 = Hlp_GetNpc(DMT_1204_Dementor);
dmt_1205 = Hlp_GetNpc(DMT_1205_Dementor);
dmt_1206 = Hlp_GetNpc(DMT_1206_Dementor);
dmt_1207 = Hlp_GetNpc(DMT_1207_Dementor);
dmt_1208 = Hlp_GetNpc(DMT_1208_Dementor);
dmt_1209 = Hlp_GetNpc(DMT_1209_Dementor);
dmt_1210 = Hlp_GetNpc(DMT_1210_Dementor);
dmt_1211 = Hlp_GetNpc(DMT_1211_Dementor);
DMT_Vino1 = Hlp_GetNpc(DMT_DementorSpeakerVino1);
DMT_Vino2 = Hlp_GetNpc(DMT_DementorSpeakerVino2);
DMT_Vino3 = Hlp_GetNpc(DMT_DementorSpeakerVino3);
DMT_Vino4 = Hlp_GetNpc(DMT_DementorSpeakerVino4);
SwampDragon = Hlp_GetNpc(Dragon_Swamp);
RockDragon = Hlp_GetNpc(Dragon_Rock);
FireDragon = Hlp_GetNpc(Dragon_Fire);
IceDragon = Hlp_GetNpc(Dragon_Ice);
FireDragonIsland = Hlp_GetNpc(Dragon_Fire_Island);
UndeadDragon = Hlp_GetNpc(Dragon_Undead);
trollblack = Hlp_GetNpc(Troll_Black);
Pedro_DI = Hlp_GetNpc(NOV_600_Pedro_DI);
Keymaster_DI = Hlp_GetNpc(DragonIsle_Keymaster);
Archol = Hlp_GetNpc(Skeleton_Lord_Archol);
amort = Hlp_GetNpc(lh_ske_01);
Cipher = Hlp_GetNpc(Sld_803_Cipher);
Rod = Hlp_GetNpc(Sld_804_Rod);
Cord = Hlp_GetNpc(Sld_805_Cord);
Bullco = Hlp_GetNpc(Sld_807_Bullco);
Jarvis = Hlp_GetNpc(Sld_808_Jarvis);
Fester = Hlp_GetNpc(Sld_816_Fester);
Raoul = Hlp_GetNpc(Sld_822_Raoul);
Dar = Hlp_GetNpc(Sld_810_Dar);
Onar = Hlp_GetNpc(Bau_900_Onar);
Bodo = Hlp_GetNpc(Bau_903_Bodo);
Pepe = Hlp_GetNpc(Bau_912_Pepe);
sonja = Hlp_GetNpc(VLK_436_Sonja);
lucia = Hlp_GetNpc(BDT_1091_Addon_Lucia);
huno = Hlp_GetNpc(BDT_1099_Addon_Huno);
melfri = Hlp_GetNpc(vlk_4901_buerger);
};
|
D
|
# FIXED
F2837xS_EPwm.obj: C:/CHEAPLI_PROJECT/Cheapli_BEMF/v140/F2837xS_common/source/F2837xS_EPwm.c
F2837xS_EPwm.obj: C:/CHEAPLI_PROJECT/Cheapli_BEMF/v140/F2837xS_headers/include/F2837xS_device.h
F2837xS_EPwm.obj: C:/ti/ccsv8/tools/compiler/ti-cgt-c2000_18.1.1.LTS/include/assert.h
F2837xS_EPwm.obj: C:/ti/ccsv8/tools/compiler/ti-cgt-c2000_18.1.1.LTS/include/_ti_config.h
F2837xS_EPwm.obj: C:/ti/ccsv8/tools/compiler/ti-cgt-c2000_18.1.1.LTS/include/linkage.h
F2837xS_EPwm.obj: C:/ti/ccsv8/tools/compiler/ti-cgt-c2000_18.1.1.LTS/include/stdarg.h
F2837xS_EPwm.obj: C:/ti/ccsv8/tools/compiler/ti-cgt-c2000_18.1.1.LTS/include/stdbool.h
F2837xS_EPwm.obj: C:/ti/ccsv8/tools/compiler/ti-cgt-c2000_18.1.1.LTS/include/stddef.h
F2837xS_EPwm.obj: C:/ti/ccsv8/tools/compiler/ti-cgt-c2000_18.1.1.LTS/include/stdint.h
F2837xS_EPwm.obj: C:/CHEAPLI_PROJECT/Cheapli_BEMF/v140/F2837xS_headers/include/F2837xS_adc.h
F2837xS_EPwm.obj: C:/CHEAPLI_PROJECT/Cheapli_BEMF/v140/F2837xS_headers/include/F2837xS_analogsubsys.h
F2837xS_EPwm.obj: C:/CHEAPLI_PROJECT/Cheapli_BEMF/v140/F2837xS_headers/include/F2837xS_cla.h
F2837xS_EPwm.obj: C:/CHEAPLI_PROJECT/Cheapli_BEMF/v140/F2837xS_headers/include/F2837xS_cmpss.h
F2837xS_EPwm.obj: C:/CHEAPLI_PROJECT/Cheapli_BEMF/v140/F2837xS_headers/include/F2837xS_cputimer.h
F2837xS_EPwm.obj: C:/CHEAPLI_PROJECT/Cheapli_BEMF/v140/F2837xS_headers/include/F2837xS_dac.h
F2837xS_EPwm.obj: C:/CHEAPLI_PROJECT/Cheapli_BEMF/v140/F2837xS_headers/include/F2837xS_dcsm.h
F2837xS_EPwm.obj: C:/CHEAPLI_PROJECT/Cheapli_BEMF/v140/F2837xS_headers/include/F2837xS_dma.h
F2837xS_EPwm.obj: C:/CHEAPLI_PROJECT/Cheapli_BEMF/v140/F2837xS_common/include/F2837xS_defaultisr.h
F2837xS_EPwm.obj: C:/CHEAPLI_PROJECT/Cheapli_BEMF/v140/F2837xS_headers/include/F2837xS_ecap.h
F2837xS_EPwm.obj: C:/CHEAPLI_PROJECT/Cheapli_BEMF/v140/F2837xS_headers/include/F2837xS_emif.h
F2837xS_EPwm.obj: C:/CHEAPLI_PROJECT/Cheapli_BEMF/v140/F2837xS_headers/include/F2837xS_epwm.h
F2837xS_EPwm.obj: C:/CHEAPLI_PROJECT/Cheapli_BEMF/v140/F2837xS_headers/include/F2837xS_epwm_xbar.h
F2837xS_EPwm.obj: C:/CHEAPLI_PROJECT/Cheapli_BEMF/v140/F2837xS_headers/include/F2837xS_eqep.h
F2837xS_EPwm.obj: C:/CHEAPLI_PROJECT/Cheapli_BEMF/v140/F2837xS_headers/include/F2837xS_flash.h
F2837xS_EPwm.obj: C:/CHEAPLI_PROJECT/Cheapli_BEMF/v140/F2837xS_headers/include/F2837xS_gpio.h
F2837xS_EPwm.obj: C:/CHEAPLI_PROJECT/Cheapli_BEMF/v140/F2837xS_headers/include/F2837xS_i2c.h
F2837xS_EPwm.obj: C:/CHEAPLI_PROJECT/Cheapli_BEMF/v140/F2837xS_headers/include/F2837xS_input_xbar.h
F2837xS_EPwm.obj: C:/CHEAPLI_PROJECT/Cheapli_BEMF/v140/F2837xS_headers/include/F2837xS_mcbsp.h
F2837xS_EPwm.obj: C:/CHEAPLI_PROJECT/Cheapli_BEMF/v140/F2837xS_headers/include/F2837xS_memconfig.h
F2837xS_EPwm.obj: C:/CHEAPLI_PROJECT/Cheapli_BEMF/v140/F2837xS_headers/include/F2837xS_nmiintrupt.h
F2837xS_EPwm.obj: C:/CHEAPLI_PROJECT/Cheapli_BEMF/v140/F2837xS_headers/include/F2837xS_output_xbar.h
F2837xS_EPwm.obj: C:/CHEAPLI_PROJECT/Cheapli_BEMF/v140/F2837xS_headers/include/F2837xS_piectrl.h
F2837xS_EPwm.obj: C:/CHEAPLI_PROJECT/Cheapli_BEMF/v140/F2837xS_headers/include/F2837xS_pievect.h
F2837xS_EPwm.obj: C:/CHEAPLI_PROJECT/Cheapli_BEMF/v140/F2837xS_headers/include/F2837xS_sci.h
F2837xS_EPwm.obj: C:/CHEAPLI_PROJECT/Cheapli_BEMF/v140/F2837xS_headers/include/F2837xS_sdfm.h
F2837xS_EPwm.obj: C:/CHEAPLI_PROJECT/Cheapli_BEMF/v140/F2837xS_headers/include/F2837xS_spi.h
F2837xS_EPwm.obj: C:/CHEAPLI_PROJECT/Cheapli_BEMF/v140/F2837xS_headers/include/F2837xS_sysctrl.h
F2837xS_EPwm.obj: C:/CHEAPLI_PROJECT/Cheapli_BEMF/v140/F2837xS_headers/include/F2837xS_trig_xbar.h
F2837xS_EPwm.obj: C:/CHEAPLI_PROJECT/Cheapli_BEMF/v140/F2837xS_headers/include/F2837xS_upp.h
F2837xS_EPwm.obj: C:/CHEAPLI_PROJECT/Cheapli_BEMF/v140/F2837xS_headers/include/F2837xS_xbar.h
F2837xS_EPwm.obj: C:/CHEAPLI_PROJECT/Cheapli_BEMF/v140/F2837xS_headers/include/F2837xS_xint.h
F2837xS_EPwm.obj: C:/CHEAPLI_PROJECT/Cheapli_BEMF/v140/F2837xS_common/include/F2837xS_Examples.h
F2837xS_EPwm.obj: C:/CHEAPLI_PROJECT/Cheapli_BEMF/v140/F2837xS_common/include/F2837xS_GlobalPrototypes.h
F2837xS_EPwm.obj: C:/CHEAPLI_PROJECT/Cheapli_BEMF/v140/F2837xS_common/include/F2837xS_cputimervars.h
F2837xS_EPwm.obj: C:/CHEAPLI_PROJECT/Cheapli_BEMF/v140/F2837xS_common/include/F2837xS_Cla_defines.h
F2837xS_EPwm.obj: C:/CHEAPLI_PROJECT/Cheapli_BEMF/v140/F2837xS_common/include/F2837xS_EPwm_defines.h
F2837xS_EPwm.obj: C:/CHEAPLI_PROJECT/Cheapli_BEMF/v140/F2837xS_common/include/F2837xS_Adc_defines.h
F2837xS_EPwm.obj: C:/CHEAPLI_PROJECT/Cheapli_BEMF/v140/F2837xS_common/include/F2837xS_Emif_defines.h
F2837xS_EPwm.obj: C:/CHEAPLI_PROJECT/Cheapli_BEMF/v140/F2837xS_common/include/F2837xS_Gpio_defines.h
F2837xS_EPwm.obj: C:/CHEAPLI_PROJECT/Cheapli_BEMF/v140/F2837xS_common/include/F2837xS_I2c_defines.h
F2837xS_EPwm.obj: C:/CHEAPLI_PROJECT/Cheapli_BEMF/v140/F2837xS_common/include/F2837xS_Pie_defines.h
F2837xS_EPwm.obj: C:/CHEAPLI_PROJECT/Cheapli_BEMF/v140/F2837xS_common/include/F2837xS_Dma_defines.h
F2837xS_EPwm.obj: C:/CHEAPLI_PROJECT/Cheapli_BEMF/v140/F2837xS_common/include/F2837xS_SysCtrl_defines.h
F2837xS_EPwm.obj: C:/CHEAPLI_PROJECT/Cheapli_BEMF/v140/F2837xS_common/include/F2837xS_Upp_defines.h
C:/CHEAPLI_PROJECT/Cheapli_BEMF/v140/F2837xS_common/source/F2837xS_EPwm.c:
C:/CHEAPLI_PROJECT/Cheapli_BEMF/v140/F2837xS_headers/include/F2837xS_device.h:
C:/ti/ccsv8/tools/compiler/ti-cgt-c2000_18.1.1.LTS/include/assert.h:
C:/ti/ccsv8/tools/compiler/ti-cgt-c2000_18.1.1.LTS/include/_ti_config.h:
C:/ti/ccsv8/tools/compiler/ti-cgt-c2000_18.1.1.LTS/include/linkage.h:
C:/ti/ccsv8/tools/compiler/ti-cgt-c2000_18.1.1.LTS/include/stdarg.h:
C:/ti/ccsv8/tools/compiler/ti-cgt-c2000_18.1.1.LTS/include/stdbool.h:
C:/ti/ccsv8/tools/compiler/ti-cgt-c2000_18.1.1.LTS/include/stddef.h:
C:/ti/ccsv8/tools/compiler/ti-cgt-c2000_18.1.1.LTS/include/stdint.h:
C:/CHEAPLI_PROJECT/Cheapli_BEMF/v140/F2837xS_headers/include/F2837xS_adc.h:
C:/CHEAPLI_PROJECT/Cheapli_BEMF/v140/F2837xS_headers/include/F2837xS_analogsubsys.h:
C:/CHEAPLI_PROJECT/Cheapli_BEMF/v140/F2837xS_headers/include/F2837xS_cla.h:
C:/CHEAPLI_PROJECT/Cheapli_BEMF/v140/F2837xS_headers/include/F2837xS_cmpss.h:
C:/CHEAPLI_PROJECT/Cheapli_BEMF/v140/F2837xS_headers/include/F2837xS_cputimer.h:
C:/CHEAPLI_PROJECT/Cheapli_BEMF/v140/F2837xS_headers/include/F2837xS_dac.h:
C:/CHEAPLI_PROJECT/Cheapli_BEMF/v140/F2837xS_headers/include/F2837xS_dcsm.h:
C:/CHEAPLI_PROJECT/Cheapli_BEMF/v140/F2837xS_headers/include/F2837xS_dma.h:
C:/CHEAPLI_PROJECT/Cheapli_BEMF/v140/F2837xS_common/include/F2837xS_defaultisr.h:
C:/CHEAPLI_PROJECT/Cheapli_BEMF/v140/F2837xS_headers/include/F2837xS_ecap.h:
C:/CHEAPLI_PROJECT/Cheapli_BEMF/v140/F2837xS_headers/include/F2837xS_emif.h:
C:/CHEAPLI_PROJECT/Cheapli_BEMF/v140/F2837xS_headers/include/F2837xS_epwm.h:
C:/CHEAPLI_PROJECT/Cheapli_BEMF/v140/F2837xS_headers/include/F2837xS_epwm_xbar.h:
C:/CHEAPLI_PROJECT/Cheapli_BEMF/v140/F2837xS_headers/include/F2837xS_eqep.h:
C:/CHEAPLI_PROJECT/Cheapli_BEMF/v140/F2837xS_headers/include/F2837xS_flash.h:
C:/CHEAPLI_PROJECT/Cheapli_BEMF/v140/F2837xS_headers/include/F2837xS_gpio.h:
C:/CHEAPLI_PROJECT/Cheapli_BEMF/v140/F2837xS_headers/include/F2837xS_i2c.h:
C:/CHEAPLI_PROJECT/Cheapli_BEMF/v140/F2837xS_headers/include/F2837xS_input_xbar.h:
C:/CHEAPLI_PROJECT/Cheapli_BEMF/v140/F2837xS_headers/include/F2837xS_mcbsp.h:
C:/CHEAPLI_PROJECT/Cheapli_BEMF/v140/F2837xS_headers/include/F2837xS_memconfig.h:
C:/CHEAPLI_PROJECT/Cheapli_BEMF/v140/F2837xS_headers/include/F2837xS_nmiintrupt.h:
C:/CHEAPLI_PROJECT/Cheapli_BEMF/v140/F2837xS_headers/include/F2837xS_output_xbar.h:
C:/CHEAPLI_PROJECT/Cheapli_BEMF/v140/F2837xS_headers/include/F2837xS_piectrl.h:
C:/CHEAPLI_PROJECT/Cheapli_BEMF/v140/F2837xS_headers/include/F2837xS_pievect.h:
C:/CHEAPLI_PROJECT/Cheapli_BEMF/v140/F2837xS_headers/include/F2837xS_sci.h:
C:/CHEAPLI_PROJECT/Cheapli_BEMF/v140/F2837xS_headers/include/F2837xS_sdfm.h:
C:/CHEAPLI_PROJECT/Cheapli_BEMF/v140/F2837xS_headers/include/F2837xS_spi.h:
C:/CHEAPLI_PROJECT/Cheapli_BEMF/v140/F2837xS_headers/include/F2837xS_sysctrl.h:
C:/CHEAPLI_PROJECT/Cheapli_BEMF/v140/F2837xS_headers/include/F2837xS_trig_xbar.h:
C:/CHEAPLI_PROJECT/Cheapli_BEMF/v140/F2837xS_headers/include/F2837xS_upp.h:
C:/CHEAPLI_PROJECT/Cheapli_BEMF/v140/F2837xS_headers/include/F2837xS_xbar.h:
C:/CHEAPLI_PROJECT/Cheapli_BEMF/v140/F2837xS_headers/include/F2837xS_xint.h:
C:/CHEAPLI_PROJECT/Cheapli_BEMF/v140/F2837xS_common/include/F2837xS_Examples.h:
C:/CHEAPLI_PROJECT/Cheapli_BEMF/v140/F2837xS_common/include/F2837xS_GlobalPrototypes.h:
C:/CHEAPLI_PROJECT/Cheapli_BEMF/v140/F2837xS_common/include/F2837xS_cputimervars.h:
C:/CHEAPLI_PROJECT/Cheapli_BEMF/v140/F2837xS_common/include/F2837xS_Cla_defines.h:
C:/CHEAPLI_PROJECT/Cheapli_BEMF/v140/F2837xS_common/include/F2837xS_EPwm_defines.h:
C:/CHEAPLI_PROJECT/Cheapli_BEMF/v140/F2837xS_common/include/F2837xS_Adc_defines.h:
C:/CHEAPLI_PROJECT/Cheapli_BEMF/v140/F2837xS_common/include/F2837xS_Emif_defines.h:
C:/CHEAPLI_PROJECT/Cheapli_BEMF/v140/F2837xS_common/include/F2837xS_Gpio_defines.h:
C:/CHEAPLI_PROJECT/Cheapli_BEMF/v140/F2837xS_common/include/F2837xS_I2c_defines.h:
C:/CHEAPLI_PROJECT/Cheapli_BEMF/v140/F2837xS_common/include/F2837xS_Pie_defines.h:
C:/CHEAPLI_PROJECT/Cheapli_BEMF/v140/F2837xS_common/include/F2837xS_Dma_defines.h:
C:/CHEAPLI_PROJECT/Cheapli_BEMF/v140/F2837xS_common/include/F2837xS_SysCtrl_defines.h:
C:/CHEAPLI_PROJECT/Cheapli_BEMF/v140/F2837xS_common/include/F2837xS_Upp_defines.h:
|
D
|
import demb;
unittest {
dembAssert(`func main() { print(10); }`, "10\n");
dembAssert(`func hoge() { return 10; }; func main() { print(hoge() + 1); }`, "11\n");
dembAssert(`func add1(x) { return x+1; }; func main() { print(add1(10)); }`, "11\n");
dembAssert(`func add1tocar(x, y) { return x+1; }; func main() { print(add1tocar(10, 2)); }`, "11\n");
dembAssert(`func hoge(s) { print(s); return 1; }; func main() { print(hoge(1) + hoge(2)); }`, "1\n2\n2\n");
dembAssert(`func main() { x = 9; if (x < 10) { print("A"); } else { print("B"); }; }`, "A\n");
dembAssert(`func main() { x = 10; if (x < 10) { print("A"); } else { print("B"); }; }`, "B\n");
dembAssert(`func main() { x = 1; if (x == 1) { print("A"); } else if (x > 10) { print("B") } else { print("C"); }; }`, "A\n");
dembAssert(`func main() { x = 100; if (x == 1) { print("A"); } else if (x > 10) { print("B") } else { print("C"); }; }`, "B\n");
dembAssert(`func main() { x = 9; if (x == 1) { print("A"); } else if (x > 10) { print("B") } else { print("C"); }; }`, "C\n");
dembAssert(`func fib(x) { if (x <= 2) { return 1; }; return fib(x-1) + fib(x-2); }; func main() { print(fib(5)); }`, "5\n");
}
|
D
|
module gui.button;
import dlib;
import dgl;
import gui.widget;
class Button: Widget
{
Color4f backgroundColor;
this(EventManager emngr, Widget parentWidget)
{
super(emngr, parentWidget);
position = Vector2f(0, 0);
scale = Vector2f(20, 20);
backgroundColor = Color4f(0.3f, 0.3f, 0.3f, 1.0f);
}
override void onClick(int button)
{
}
override void draw(double dt)
{
glPushMatrix();
glTranslatef(position.x, -position.y, 0);
glScalef(scale.x, scale.y, 1);
glColor4fv(backgroundColor.arrayof.ptr);
glBegin(GL_QUADS);
glVertex2f(0, 0);
glVertex2f(0, -1);
glVertex2f(1, -1);
glVertex2f(1, 0);
glEnd();
glPopMatrix();
}
override void free()
{
Delete(this);
}
}
|
D
|
/**
* Compiler implementation of the
* $(LINK2 http://www.dlang.org, D programming language).
*
* Copyright: Copyright (C) 1999-2019 by The D Language Foundation, All Rights Reserved
* Authors: $(LINK2 http://www.digitalmars.com, Walter Bright)
* License: $(LINK2 http://www.boost.org/LICENSE_1_0.txt, Boost License 1.0)
* Source: $(LINK2 https://github.com/dlang/dmd/blob/master/src/dmd/traits.d, _traits.d)
* Documentation: https://dlang.org/phobos/dmd_traits.html
* Coverage: https://codecov.io/gh/dlang/dmd/src/master/src/dmd/traits.d
*/
module dmd.traits;
import core.stdc.stdio;
import core.stdc.string;
import dmd.aggregate;
import dmd.arraytypes;
import dmd.attrib;
import dmd.canthrow;
import dmd.dclass;
import dmd.declaration;
import dmd.denum;
import dmd.dscope;
import dmd.dsymbol;
import dmd.dsymbolsem;
import dmd.dtemplate;
import dmd.errors;
import dmd.expression;
import dmd.expressionsem;
import dmd.func;
import dmd.globals;
import dmd.hdrgen;
import dmd.id;
import dmd.identifier;
import dmd.mtype;
import dmd.nogc;
import dmd.root.array;
import dmd.root.speller;
import dmd.root.stringtable;
import dmd.target;
import dmd.tokens;
import dmd.typesem;
import dmd.visitor;
import dmd.root.rootobject;
enum LOGSEMANTIC = false;
/************************ TraitsExp ************************************/
// callback for TypeFunction::attributesApply
struct PushAttributes
{
Expressions* mods;
extern (D) static int fp(void* param, string str)
{
PushAttributes* p = cast(PushAttributes*)param;
p.mods.push(new StringExp(Loc.initial, cast(char*)str.ptr, str.length));
return 0;
}
}
/**************************************
* Convert `Expression` or `Type` to corresponding `Dsymbol`, additionally
* stripping off expression contexts.
*
* Some symbol related `__traits` ignore arguments expression contexts.
* For example:
* ----
* struct S { void f() {} }
* S s;
* pragma(msg, __traits(isNested, s.f));
* // s.f is `DotVarExp`, but `__traits(isNested)`` needs a `FuncDeclaration`.
* ----
*
* This is used for that common `__traits` behavior.
*
* Input:
* oarg object to get the symbol for
* Returns:
* Dsymbol the corresponding symbol for oarg
*/
Dsymbol getDsymbolWithoutExpCtx(RootObject oarg)
{
if (auto e = isExpression(oarg))
{
if (e.op == TOK.dotVariable)
return (cast(DotVarExp)e).var;
if (e.op == TOK.dotTemplateDeclaration)
return (cast(DotTemplateExp)e).td;
if (e.op == TOK.scope_)
return (cast(ScopeExp)e).sds;
}
return getDsymbol(oarg);
}
private __gshared StringTable traitsStringTable;
shared static this()
{
static immutable string[] names =
[
"isAbstractClass",
"isArithmetic",
"isAssociativeArray",
"isDisabled",
"isDeprecated",
"isFuture",
"isFinalClass",
"isPOD",
"isNested",
"isFloating",
"isIntegral",
"isScalar",
"isStaticArray",
"isUnsigned",
"isVirtualFunction",
"isVirtualMethod",
"isAbstractFunction",
"isFinalFunction",
"isOverrideFunction",
"isStaticFunction",
"isRef",
"isOut",
"isLazy",
"isReturnOnStack",
"hasMember",
"identifier",
"getProtection",
"parent",
"getLinkage",
"getMember",
"getOverloads",
"getVirtualFunctions",
"getVirtualMethods",
"classInstanceSize",
"allMembers",
"derivedMembers",
"isSame",
"compiles",
"parameters",
"getAliasThis",
"getAttributes",
"getFunctionAttributes",
"getFunctionVariadicStyle",
"getParameterStorageClasses",
"getUnitTests",
"getVirtualIndex",
"getPointerBitmap",
"isZeroInit",
"getTargetInfo"
];
traitsStringTable._init(48);
foreach (s; names)
{
auto sv = traitsStringTable.insert(s.ptr, s.length, cast(void*)s.ptr);
assert(sv);
}
}
/**
* get an array of size_t values that indicate possible pointer words in memory
* if interpreted as the type given as argument
* Returns: the size of the type in bytes, d_uns64.max on error
*/
d_uns64 getTypePointerBitmap(Loc loc, Type t, Array!(d_uns64)* data)
{
d_uns64 sz;
if (t.ty == Tclass && !(cast(TypeClass)t).sym.isInterfaceDeclaration())
sz = (cast(TypeClass)t).sym.AggregateDeclaration.size(loc);
else
sz = t.size(loc);
if (sz == SIZE_INVALID)
return d_uns64.max;
const sz_size_t = Type.tsize_t.size(loc);
if (sz > sz.max - sz_size_t)
{
error(loc, "size overflow for type `%s`", t.toChars());
return d_uns64.max;
}
d_uns64 bitsPerWord = sz_size_t * 8;
d_uns64 cntptr = (sz + sz_size_t - 1) / sz_size_t;
d_uns64 cntdata = (cntptr + bitsPerWord - 1) / bitsPerWord;
data.setDim(cast(size_t)cntdata);
data.zero();
extern (C++) final class PointerBitmapVisitor : Visitor
{
alias visit = Visitor.visit;
public:
extern (D) this(Array!(d_uns64)* _data, d_uns64 _sz_size_t)
{
this.data = _data;
this.sz_size_t = _sz_size_t;
}
void setpointer(d_uns64 off)
{
d_uns64 ptroff = off / sz_size_t;
(*data)[cast(size_t)(ptroff / (8 * sz_size_t))] |= 1L << (ptroff % (8 * sz_size_t));
}
override void visit(Type t)
{
Type tb = t.toBasetype();
if (tb != t)
tb.accept(this);
}
override void visit(TypeError t)
{
visit(cast(Type)t);
}
override void visit(TypeNext t)
{
assert(0);
}
override void visit(TypeBasic t)
{
if (t.ty == Tvoid)
setpointer(offset);
}
override void visit(TypeVector t)
{
}
override void visit(TypeArray t)
{
assert(0);
}
override void visit(TypeSArray t)
{
d_uns64 arrayoff = offset;
d_uns64 nextsize = t.next.size();
if (nextsize == SIZE_INVALID)
error = true;
d_uns64 dim = t.dim.toInteger();
for (d_uns64 i = 0; i < dim; i++)
{
offset = arrayoff + i * nextsize;
t.next.accept(this);
}
offset = arrayoff;
}
override void visit(TypeDArray t)
{
setpointer(offset + sz_size_t);
}
// dynamic array is {length,ptr}
override void visit(TypeAArray t)
{
setpointer(offset);
}
override void visit(TypePointer t)
{
if (t.nextOf().ty != Tfunction) // don't mark function pointers
setpointer(offset);
}
override void visit(TypeReference t)
{
setpointer(offset);
}
override void visit(TypeClass t)
{
setpointer(offset);
}
override void visit(TypeFunction t)
{
}
override void visit(TypeDelegate t)
{
setpointer(offset);
}
// delegate is {context, function}
override void visit(TypeQualified t)
{
assert(0);
}
// assume resolved
override void visit(TypeIdentifier t)
{
assert(0);
}
override void visit(TypeInstance t)
{
assert(0);
}
override void visit(TypeTypeof t)
{
assert(0);
}
override void visit(TypeReturn t)
{
assert(0);
}
override void visit(TypeEnum t)
{
visit(cast(Type)t);
}
override void visit(TypeTuple t)
{
visit(cast(Type)t);
}
override void visit(TypeSlice t)
{
assert(0);
}
override void visit(TypeNull t)
{
// always a null pointer
}
override void visit(TypeStruct t)
{
d_uns64 structoff = offset;
foreach (v; t.sym.fields)
{
offset = structoff + v.offset;
if (v.type.ty == Tclass)
setpointer(offset);
else
v.type.accept(this);
}
offset = structoff;
}
// a "toplevel" class is treated as an instance, while TypeClass fields are treated as references
void visitClass(TypeClass t)
{
d_uns64 classoff = offset;
// skip vtable-ptr and monitor
if (t.sym.baseClass)
visitClass(cast(TypeClass)t.sym.baseClass.type);
foreach (v; t.sym.fields)
{
offset = classoff + v.offset;
v.type.accept(this);
}
offset = classoff;
}
Array!(d_uns64)* data;
d_uns64 offset;
d_uns64 sz_size_t;
bool error;
}
scope PointerBitmapVisitor pbv = new PointerBitmapVisitor(data, sz_size_t);
if (t.ty == Tclass)
pbv.visitClass(cast(TypeClass)t);
else
t.accept(pbv);
return pbv.error ? d_uns64.max : sz;
}
/**
* get an array of size_t values that indicate possible pointer words in memory
* if interpreted as the type given as argument
* the first array element is the size of the type for independent interpretation
* of the array
* following elements bits represent one word (4/8 bytes depending on the target
* architecture). If set the corresponding memory might contain a pointer/reference.
*
* Returns: [T.sizeof, pointerbit0-31/63, pointerbit32/64-63/128, ...]
*/
private Expression pointerBitmap(TraitsExp e)
{
if (!e.args || e.args.dim != 1)
{
error(e.loc, "a single type expected for trait pointerBitmap");
return new ErrorExp();
}
Type t = getType((*e.args)[0]);
if (!t)
{
error(e.loc, "`%s` is not a type", (*e.args)[0].toChars());
return new ErrorExp();
}
Array!(d_uns64) data;
d_uns64 sz = getTypePointerBitmap(e.loc, t, &data);
if (sz == d_uns64.max)
return new ErrorExp();
auto exps = new Expressions();
exps.push(new IntegerExp(e.loc, sz, Type.tsize_t));
foreach (d_uns64 i; 0 .. data.dim)
exps.push(new IntegerExp(e.loc, data[cast(size_t)i], Type.tsize_t));
auto ale = new ArrayLiteralExp(e.loc, Type.tsize_t.sarrayOf(data.dim + 1), exps);
return ale;
}
Expression semanticTraits(TraitsExp e, Scope* sc)
{
static if (LOGSEMANTIC)
{
printf("TraitsExp::semantic() %s\n", e.toChars());
}
if (e.ident != Id.compiles &&
e.ident != Id.isSame &&
e.ident != Id.identifier &&
e.ident != Id.getProtection &&
e.ident != Id.getAttributes)
{
if (!TemplateInstance.semanticTiargs(e.loc, sc, e.args, 1))
return new ErrorExp();
}
size_t dim = e.args ? e.args.dim : 0;
Expression dimError(int expected)
{
e.error("expected %d arguments for `%s` but had %d", expected, e.ident.toChars(), cast(int)dim);
return new ErrorExp();
}
IntegerExp True()
{
return new IntegerExp(e.loc, true, Type.tbool);
}
IntegerExp False()
{
return new IntegerExp(e.loc, false, Type.tbool);
}
/********
* Gets the function type from a given AST node
* if the node is a function of some sort.
* Params:
* o = an AST node to check for a `TypeFunction`
* fdp = if `o` is a FuncDeclaration then fdp is set to that, otherwise `null`
* Returns:
* a type node if `o` is a declaration of
* a delegate, function, function-pointer or a variable of the former.
* Otherwise, `null`.
*/
static TypeFunction toTypeFunction(RootObject o, out FuncDeclaration fdp)
{
Type t;
if (auto s = getDsymbolWithoutExpCtx(o))
{
if (auto fd = s.isFuncDeclaration())
{
t = fd.type;
fdp = fd;
}
else if (auto vd = s.isVarDeclaration())
t = vd.type;
else
t = isType(o);
}
else
t = isType(o);
if (t)
{
if (t.ty == Tfunction)
return cast(TypeFunction)t;
else if (t.ty == Tdelegate)
return cast(TypeFunction)t.nextOf();
else if (t.ty == Tpointer && t.nextOf().ty == Tfunction)
return cast(TypeFunction)t.nextOf();
}
return null;
}
IntegerExp isX(T)(bool function(T) fp)
{
if (!dim)
return False();
foreach (o; *e.args)
{
static if (is(T == Type))
auto y = getType(o);
static if (is(T : Dsymbol))
{
auto s = getDsymbolWithoutExpCtx(o);
if (!s)
return False();
}
static if (is(T == Dsymbol))
alias y = s;
static if (is(T == Declaration))
auto y = s.isDeclaration();
static if (is(T == FuncDeclaration))
auto y = s.isFuncDeclaration();
static if (is(T == EnumMember))
auto y = s.isEnumMember();
if (!y || !fp(y))
return False();
}
return True();
}
alias isTypeX = isX!Type;
alias isDsymX = isX!Dsymbol;
alias isDeclX = isX!Declaration;
alias isFuncX = isX!FuncDeclaration;
alias isEnumMemX = isX!EnumMember;
if (e.ident == Id.isArithmetic)
{
return isTypeX(t => t.isintegral() || t.isfloating());
}
if (e.ident == Id.isFloating)
{
return isTypeX(t => t.isfloating());
}
if (e.ident == Id.isIntegral)
{
return isTypeX(t => t.isintegral());
}
if (e.ident == Id.isScalar)
{
return isTypeX(t => t.isscalar());
}
if (e.ident == Id.isUnsigned)
{
return isTypeX(t => t.isunsigned());
}
if (e.ident == Id.isAssociativeArray)
{
return isTypeX(t => t.toBasetype().ty == Taarray);
}
if (e.ident == Id.isDeprecated)
{
if (global.params.vcomplex)
{
if (isTypeX(t => t.iscomplex() || t.isimaginary()).isBool(true))
return True();
}
return isDsymX(t => t.isDeprecated());
}
if (e.ident == Id.isFuture)
{
return isDeclX(t => t.isFuture());
}
if (e.ident == Id.isStaticArray)
{
return isTypeX(t => t.toBasetype().ty == Tsarray);
}
if (e.ident == Id.isAbstractClass)
{
return isTypeX(t => t.toBasetype().ty == Tclass &&
(cast(TypeClass)t.toBasetype()).sym.isAbstract());
}
if (e.ident == Id.isFinalClass)
{
return isTypeX(t => t.toBasetype().ty == Tclass &&
((cast(TypeClass)t.toBasetype()).sym.storage_class & STC.final_) != 0);
}
if (e.ident == Id.isTemplate)
{
if (dim != 1)
return dimError(1);
return isDsymX((s)
{
if (!s.toAlias().isOverloadable())
return false;
return overloadApply(s,
sm => sm.isTemplateDeclaration() !is null) != 0;
});
}
if (e.ident == Id.isPOD)
{
if (dim != 1)
return dimError(1);
auto o = (*e.args)[0];
auto t = isType(o);
if (!t)
{
e.error("type expected as second argument of __traits `%s` instead of `%s`",
e.ident.toChars(), o.toChars());
return new ErrorExp();
}
Type tb = t.baseElemOf();
if (auto sd = tb.ty == Tstruct ? (cast(TypeStruct)tb).sym : null)
{
return sd.isPOD() ? True() : False();
}
return True();
}
if (e.ident == Id.isNested)
{
if (dim != 1)
return dimError(1);
auto o = (*e.args)[0];
auto s = getDsymbolWithoutExpCtx(o);
if (!s)
{
}
else if (auto ad = s.isAggregateDeclaration())
{
return ad.isNested() ? True() : False();
}
else if (auto fd = s.isFuncDeclaration())
{
return fd.isNested() ? True() : False();
}
e.error("aggregate or function expected instead of `%s`", o.toChars());
return new ErrorExp();
}
if (e.ident == Id.isDisabled)
{
if (dim != 1)
return dimError(1);
return isDeclX(f => f.isDisabled());
}
if (e.ident == Id.isAbstractFunction)
{
if (dim != 1)
return dimError(1);
return isFuncX(f => f.isAbstract());
}
if (e.ident == Id.isVirtualFunction)
{
if (dim != 1)
return dimError(1);
return isFuncX(f => f.isVirtual());
}
if (e.ident == Id.isVirtualMethod)
{
if (dim != 1)
return dimError(1);
return isFuncX(f => f.isVirtualMethod());
}
if (e.ident == Id.isFinalFunction)
{
if (dim != 1)
return dimError(1);
return isFuncX(f => f.isFinalFunc());
}
if (e.ident == Id.isOverrideFunction)
{
if (dim != 1)
return dimError(1);
return isFuncX(f => f.isOverride());
}
if (e.ident == Id.isStaticFunction)
{
if (dim != 1)
return dimError(1);
return isFuncX(f => !f.needThis() && !f.isNested());
}
if (e.ident == Id.isRef)
{
if (dim != 1)
return dimError(1);
return isDeclX(d => d.isRef());
}
if (e.ident == Id.isOut)
{
if (dim != 1)
return dimError(1);
return isDeclX(d => d.isOut());
}
if (e.ident == Id.isLazy)
{
if (dim != 1)
return dimError(1);
return isDeclX(d => (d.storage_class & STC.lazy_) != 0);
}
if (e.ident == Id.identifier)
{
// Get identifier for symbol as a string literal
/* Specify 0 for bit 0 of the flags argument to semanticTiargs() so that
* a symbol should not be folded to a constant.
* Bit 1 means don't convert Parameter to Type if Parameter has an identifier
*/
if (!TemplateInstance.semanticTiargs(e.loc, sc, e.args, 2))
return new ErrorExp();
if (dim != 1)
return dimError(1);
auto o = (*e.args)[0];
Identifier id;
if (auto po = isParameter(o))
{
if (!po.ident)
{
e.error("argument `%s` has no identifier", po.type.toChars());
return new ErrorExp();
}
id = po.ident;
}
else
{
Dsymbol s = getDsymbolWithoutExpCtx(o);
if (!s || !s.ident)
{
e.error("argument `%s` has no identifier", o.toChars());
return new ErrorExp();
}
id = s.ident;
}
auto se = new StringExp(e.loc, cast(char*)id.toChars());
return se.expressionSemantic(sc);
}
if (e.ident == Id.getProtection)
{
if (dim != 1)
return dimError(1);
Scope* sc2 = sc.push();
sc2.flags = sc.flags | SCOPE.noaccesscheck;
bool ok = TemplateInstance.semanticTiargs(e.loc, sc2, e.args, 1);
sc2.pop();
if (!ok)
return new ErrorExp();
auto o = (*e.args)[0];
auto s = getDsymbolWithoutExpCtx(o);
if (!s)
{
if (!isError(o))
e.error("argument `%s` has no protection", o.toChars());
return new ErrorExp();
}
if (s.semanticRun == PASS.init)
s.dsymbolSemantic(null);
auto protName = protectionToChars(s.prot().kind); // TODO: How about package(names)
assert(protName);
auto se = new StringExp(e.loc, cast(char*)protName);
return se.expressionSemantic(sc);
}
if (e.ident == Id.parent)
{
if (dim != 1)
return dimError(1);
auto o = (*e.args)[0];
auto s = getDsymbolWithoutExpCtx(o);
if (s)
{
// https://issues.dlang.org/show_bug.cgi?id=12496
// Consider:
// class T1
// {
// class C(uint value) { }
// }
// __traits(parent, T1.C!2)
if (auto ad = s.isAggregateDeclaration()) // `s` is `C`
{
if (ad.isNested()) // `C` is nested
{
if (auto p = s.toParent()) // `C`'s parent is `C!2`, believe it or not
{
if (p.isTemplateInstance()) // `C!2` is a template instance
s = p; // `C!2`'s parent is `T1`
}
}
}
if (auto fd = s.isFuncDeclaration()) // https://issues.dlang.org/show_bug.cgi?id=8943
s = fd.toAliasFunc();
if (!s.isImport()) // https://issues.dlang.org/show_bug.cgi?id=8922
s = s.toParent();
}
if (!s || s.isImport())
{
e.error("argument `%s` has no parent", o.toChars());
return new ErrorExp();
}
if (auto f = s.isFuncDeclaration())
{
if (auto td = getFuncTemplateDecl(f))
{
if (td.overroot) // if not start of overloaded list of TemplateDeclaration's
td = td.overroot; // then get the start
Expression ex = new TemplateExp(e.loc, td, f);
ex = ex.expressionSemantic(sc);
return ex;
}
if (auto fld = f.isFuncLiteralDeclaration())
{
// Directly translate to VarExp instead of FuncExp
Expression ex = new VarExp(e.loc, fld, true);
return ex.expressionSemantic(sc);
}
}
return symbolToExp(s, e.loc, sc, false);
}
if (e.ident == Id.hasMember ||
e.ident == Id.getMember ||
e.ident == Id.getOverloads ||
e.ident == Id.getVirtualMethods ||
e.ident == Id.getVirtualFunctions)
{
if (dim != 2 && !(dim == 3 && e.ident == Id.getOverloads))
return dimError(2);
auto o = (*e.args)[0];
auto ex = isExpression((*e.args)[1]);
if (!ex)
{
e.error("expression expected as second argument of __traits `%s`", e.ident.toChars());
return new ErrorExp();
}
ex = ex.ctfeInterpret();
bool includeTemplates = false;
if (dim == 3 && e.ident == Id.getOverloads)
{
auto b = isExpression((*e.args)[2]);
b = b.ctfeInterpret();
if (!b.type.equals(Type.tbool))
{
e.error("`bool` expected as third argument of `__traits(getOverloads)`, not `%s` of type `%s`", b.toChars(), b.type.toChars());
return new ErrorExp();
}
includeTemplates = b.isBool(true);
}
StringExp se = ex.toStringExp();
if (!se || se.len == 0)
{
e.error("string expected as second argument of __traits `%s` instead of `%s`", e.ident.toChars(), ex.toChars());
return new ErrorExp();
}
se = se.toUTF8(sc);
if (se.sz != 1)
{
e.error("string must be chars");
return new ErrorExp();
}
auto id = Identifier.idPool(se.peekSlice());
/* Prefer dsymbol, because it might need some runtime contexts.
*/
Dsymbol sym = getDsymbol(o);
if (sym)
{
if (e.ident == Id.hasMember)
{
if (auto sm = sym.search(e.loc, id))
return True();
}
ex = new DsymbolExp(e.loc, sym);
ex = new DotIdExp(e.loc, ex, id);
}
else if (auto t = isType(o))
ex = typeDotIdExp(e.loc, t, id);
else if (auto ex2 = isExpression(o))
ex = new DotIdExp(e.loc, ex2, id);
else
{
e.error("invalid first argument");
return new ErrorExp();
}
// ignore symbol visibility for these traits, should disable access checks as well
Scope* scx = sc.push();
scx.flags |= SCOPE.ignoresymbolvisibility;
scope (exit) scx.pop();
if (e.ident == Id.hasMember)
{
/* Take any errors as meaning it wasn't found
*/
ex = ex.trySemantic(scx);
return ex ? True() : False();
}
else if (e.ident == Id.getMember)
{
if (ex.op == TOK.dotIdentifier)
// Prevent semantic() from replacing Symbol with its initializer
(cast(DotIdExp)ex).wantsym = true;
ex = ex.expressionSemantic(scx);
return ex;
}
else if (e.ident == Id.getVirtualFunctions ||
e.ident == Id.getVirtualMethods ||
e.ident == Id.getOverloads)
{
uint errors = global.errors;
Expression eorig = ex;
ex = ex.expressionSemantic(scx);
if (errors < global.errors)
e.error("`%s` cannot be resolved", eorig.toChars());
/* Create tuple of functions of ex
*/
auto exps = new Expressions();
Dsymbol f;
if (ex.op == TOK.variable)
{
VarExp ve = cast(VarExp)ex;
f = ve.var.isFuncDeclaration();
ex = null;
}
else if (ex.op == TOK.dotVariable)
{
DotVarExp dve = cast(DotVarExp)ex;
f = dve.var.isFuncDeclaration();
if (dve.e1.op == TOK.dotType || dve.e1.op == TOK.this_)
ex = null;
else
ex = dve.e1;
}
else if (ex.op == TOK.template_)
{
VarExp ve = cast(VarExp)ex;
auto td = ve.var.isTemplateDeclaration();
f = td;
if (td && td.funcroot)
f = td.funcroot;
ex = null;
}
bool[string] funcTypeHash;
/* Compute the function signature and insert it in the
* hashtable, if not present. This is needed so that
* traits(getOverlods, F3, "visit") does not count `int visit(int)`
* twice in the following example:
*
* =============================================
* interface F1 { int visit(int);}
* interface F2 { int visit(int); void visit(); }
* interface F3 : F2, F1 {}
*==============================================
*/
void insertInterfaceInheritedFunction(FuncDeclaration fd, Expression e)
{
auto funcType = fd.type.toChars();
auto len = strlen(funcType);
string signature = funcType[0 .. len].idup;
//printf("%s - %s\n", fd.toChars, signature);
if (signature !in funcTypeHash)
{
funcTypeHash[signature] = true;
exps.push(e);
}
}
int dg(Dsymbol s)
{
if (includeTemplates)
{
exps.push(new DsymbolExp(Loc.initial, s, false));
return 0;
}
auto fd = s.isFuncDeclaration();
if (!fd)
return 0;
if (e.ident == Id.getVirtualFunctions && !fd.isVirtual())
return 0;
if (e.ident == Id.getVirtualMethods && !fd.isVirtualMethod())
return 0;
auto fa = new FuncAliasDeclaration(fd.ident, fd, false);
fa.protection = fd.protection;
auto e = ex ? new DotVarExp(Loc.initial, ex, fa, false)
: new DsymbolExp(Loc.initial, fa, false);
// if the parent is an interface declaration
// we must check for functions with the same signature
// in different inherited interfaces
if (sym && sym.isInterfaceDeclaration())
insertInterfaceInheritedFunction(fd, e);
else
exps.push(e);
return 0;
}
InterfaceDeclaration ifd = null;
if (sym)
ifd = sym.isInterfaceDeclaration();
// If the symbol passed as a parameter is an
// interface that inherits other interfaces
overloadApply(f, &dg);
if (ifd && ifd.interfaces && f)
{
// check the overloads of each inherited interface individually
foreach (bc; ifd.interfaces)
{
if (auto fd = bc.sym.search(e.loc, f.ident))
overloadApply(fd, &dg);
}
}
auto tup = new TupleExp(e.loc, exps);
return tup.expressionSemantic(scx);
}
else
assert(0);
}
if (e.ident == Id.classInstanceSize)
{
if (dim != 1)
return dimError(1);
auto o = (*e.args)[0];
auto s = getDsymbol(o);
auto cd = s ? s.isClassDeclaration() : null;
if (!cd)
{
e.error("first argument is not a class");
return new ErrorExp();
}
if (cd.sizeok != Sizeok.done)
{
cd.size(e.loc);
}
if (cd.sizeok != Sizeok.done)
{
e.error("%s `%s` is forward referenced", cd.kind(), cd.toChars());
return new ErrorExp();
}
return new IntegerExp(e.loc, cd.structsize, Type.tsize_t);
}
if (e.ident == Id.getAliasThis)
{
if (dim != 1)
return dimError(1);
auto o = (*e.args)[0];
auto s = getDsymbol(o);
auto ad = s ? s.isAggregateDeclaration() : null;
auto exps = new Expressions();
if (ad && ad.aliasthis)
exps.push(new StringExp(e.loc, cast(char*)ad.aliasthis.ident.toChars()));
Expression ex = new TupleExp(e.loc, exps);
ex = ex.expressionSemantic(sc);
return ex;
}
if (e.ident == Id.getAttributes)
{
/* Specify 0 for bit 0 of the flags argument to semanticTiargs() so that
* a symbol should not be folded to a constant.
* Bit 1 means don't convert Parameter to Type if Parameter has an identifier
*/
if (!TemplateInstance.semanticTiargs(e.loc, sc, e.args, 3))
return new ErrorExp();
if (dim != 1)
return dimError(1);
auto o = (*e.args)[0];
auto po = isParameter(o);
auto s = getDsymbolWithoutExpCtx(o);
UserAttributeDeclaration udad = null;
if (po)
{
udad = po.userAttribDecl;
}
else if (s)
{
if (s.isImport())
{
s = s.isImport().mod;
}
//printf("getAttributes %s, attrs = %p, scope = %p\n", s.toChars(), s.userAttribDecl, s.scope);
udad = s.userAttribDecl;
}
else
{
version (none)
{
Expression x = isExpression(o);
Type t = isType(o);
if (x)
printf("e = %s %s\n", Token.toChars(x.op), x.toChars());
if (t)
printf("t = %d %s\n", t.ty, t.toChars());
}
e.error("first argument is not a symbol");
return new ErrorExp();
}
auto exps = udad ? udad.getAttributes() : new Expressions();
auto tup = new TupleExp(e.loc, exps);
return tup.expressionSemantic(sc);
}
if (e.ident == Id.getFunctionAttributes)
{
/* Extract all function attributes as a tuple (const/shared/inout/pure/nothrow/etc) except UDAs.
* https://dlang.org/spec/traits.html#getFunctionAttributes
*/
if (dim != 1)
return dimError(1);
FuncDeclaration fd;
TypeFunction tf = toTypeFunction((*e.args)[0], fd);
if (!tf)
{
e.error("first argument is not a function");
return new ErrorExp();
}
auto mods = new Expressions();
PushAttributes pa;
pa.mods = mods;
tf.modifiersApply(&pa, &PushAttributes.fp);
tf.attributesApply(&pa, &PushAttributes.fp, TRUSTformatSystem);
auto tup = new TupleExp(e.loc, mods);
return tup.expressionSemantic(sc);
}
if (e.ident == Id.isReturnOnStack)
{
/* Extract as a boolean if function return value is on the stack
* https://dlang.org/spec/traits.html#isReturnOnStack
*/
if (dim != 1)
return dimError(1);
RootObject o = (*e.args)[0];
FuncDeclaration fd;
TypeFunction tf = toTypeFunction(o, fd);
if (!tf)
{
e.error("argument to `__traits(isReturnOnStack, %s)` is not a function", o.toChars());
return new ErrorExp();
}
bool value = target.isReturnOnStack(tf, fd && fd.needThis());
return new IntegerExp(e.loc, value, Type.tbool);
}
if (e.ident == Id.getFunctionVariadicStyle)
{
/* Accept a symbol or a type. Returns one of the following:
* "none" not a variadic function
* "argptr" extern(D) void dstyle(...), use `__argptr` and `__arguments`
* "stdarg" extern(C) void cstyle(int, ...), use core.stdc.stdarg
* "typesafe" void typesafe(T[] ...)
*/
// get symbol linkage as a string
if (dim != 1)
return dimError(1);
LINK link;
VarArg varargs;
auto o = (*e.args)[0];
FuncDeclaration fd;
TypeFunction tf = toTypeFunction(o, fd);
if (tf)
{
link = tf.linkage;
varargs = tf.parameterList.varargs;
}
else
{
if (!fd)
{
e.error("argument to `__traits(getFunctionVariadicStyle, %s)` is not a function", o.toChars());
return new ErrorExp();
}
link = fd.linkage;
varargs = fd.getParameterList().varargs;
}
string style;
final switch (varargs)
{
case VarArg.none: style = "none"; break;
case VarArg.variadic: style = (link == LINK.d)
? "argptr"
: "stdarg"; break;
case VarArg.typesafe: style = "typesafe"; break;
}
auto se = new StringExp(e.loc, cast(char*)style);
return se.expressionSemantic(sc);
}
if (e.ident == Id.getParameterStorageClasses)
{
/* Accept a function symbol or a type, followed by a parameter index.
* Returns a tuple of strings of the parameter's storage classes.
*/
// get symbol linkage as a string
if (dim != 2)
return dimError(2);
auto o = (*e.args)[0];
auto o1 = (*e.args)[1];
FuncDeclaration fd;
TypeFunction tf = toTypeFunction(o, fd);
ParameterList fparams;
if (tf)
fparams = tf.parameterList;
else if (fd)
fparams = fd.getParameterList();
else
{
e.error("first argument to `__traits(getParameterStorageClasses, %s, %s)` is not a function",
o.toChars(), o1.toChars());
return new ErrorExp();
}
StorageClass stc;
// Set stc to storage class of the ith parameter
auto ex = isExpression((*e.args)[1]);
if (!ex)
{
e.error("expression expected as second argument of `__traits(getParameterStorageClasses, %s, %s)`",
o.toChars(), o1.toChars());
return new ErrorExp();
}
ex = ex.ctfeInterpret();
auto ii = ex.toUInteger();
if (ii >= fparams.length)
{
e.error("parameter index must be in range 0..%u not %s", cast(uint)fparams.length, ex.toChars());
return new ErrorExp();
}
uint n = cast(uint)ii;
Parameter p = fparams[n];
stc = p.storageClass;
// This mirrors hdrgen.visit(Parameter p)
if (p.type && p.type.mod & MODFlags.shared_)
stc &= ~STC.shared_;
auto exps = new Expressions;
void push(string s)
{
exps.push(new StringExp(e.loc, cast(char*)s.ptr, cast(uint)s.length));
}
if (stc & STC.auto_)
push("auto");
if (stc & STC.return_)
push("return");
if (stc & STC.out_)
push("out");
else if (stc & STC.ref_)
push("ref");
else if (stc & STC.in_)
push("in");
else if (stc & STC.lazy_)
push("lazy");
else if (stc & STC.alias_)
push("alias");
if (stc & STC.const_)
push("const");
if (stc & STC.immutable_)
push("immutable");
if (stc & STC.wild)
push("inout");
if (stc & STC.shared_)
push("shared");
if (stc & STC.scope_ && !(stc & STC.scopeinferred))
push("scope");
auto tup = new TupleExp(e.loc, exps);
return tup.expressionSemantic(sc);
}
if (e.ident == Id.getLinkage)
{
// get symbol linkage as a string
if (dim != 1)
return dimError(1);
LINK link;
auto o = (*e.args)[0];
FuncDeclaration fd;
TypeFunction tf = toTypeFunction(o, fd);
if (tf)
link = tf.linkage;
else
{
auto s = getDsymbol(o);
Declaration d;
AggregateDeclaration agg;
if (!s || ((d = s.isDeclaration()) is null && (agg = s.isAggregateDeclaration()) is null))
{
e.error("argument to `__traits(getLinkage, %s)` is not a declaration", o.toChars());
return new ErrorExp();
}
if (d !is null)
link = d.linkage;
else final switch (agg.classKind)
{
case ClassKind.d:
link = LINK.d;
break;
case ClassKind.cpp:
link = LINK.cpp;
break;
case ClassKind.objc:
link = LINK.objc;
break;
}
}
auto linkage = linkageToChars(link);
auto se = new StringExp(e.loc, cast(char*)linkage);
return se.expressionSemantic(sc);
}
if (e.ident == Id.allMembers ||
e.ident == Id.derivedMembers)
{
if (dim != 1)
return dimError(1);
auto o = (*e.args)[0];
auto s = getDsymbol(o);
if (!s)
{
e.error("argument has no members");
return new ErrorExp();
}
if (auto imp = s.isImport())
{
// https://issues.dlang.org/show_bug.cgi?id=9692
s = imp.mod;
}
auto sds = s.isScopeDsymbol();
if (!sds || sds.isTemplateDeclaration())
{
e.error("%s `%s` has no members", s.kind(), s.toChars());
return new ErrorExp();
}
auto idents = new Identifiers();
int pushIdentsDg(size_t n, Dsymbol sm)
{
if (!sm)
return 1;
// skip local symbols, such as static foreach loop variables
if (auto decl = sm.isDeclaration())
{
if (decl.storage_class & STC.local)
{
return 0;
}
}
//printf("\t[%i] %s %s\n", i, sm.kind(), sm.toChars());
if (sm.ident)
{
const idx = sm.ident.toChars();
if (idx[0] == '_' &&
idx[1] == '_' &&
sm.ident != Id.ctor &&
sm.ident != Id.dtor &&
sm.ident != Id.__xdtor &&
sm.ident != Id.postblit &&
sm.ident != Id.__xpostblit)
{
return 0;
}
if (sm.ident == Id.empty)
{
return 0;
}
if (sm.isTypeInfoDeclaration()) // https://issues.dlang.org/show_bug.cgi?id=15177
return 0;
if (!sds.isModule() && sm.isImport()) // https://issues.dlang.org/show_bug.cgi?id=17057
return 0;
//printf("\t%s\n", sm.ident.toChars());
/* Skip if already present in idents[]
*/
foreach (id; *idents)
{
if (id == sm.ident)
return 0;
// Avoid using strcmp in the first place due to the performance impact in an O(N^2) loop.
debug assert(strcmp(id.toChars(), sm.ident.toChars()) != 0);
}
idents.push(sm.ident);
}
else if (auto ed = sm.isEnumDeclaration())
{
ScopeDsymbol._foreach(null, ed.members, &pushIdentsDg);
}
return 0;
}
ScopeDsymbol._foreach(sc, sds.members, &pushIdentsDg);
auto cd = sds.isClassDeclaration();
if (cd && e.ident == Id.allMembers)
{
if (cd.semanticRun < PASS.semanticdone)
cd.dsymbolSemantic(null); // https://issues.dlang.org/show_bug.cgi?id=13668
// Try to resolve forward reference
void pushBaseMembersDg(ClassDeclaration cd)
{
for (size_t i = 0; i < cd.baseclasses.dim; i++)
{
auto cb = (*cd.baseclasses)[i].sym;
assert(cb);
ScopeDsymbol._foreach(null, cb.members, &pushIdentsDg);
if (cb.baseclasses.dim)
pushBaseMembersDg(cb);
}
}
pushBaseMembersDg(cd);
}
// Turn Identifiers into StringExps reusing the allocated array
assert(Expressions.sizeof == Identifiers.sizeof);
auto exps = cast(Expressions*)idents;
foreach (i, id; *idents)
{
auto se = new StringExp(e.loc, cast(char*)id.toChars());
(*exps)[i] = se;
}
/* Making this a tuple is more flexible, as it can be statically unrolled.
* To make an array literal, enclose __traits in [ ]:
* [ __traits(allMembers, ...) ]
*/
Expression ex = new TupleExp(e.loc, exps);
ex = ex.expressionSemantic(sc);
return ex;
}
if (e.ident == Id.compiles)
{
/* Determine if all the objects - types, expressions, or symbols -
* compile without error
*/
if (!dim)
return False();
foreach (o; *e.args)
{
uint errors = global.startGagging();
Scope* sc2 = sc.push();
sc2.tinst = null;
sc2.minst = null;
sc2.flags = (sc.flags & ~(SCOPE.ctfe | SCOPE.condition)) | SCOPE.compile | SCOPE.fullinst;
bool err = false;
auto t = isType(o);
auto ex = t ? t.typeToExpression() : isExpression(o);
if (!ex && t)
{
Dsymbol s;
t.resolve(e.loc, sc2, &ex, &t, &s);
if (t)
{
t.typeSemantic(e.loc, sc2);
if (t.ty == Terror)
err = true;
}
else if (s && s.errors)
err = true;
}
if (ex)
{
ex = ex.expressionSemantic(sc2);
ex = resolvePropertiesOnly(sc2, ex);
ex = ex.optimize(WANTvalue);
if (sc2.func && sc2.func.type.ty == Tfunction)
{
const tf = cast(TypeFunction)sc2.func.type;
err |= tf.isnothrow && canThrow(ex, sc2.func, false);
}
ex = checkGC(sc2, ex);
if (ex.op == TOK.error)
err = true;
}
// Carefully detach the scope from the parent and throw it away as
// we only need it to evaluate the expression
// https://issues.dlang.org/show_bug.cgi?id=15428
sc2.detach();
if (global.endGagging(errors) || err)
{
return False();
}
}
return True();
}
if (e.ident == Id.isSame)
{
/* Determine if two symbols are the same
*/
if (dim != 2)
return dimError(2);
if (!TemplateInstance.semanticTiargs(e.loc, sc, e.args, 0))
return new ErrorExp();
auto o1 = (*e.args)[0];
auto o2 = (*e.args)[1];
static FuncLiteralDeclaration isLambda(RootObject oarg)
{
if (auto t = isDsymbol(oarg))
{
if (auto td = t.isTemplateDeclaration())
{
if (td.members && td.members.dim == 1)
{
if (auto fd = (*td.members)[0].isFuncLiteralDeclaration())
return fd;
}
}
}
else if (auto ea = isExpression(oarg))
{
if (ea.op == TOK.function_)
{
if (auto fe = cast(FuncExp)ea)
return fe.fd;
}
}
return null;
}
auto l1 = isLambda(o1);
auto l2 = isLambda(o2);
if (l1 && l2)
{
import dmd.lambdacomp : isSameFuncLiteral;
if (isSameFuncLiteral(l1, l2, sc))
return True();
}
// issue 12001, allow isSame, <BasicType>, <BasicType>
Type t1 = isType(o1);
Type t2 = isType(o2);
if (t1 && t2 && t1.equals(t2))
return True();
auto s1 = getDsymbol(o1);
auto s2 = getDsymbol(o2);
//printf("isSame: %s, %s\n", o1.toChars(), o2.toChars());
version (none)
{
printf("o1: %p\n", o1);
printf("o2: %p\n", o2);
if (!s1)
{
if (auto ea = isExpression(o1))
printf("%s\n", ea.toChars());
if (auto ta = isType(o1))
printf("%s\n", ta.toChars());
return False();
}
else
printf("%s %s\n", s1.kind(), s1.toChars());
}
if (!s1 && !s2)
{
auto ea1 = isExpression(o1);
auto ea2 = isExpression(o2);
if (ea1 && ea2)
{
if (ea1.equals(ea2))
return True();
}
}
if (!s1 || !s2)
return False();
s1 = s1.toAlias();
s2 = s2.toAlias();
if (auto fa1 = s1.isFuncAliasDeclaration())
s1 = fa1.toAliasFunc();
if (auto fa2 = s2.isFuncAliasDeclaration())
s2 = fa2.toAliasFunc();
// https://issues.dlang.org/show_bug.cgi?id=11259
// compare import symbol to a package symbol
static bool cmp(Dsymbol s1, Dsymbol s2)
{
auto imp = s1.isImport();
return imp && imp.pkg && imp.pkg == s2.isPackage();
}
if (cmp(s1,s2) || cmp(s2,s1))
return True();
if (s1 == s2)
return True();
// https://issues.dlang.org/show_bug.cgi?id=18771
// OverloadSets are equal if they contain the same functions
auto overSet1 = s1.isOverloadSet();
if (!overSet1)
return False();
auto overSet2 = s2.isOverloadSet();
if (!overSet2)
return False();
if (overSet1.a.dim != overSet2.a.dim)
return False();
// OverloadSets contain array of Dsymbols => O(n*n)
// to compare for equality as the order of overloads
// might not be the same
Lnext:
foreach(overload1; overSet1.a)
{
foreach(overload2; overSet2.a)
{
if (overload1 == overload2)
continue Lnext;
}
return False();
}
return True();
}
if (e.ident == Id.getUnitTests)
{
if (dim != 1)
return dimError(1);
auto o = (*e.args)[0];
auto s = getDsymbolWithoutExpCtx(o);
if (!s)
{
e.error("argument `%s` to __traits(getUnitTests) must be a module or aggregate",
o.toChars());
return new ErrorExp();
}
if (auto imp = s.isImport()) // https://issues.dlang.org/show_bug.cgi?id=10990
s = imp.mod;
auto sds = s.isScopeDsymbol();
if (!sds)
{
e.error("argument `%s` to __traits(getUnitTests) must be a module or aggregate, not a %s",
s.toChars(), s.kind());
return new ErrorExp();
}
auto exps = new Expressions();
if (global.params.useUnitTests)
{
bool[void*] uniqueUnitTests;
void symbolDg(Dsymbol s)
{
if (auto ad = s.isAttribDeclaration())
{
ad.include(null).foreachDsymbol(&symbolDg);
}
else if (auto ud = s.isUnitTestDeclaration())
{
if (cast(void*)ud in uniqueUnitTests)
return;
uniqueUnitTests[cast(void*)ud] = true;
auto ad = new FuncAliasDeclaration(ud.ident, ud, false);
ad.protection = ud.protection;
auto e = new DsymbolExp(Loc.initial, ad, false);
exps.push(e);
}
}
sds.members.foreachDsymbol(&symbolDg);
}
auto te = new TupleExp(e.loc, exps);
return te.expressionSemantic(sc);
}
if (e.ident == Id.getVirtualIndex)
{
if (dim != 1)
return dimError(1);
auto o = (*e.args)[0];
auto s = getDsymbolWithoutExpCtx(o);
auto fd = s ? s.isFuncDeclaration() : null;
if (!fd)
{
e.error("first argument to __traits(getVirtualIndex) must be a function");
return new ErrorExp();
}
fd = fd.toAliasFunc(); // Necessary to support multiple overloads.
return new IntegerExp(e.loc, fd.vtblIndex, Type.tptrdiff_t);
}
if (e.ident == Id.getPointerBitmap)
{
return pointerBitmap(e);
}
if (e.ident == Id.isZeroInit)
{
if (dim != 1)
return dimError(1);
auto o = (*e.args)[0];
Type t = isType(o);
if (!t)
{
e.error("type expected as second argument of __traits `%s` instead of `%s`",
e.ident.toChars(), o.toChars());
return new ErrorExp();
}
Type tb = t.baseElemOf();
return tb.isZeroInit(e.loc) ? True() : False();
}
if (e.ident == Id.getTargetInfo)
{
if (dim != 1)
return dimError(1);
auto ex = isExpression((*e.args)[0]);
StringExp se = ex ? ex.ctfeInterpret().toStringExp() : null;
if (!ex || !se || se.len == 0)
{
e.error("string expected as argument of __traits `%s` instead of `%s`", e.ident.toChars(), ex.toChars());
return new ErrorExp();
}
se = se.toUTF8(sc);
Expression r = target.getTargetInfo(se.toPtr(), e.loc);
if (!r)
{
e.error("`getTargetInfo` key `\"%s\"` not supported by this implementation", se.toPtr());
return new ErrorExp();
}
return r.expressionSemantic(sc);
}
extern (D) void* trait_search_fp(const(char)* seed, ref int cost)
{
//printf("trait_search_fp('%s')\n", seed);
size_t len = strlen(seed);
if (!len)
return null;
cost = 0;
StringValue* sv = traitsStringTable.lookup(seed, len);
return sv ? sv.ptrvalue : null;
}
if (auto sub = cast(const(char)*)speller(e.ident.toChars(), &trait_search_fp, idchars))
e.error("unrecognized trait `%s`, did you mean `%s`?", e.ident.toChars(), sub);
else
e.error("unrecognized trait `%s`", e.ident.toChars());
return new ErrorExp();
}
|
D
|
/atlas/data18a/helingzh/workplace/summer2016/Run2/FourMuonAna/RootCoreBin/obj/x86_64-slc6-gcc49-opt/QuickAna/obj/MessageCheck.o /atlas/data18a/helingzh/workplace/summer2016/Run2/FourMuonAna/RootCoreBin/obj/x86_64-slc6-gcc49-opt/QuickAna/obj/MessageCheck.d : /cvmfs/atlas.cern.ch/repo/sw/ASG/AnalysisBase/2.5.0/QuickAna/Root/MessageCheck.cxx /cvmfs/atlas.cern.ch/repo/sw/ASG/AnalysisBase/2.5.0/QuickAna/QuickAna/MessageCheck.h /cvmfs/atlas.cern.ch/repo/sw/ASG/AnalysisBase/2.5.0/QuickAna/QuickAna/Global.h /atlas/data18a/helingzh/workplace/summer2016/Run2/FourMuonAna/RootCoreBin/include/AsgTools/MessageCheck.h /atlas/data18a/helingzh/workplace/summer2016/Run2/FourMuonAna/RootCoreBin/include/AsgTools/MsgStream.h /atlas/data18a/helingzh/workplace/summer2016/Run2/FourMuonAna/RootCoreBin/include/AsgTools/AsgToolsConf.h /atlas/data18a/helingzh/workplace/summer2016/Run2/FourMuonAna/RootCoreBin/include/AsgTools/MsgLevel.h /atlas/data18a/helingzh/workplace/summer2016/Run2/FourMuonAna/RootCoreBin/include/AsgTools/IAsgTool.h /atlas/data18a/helingzh/workplace/summer2016/Run2/FourMuonAna/RootCoreBin/include/AsgTools/AsgToolMacros.h /atlas/data18a/helingzh/workplace/summer2016/Run2/FourMuonAna/RootCoreBin/include/AsgTools/StatusCode.h /atlas/data18a/helingzh/workplace/summer2016/Run2/FourMuonAna/RootCoreBin/include/AsgTools/Check.h /atlas/data18a/helingzh/workplace/summer2016/Run2/FourMuonAna/RootCoreBin/include/AsgTools/MsgStreamMacros.h /atlas/data18a/helingzh/workplace/summer2016/Run2/FourMuonAna/RootCoreBin/include/xAODRootAccess/tools/TReturnCode.h /atlas/data18a/helingzh/workplace/summer2016/Run2/FourMuonAna/RootCoreBin/include/PATInterfaces/CorrectionCode.h /atlas/data18a/helingzh/workplace/summer2016/Run2/FourMuonAna/RootCoreBin/include/PATInterfaces/SystematicCode.h
|
D
|
enum LogLevel
{
EMERGENCY,
ALERT,
CRITICAL,
ERROR,
WARNING,
NOTICE,
INFO,
DEBUG
}
|
D
|
module mydll;
import std.stdio;
import std.file;
import std.string;
public struct Struct1
{
protected int a;
protected ulong b;
protected immutable(char)* c;
}
public struct Struct2
{
protected int a;
protected ulong b;
//protected immutable(char)* c;
}
export extern(C) void dllprint(ref int a,ulong b,immutable(char)* str,out wchar* strref,Struct1 struct1,ref Struct2 struct2) //
{
writeln("-------hello dll world,from D to C#!-------");
auto f = File("test.txt", "w");
f.writeln("执行D的dll后的结果:");
f.writeln("传入D的int值:",a);
f.writeln("传入D的ulong,string 值:",b,",",fromStringz(str));
f.writeln("传入D的结构的值:",struct1.a,",",struct1.b,",",fromStringz(struct1.c));
f.writeln("---------from D to C#---------------");
a=10;
f.writeln("准备传入C#的int值:",a);
struct2.a =4;
struct2.b = 7000;
f.writeln("准备传入C#的结构的int值:",struct2.a);
f.writeln("准备传入C#的结构的int值:",struct2.b);
f.writeln("准备传入C#的字符串:","aaa");
strref = cast(wchar*)"aaa";
f.writeln("------------------------");
f.writeln("传入D的结构:",struct1);
// struct2.c = toStringz("struct2_2");
}
|
D
|
module TTSListenerTest;
import std.stdio;
import std.conv;
version(unittest) {
import RuleTranslatorLexer;
import RuleTranslatorParser;
import TTSListener;
import antlr.v4.runtime.ANTLRInputStream;
import antlr.v4.runtime.CommonToken;
import antlr.v4.runtime.CommonTokenStream;
import antlr.v4.runtime.DiagnosticErrorListener;
import antlr.v4.runtime.LexerNoViableAltException;
import antlr.v4.runtime.Token;
import antlr.v4.runtime.atn.ParserATNSimulator;
import antlr.v4.runtime.tree.ParseTreeWalker;
import dshould : be, equal, not, should;
import dshould.thrown;
import std.conv : to;
import std.file;
import unit_threaded;
class Test {
@Tags("ANTLRInputStream")
@("input file missing")
unittest {
try
auto antlrInput = new ANTLRInputStream(File("simple.rule1"));
catch (Exception e)
e.msg.should.equal("Cannot open file `simple.rule1' in " ~
"mode `rb' (No such file or directory)");
}
@Tags("Lexer")
@("rule")
unittest {
auto antlrInput = new ANTLRInputStream(File("unittest/complex/complex.rule", "r"));
auto lexer = new RuleTranslatorLexer(antlrInput);
auto cts = new CommonTokenStream(lexer);
cts.getNumberOfOnChannelTokens.should.equal(405);
auto f = File("unittest/complex/tokens.cmp");
auto charRange = f.byLine();
string s;
int i;
foreach (t; charRange) {
s = cts.get(i++).to!string;
s.should.equal(t);
}
f.close;
}
@Tags("Parser")
@("simple_rule")
unittest {
auto antlrInput = new ANTLRInputStream(File("unittest/complex/simple.rule", "r"));
auto lexer = new RuleTranslatorLexer(antlrInput);
auto cts = new CommonTokenStream(lexer);
cts.getNumberOfOnChannelTokens.should.equal(35);
auto f = File("unittest/complex/simple_tokens.cmp");
auto charRange = f.byLine();
string s;
int i;
foreach (t; charRange) {
s = cts.get(i++).to!string;
s.should.equal(t);
}
f.close;
auto parser = new RuleTranslatorParser(cts);
// Specify entry point
auto rootContext = parser.file_input;
parser.numberOfSyntaxErrors.should.equal(0);
}
@Tags("Parser")
@("simple_rule_syntax_error")
unittest {
auto antlrInput = new ANTLRInputStream(File("unittest/complex/simple_error.rule", "r"));
auto lexer = new RuleTranslatorLexer(antlrInput);
auto cts = new CommonTokenStream(lexer);
cts.getNumberOfOnChannelTokens.should.equal(36);
auto f = File("unittest/complex/simple_tokens_error.cmp");
auto charRange = f.byLine();
string s;
int i;
foreach (t; charRange) {
s = cts.get(i++).to!string;
s.should.equal(t);
}
f.close;
auto parser = new RuleTranslatorParser(cts);
parser.addErrorListener(new DiagnosticErrorListener!(Token, ParserATNSimulator));
// Specify entry point
auto rootContext = parser.file_input;
parser.numberOfSyntaxErrors.should.equal(2);
}
}
}
|
D
|
/Users/nice/HelloWord/.build/x86_64-apple-macosx10.10/debug/FluentSQL.build/SQL+Contains.swift.o : /Users/nice/HelloWord/.build/checkouts/fluent.git-6829944210039798771/Sources/FluentSQL/FluentSQLSchema.swift /Users/nice/HelloWord/.build/checkouts/fluent.git-6829944210039798771/Sources/FluentSQL/SchemaBuilder+Field.swift /Users/nice/HelloWord/.build/checkouts/fluent.git-6829944210039798771/Sources/FluentSQL/SQL+SchemaSupporting.swift /Users/nice/HelloWord/.build/checkouts/fluent.git-6829944210039798771/Sources/FluentSQL/SQL+JoinSupporting.swift /Users/nice/HelloWord/.build/checkouts/fluent.git-6829944210039798771/Sources/FluentSQL/SQL+QuerySupporting.swift /Users/nice/HelloWord/.build/checkouts/fluent.git-6829944210039798771/Sources/FluentSQL/SQL+Contains.swift /Users/nice/HelloWord/.build/checkouts/fluent.git-6829944210039798771/Sources/FluentSQL/Exports.swift /Users/nice/HelloWord/.build/checkouts/fluent.git-6829944210039798771/Sources/FluentSQL/QueryBuilder+GroupBy.swift /Users/nice/HelloWord/.build/checkouts/fluent.git-6829944210039798771/Sources/FluentSQL/FluentSQLQuery.swift /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Dispatch.apinotesc /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/ObjectiveC.swiftmodule /Users/nice/HelloWord/.build/x86_64-apple-macosx10.10/debug/SQL.swiftmodule /Users/nice/HelloWord/.build/x86_64-apple-macosx10.10/debug/NIO.swiftmodule /Users/nice/HelloWord/.build/x86_64-apple-macosx10.10/debug/Async.swiftmodule /Users/nice/HelloWord/.build/x86_64-apple-macosx10.10/debug/Command.swiftmodule /Users/nice/HelloWord/.build/x86_64-apple-macosx10.10/debug/Service.swiftmodule /Users/nice/HelloWord/.build/x86_64-apple-macosx10.10/debug/Console.swiftmodule /Users/nice/HelloWord/.build/x86_64-apple-macosx10.10/debug/Core.swiftmodule /Users/nice/HelloWord/.build/x86_64-apple-macosx10.10/debug/Logging.swiftmodule /Users/nice/HelloWord/.build/x86_64-apple-macosx10.10/debug/Debugging.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Dispatch.swiftmodule /Users/nice/HelloWord/.build/x86_64-apple-macosx10.10/debug/COperatingSystem.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Darwin.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Foundation.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/CoreFoundation.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/CoreGraphics.swiftmodule /Users/nice/HelloWord/.build/x86_64-apple-macosx10.10/debug/NIOConcurrencyHelpers.swiftmodule /Users/nice/HelloWord/.build/x86_64-apple-macosx10.10/debug/Bits.swiftmodule /Users/nice/HelloWord/.build/x86_64-apple-macosx10.10/debug/NIOFoundationCompat.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Swift.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/IOKit.swiftmodule /Users/nice/HelloWord/.build/x86_64-apple-macosx10.10/debug/DatabaseKit.swiftmodule /Users/nice/HelloWord/.build/x86_64-apple-macosx10.10/debug/Fluent.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/SwiftOnoneSupport.swiftmodule /Users/nice/HelloWord/.build/checkouts/swift-nio.git-5005363973595484456/Sources/CNIOAtomics/include/cpp_magic.h /Users/nice/HelloWord/.build/checkouts/swift-nio.git-5005363973595484456/Sources/CNIODarwin/include/c_nio_darwin.h /Users/nice/HelloWord/.build/checkouts/swift-nio.git-5005363973595484456/Sources/CNIOAtomics/include/c-atomics.h /Users/nice/HelloWord/.build/checkouts/swift-nio.git-5005363973595484456/Sources/CNIOLinux/include/c_nio_linux.h /Users/nice/HelloWord/.build/checkouts/swift-nio-zlib-support.git--6556802241718767980/module.modulemap /Users/nice/HelloWord/.build/x86_64-apple-macosx10.10/debug/CNIOSHA1.build/module.modulemap /Users/nice/HelloWord/.build/x86_64-apple-macosx10.10/debug/CNIOOpenSSL.build/module.modulemap /Users/nice/HelloWord/.build/x86_64-apple-macosx10.10/debug/CCryptoOpenSSL.build/module.modulemap /Users/nice/HelloWord/.build/x86_64-apple-macosx10.10/debug/CNIOZlib.build/module.modulemap /Users/nice/HelloWord/.build/x86_64-apple-macosx10.10/debug/CNIODarwin.build/module.modulemap /Users/nice/HelloWord/.build/x86_64-apple-macosx10.10/debug/CNIOHTTPParser.build/module.modulemap /Users/nice/HelloWord/.build/x86_64-apple-macosx10.10/debug/CNIOAtomics.build/module.modulemap /Users/nice/HelloWord/.build/x86_64-apple-macosx10.10/debug/CNIOLinux.build/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/nice/HelloWord/.build/x86_64-apple-macosx10.10/debug/FluentSQL.build/SQL+Contains~partial.swiftmodule : /Users/nice/HelloWord/.build/checkouts/fluent.git-6829944210039798771/Sources/FluentSQL/FluentSQLSchema.swift /Users/nice/HelloWord/.build/checkouts/fluent.git-6829944210039798771/Sources/FluentSQL/SchemaBuilder+Field.swift /Users/nice/HelloWord/.build/checkouts/fluent.git-6829944210039798771/Sources/FluentSQL/SQL+SchemaSupporting.swift /Users/nice/HelloWord/.build/checkouts/fluent.git-6829944210039798771/Sources/FluentSQL/SQL+JoinSupporting.swift /Users/nice/HelloWord/.build/checkouts/fluent.git-6829944210039798771/Sources/FluentSQL/SQL+QuerySupporting.swift /Users/nice/HelloWord/.build/checkouts/fluent.git-6829944210039798771/Sources/FluentSQL/SQL+Contains.swift /Users/nice/HelloWord/.build/checkouts/fluent.git-6829944210039798771/Sources/FluentSQL/Exports.swift /Users/nice/HelloWord/.build/checkouts/fluent.git-6829944210039798771/Sources/FluentSQL/QueryBuilder+GroupBy.swift /Users/nice/HelloWord/.build/checkouts/fluent.git-6829944210039798771/Sources/FluentSQL/FluentSQLQuery.swift /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Dispatch.apinotesc /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/ObjectiveC.swiftmodule /Users/nice/HelloWord/.build/x86_64-apple-macosx10.10/debug/SQL.swiftmodule /Users/nice/HelloWord/.build/x86_64-apple-macosx10.10/debug/NIO.swiftmodule /Users/nice/HelloWord/.build/x86_64-apple-macosx10.10/debug/Async.swiftmodule /Users/nice/HelloWord/.build/x86_64-apple-macosx10.10/debug/Command.swiftmodule /Users/nice/HelloWord/.build/x86_64-apple-macosx10.10/debug/Service.swiftmodule /Users/nice/HelloWord/.build/x86_64-apple-macosx10.10/debug/Console.swiftmodule /Users/nice/HelloWord/.build/x86_64-apple-macosx10.10/debug/Core.swiftmodule /Users/nice/HelloWord/.build/x86_64-apple-macosx10.10/debug/Logging.swiftmodule /Users/nice/HelloWord/.build/x86_64-apple-macosx10.10/debug/Debugging.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Dispatch.swiftmodule /Users/nice/HelloWord/.build/x86_64-apple-macosx10.10/debug/COperatingSystem.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Darwin.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Foundation.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/CoreFoundation.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/CoreGraphics.swiftmodule /Users/nice/HelloWord/.build/x86_64-apple-macosx10.10/debug/NIOConcurrencyHelpers.swiftmodule /Users/nice/HelloWord/.build/x86_64-apple-macosx10.10/debug/Bits.swiftmodule /Users/nice/HelloWord/.build/x86_64-apple-macosx10.10/debug/NIOFoundationCompat.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Swift.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/IOKit.swiftmodule /Users/nice/HelloWord/.build/x86_64-apple-macosx10.10/debug/DatabaseKit.swiftmodule /Users/nice/HelloWord/.build/x86_64-apple-macosx10.10/debug/Fluent.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/SwiftOnoneSupport.swiftmodule /Users/nice/HelloWord/.build/checkouts/swift-nio.git-5005363973595484456/Sources/CNIOAtomics/include/cpp_magic.h /Users/nice/HelloWord/.build/checkouts/swift-nio.git-5005363973595484456/Sources/CNIODarwin/include/c_nio_darwin.h /Users/nice/HelloWord/.build/checkouts/swift-nio.git-5005363973595484456/Sources/CNIOAtomics/include/c-atomics.h /Users/nice/HelloWord/.build/checkouts/swift-nio.git-5005363973595484456/Sources/CNIOLinux/include/c_nio_linux.h /Users/nice/HelloWord/.build/checkouts/swift-nio-zlib-support.git--6556802241718767980/module.modulemap /Users/nice/HelloWord/.build/x86_64-apple-macosx10.10/debug/CNIOSHA1.build/module.modulemap /Users/nice/HelloWord/.build/x86_64-apple-macosx10.10/debug/CNIOOpenSSL.build/module.modulemap /Users/nice/HelloWord/.build/x86_64-apple-macosx10.10/debug/CCryptoOpenSSL.build/module.modulemap /Users/nice/HelloWord/.build/x86_64-apple-macosx10.10/debug/CNIOZlib.build/module.modulemap /Users/nice/HelloWord/.build/x86_64-apple-macosx10.10/debug/CNIODarwin.build/module.modulemap /Users/nice/HelloWord/.build/x86_64-apple-macosx10.10/debug/CNIOHTTPParser.build/module.modulemap /Users/nice/HelloWord/.build/x86_64-apple-macosx10.10/debug/CNIOAtomics.build/module.modulemap /Users/nice/HelloWord/.build/x86_64-apple-macosx10.10/debug/CNIOLinux.build/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/nice/HelloWord/.build/x86_64-apple-macosx10.10/debug/FluentSQL.build/SQL+Contains~partial.swiftdoc : /Users/nice/HelloWord/.build/checkouts/fluent.git-6829944210039798771/Sources/FluentSQL/FluentSQLSchema.swift /Users/nice/HelloWord/.build/checkouts/fluent.git-6829944210039798771/Sources/FluentSQL/SchemaBuilder+Field.swift /Users/nice/HelloWord/.build/checkouts/fluent.git-6829944210039798771/Sources/FluentSQL/SQL+SchemaSupporting.swift /Users/nice/HelloWord/.build/checkouts/fluent.git-6829944210039798771/Sources/FluentSQL/SQL+JoinSupporting.swift /Users/nice/HelloWord/.build/checkouts/fluent.git-6829944210039798771/Sources/FluentSQL/SQL+QuerySupporting.swift /Users/nice/HelloWord/.build/checkouts/fluent.git-6829944210039798771/Sources/FluentSQL/SQL+Contains.swift /Users/nice/HelloWord/.build/checkouts/fluent.git-6829944210039798771/Sources/FluentSQL/Exports.swift /Users/nice/HelloWord/.build/checkouts/fluent.git-6829944210039798771/Sources/FluentSQL/QueryBuilder+GroupBy.swift /Users/nice/HelloWord/.build/checkouts/fluent.git-6829944210039798771/Sources/FluentSQL/FluentSQLQuery.swift /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Dispatch.apinotesc /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/ObjectiveC.swiftmodule /Users/nice/HelloWord/.build/x86_64-apple-macosx10.10/debug/SQL.swiftmodule /Users/nice/HelloWord/.build/x86_64-apple-macosx10.10/debug/NIO.swiftmodule /Users/nice/HelloWord/.build/x86_64-apple-macosx10.10/debug/Async.swiftmodule /Users/nice/HelloWord/.build/x86_64-apple-macosx10.10/debug/Command.swiftmodule /Users/nice/HelloWord/.build/x86_64-apple-macosx10.10/debug/Service.swiftmodule /Users/nice/HelloWord/.build/x86_64-apple-macosx10.10/debug/Console.swiftmodule /Users/nice/HelloWord/.build/x86_64-apple-macosx10.10/debug/Core.swiftmodule /Users/nice/HelloWord/.build/x86_64-apple-macosx10.10/debug/Logging.swiftmodule /Users/nice/HelloWord/.build/x86_64-apple-macosx10.10/debug/Debugging.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Dispatch.swiftmodule /Users/nice/HelloWord/.build/x86_64-apple-macosx10.10/debug/COperatingSystem.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Darwin.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Foundation.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/CoreFoundation.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/CoreGraphics.swiftmodule /Users/nice/HelloWord/.build/x86_64-apple-macosx10.10/debug/NIOConcurrencyHelpers.swiftmodule /Users/nice/HelloWord/.build/x86_64-apple-macosx10.10/debug/Bits.swiftmodule /Users/nice/HelloWord/.build/x86_64-apple-macosx10.10/debug/NIOFoundationCompat.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Swift.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/IOKit.swiftmodule /Users/nice/HelloWord/.build/x86_64-apple-macosx10.10/debug/DatabaseKit.swiftmodule /Users/nice/HelloWord/.build/x86_64-apple-macosx10.10/debug/Fluent.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/SwiftOnoneSupport.swiftmodule /Users/nice/HelloWord/.build/checkouts/swift-nio.git-5005363973595484456/Sources/CNIOAtomics/include/cpp_magic.h /Users/nice/HelloWord/.build/checkouts/swift-nio.git-5005363973595484456/Sources/CNIODarwin/include/c_nio_darwin.h /Users/nice/HelloWord/.build/checkouts/swift-nio.git-5005363973595484456/Sources/CNIOAtomics/include/c-atomics.h /Users/nice/HelloWord/.build/checkouts/swift-nio.git-5005363973595484456/Sources/CNIOLinux/include/c_nio_linux.h /Users/nice/HelloWord/.build/checkouts/swift-nio-zlib-support.git--6556802241718767980/module.modulemap /Users/nice/HelloWord/.build/x86_64-apple-macosx10.10/debug/CNIOSHA1.build/module.modulemap /Users/nice/HelloWord/.build/x86_64-apple-macosx10.10/debug/CNIOOpenSSL.build/module.modulemap /Users/nice/HelloWord/.build/x86_64-apple-macosx10.10/debug/CCryptoOpenSSL.build/module.modulemap /Users/nice/HelloWord/.build/x86_64-apple-macosx10.10/debug/CNIOZlib.build/module.modulemap /Users/nice/HelloWord/.build/x86_64-apple-macosx10.10/debug/CNIODarwin.build/module.modulemap /Users/nice/HelloWord/.build/x86_64-apple-macosx10.10/debug/CNIOHTTPParser.build/module.modulemap /Users/nice/HelloWord/.build/x86_64-apple-macosx10.10/debug/CNIOAtomics.build/module.modulemap /Users/nice/HelloWord/.build/x86_64-apple-macosx10.10/debug/CNIOLinux.build/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
|
/++
The Connect service handles logging onto IRC servers after having connected,
as well as managing authentication to services. It also manages responding
to [dialect.defs.IRCEvent.Type.PING|PING] requests, and capability negotiations.
The actual connection logic is in the [kameloso.net] module.
See_Also:
[kameloso.net],
[kameloso.plugins.common.core],
[kameloso.plugins.common.misc]
Copyright: [JR](https://github.com/zorael)
License: [Boost Software License 1.0](https://www.boost.org/users/license.html)
Authors:
[JR](https://github.com/zorael)
+/
module kameloso.plugins.services.connect;
version(WithConnectService):
private:
import kameloso.plugins;
import kameloso.plugins.common.core;
import kameloso.common : logger;
import kameloso.messaging;
import kameloso.thread : Sendable;
import dialect.defs;
import std.typecons : Flag, No, Yes;
// ConnectSettings
/++
Settings for a [ConnectService].
+/
@Settings struct ConnectSettings
{
private:
import lu.uda : CannotContainComments, /*Separator,*/ Unserialisable;
/++
What to use as delimiter to separate [sendAfterConnect] into different
lines to send to the server.
This is to compensate for not being able to use [lu.uda.Separator] and a
`string[]` (because it doesn't work well with getopt).
+/
enum sendAfterConnectSeparator = ";;";
public:
/++
Whether or not to try to regain nickname if there was a collision and
we had to rename ourselves, when registering.
+/
bool regainNickname = true;
/++
Whether or not to join channels upon being invited to them.
+/
bool joinOnInvite = false;
/++
Whether to use SASL authentication or not.
+/
@Unserialisable bool sasl = true;
/++
Whether or not to abort and exit if SASL authentication fails.
+/
bool exitOnSASLFailure = false;
/++
Lines to send after successfully connecting and registering.
+/
//@Separator(";;")
@CannotContainComments string sendAfterConnect;
/++
How much time to allow between incoming PINGs before suspecting something is wrong.
+/
@Unserialisable int maxPingPeriodAllowed = 660;
}
/++
Progress of a process.
+/
enum Progress
{
notStarted, /// Process not yet started, init state.
inProgress, /// Process started but has yet to finish.
finished, /// Process finished.
}
// onSelfpart
/++
Removes a channel from the list of joined channels.
Fires when the bot leaves a channel, one way or another.
+/
@(IRCEventHandler()
.onEvent(IRCEvent.Type.SELFPART)
.onEvent(IRCEvent.Type.SELFKICK)
.channelPolicy(ChannelPolicy.any)
)
void onSelfpart(ConnectService service, const ref IRCEvent event)
{
import std.algorithm.searching : canFind;
version(TwitchSupport)
{
if (service.state.server.daemon == IRCServer.Daemon.twitch)
{
service.currentActualChannels.remove(event.channel);
}
}
if (service.state.bot.homeChannels.canFind(event.channel))
{
logger.warning("Leaving a home...");
}
}
// joinChannels
/++
Joins all channels listed as home channels *and* guest channels in the arrays in
[kameloso.pods.IRCBot|IRCBot] of the current [ConnectService]'s
[kameloso.plugins.common.core.IRCPluginState|IRCPluginState].
Params:
service = The current [ConnectService].
+/
void joinChannels(ConnectService service)
{
import kameloso.messaging : Message;
import lu.string : plurality;
import std.algorithm.iteration : filter, uniq;
import std.algorithm.sorting : sort;
import std.array : array, join;
import std.range : walkLength;
static import kameloso.messaging;
scope(exit) service.joinedChannels = true;
if (!service.state.bot.homeChannels.length && !service.state.bot.guestChannels.length)
{
logger.warning("No channels, no purpose...");
return;
}
auto homelist = service.state.bot.homeChannels
.filter!(channelName => (channelName != "-"))
.array
.sort
.uniq;
auto guestlist = service.state.bot.guestChannels
.filter!(channelName => (channelName != "-"))
.array
.sort
.uniq;
immutable numChans = homelist.walkLength() + guestlist.walkLength();
enum pattern = "Joining <i>%d</> %s...";
logger.logf(pattern, numChans, numChans.plurality("channel", "channels"));
// Join in two steps so home channels don't get shoved away by guest channels
if (service.state.bot.homeChannels.length)
{
enum properties = Message.Property.quiet;
immutable channelString = homelist.join(',');
kameloso.messaging.join(service.state, channelString, string.init, properties);
}
if (service.state.bot.guestChannels.length)
{
enum properties = Message.Property.quiet;
immutable channelString = guestlist.join(',');
kameloso.messaging.join(service.state, channelString, string.init, properties);
}
version(TwitchSupport)
{
import kameloso.plugins.common.delayawait : delay;
/+
If, on Twitch, an invalid channel was supplied as a home or a guest
channel, it will just silently not join it but leave us thinking it has
(since the entry in `homeChannels`/`guestChannels` will still be there).
Check whether we actually joined them all, after a short delay, and
if not, sync the arrays.
+/
// Early return if we're not on Twitch to spare us a level of indentation
if (service.state.server.daemon != IRCServer.Daemon.twitch) return;
void delayedChannelCheckDg()
{
import std.range : chain;
// See if we actually managed to join all channels
auto allChannels = chain(service.state.bot.homeChannels, service.state.bot.guestChannels);
string[] missingChannels; // mutable
foreach (immutable channel; allChannels)
{
if (channel !in service.currentActualChannels)
{
// We failed to join a channel for some reason. No such user?
missingChannels ~= channel;
}
}
if (missingChannels.length)
{
enum pattern = "Timed out waiting to join channels: %-(<l>%s</>, %)";
logger.warningf(pattern, missingChannels);
}
}
delay(service, &delayedChannelCheckDg, service.channelCheckDelay);
}
}
// onSelfjoin
/++
Records us as having joined a channel, when we join one. This is to allow
us to notice when we silently fail to join something, on Twitch. As it's
limited to there, gate it behind version `TwitchSupport`.
+/
version(TwitchSupport)
@(IRCEventHandler()
.onEvent(IRCEvent.Type.SELFJOIN)
.channelPolicy(ChannelPolicy.any)
)
void onSelfjoin(ConnectService service, const ref IRCEvent event)
{
if (service.state.server.daemon == IRCServer.Daemon.twitch)
{
service.currentActualChannels[event.channel] = true;
}
}
// onToConnectType
/++
Responds to [dialect.defs.IRCEvent.Type.ERR_NEEDPONG|ERR_NEEDPONG] events by sending
the text supplied as content in the [dialect.defs.IRCEvent|IRCEvent] to the server.
"Also known as [dialect.defs.IRCEvent.Type.ERR_NEEDPONG|ERR_NEEDPONG] (Unreal/Ultimate)
for use during registration, however it's not used in Unreal (and might not
be used in Ultimate either)."
Encountered at least once, on a private server.
+/
@(IRCEventHandler()
.onEvent(IRCEvent.Type.ERR_NEEDPONG)
)
void onToConnectType(ConnectService service, const ref IRCEvent event)
{
enum properties = Message.Property.quiet;
immediate(service.state, event.content, properties);
}
// onPing
/++
Pongs the server upon [dialect.defs.IRCEvent.Type.PING|PING].
Ping with the sender as target, and not the necessarily
the server as saved in the [dialect.defs.IRCServer|IRCServer] struct. For
example, [dialect.defs.IRCEvent.Type.ERR_NEEDPONG|ERR_NEEDPONG] generally
wants you to ping a random number or string.
+/
@(IRCEventHandler()
.onEvent(IRCEvent.Type.PING)
)
void onPing(ConnectService service, const ref IRCEvent event)
{
import kameloso.thread : ThreadMessage;
import std.concurrency : prioritySend;
immutable target = event.content.length ? event.content : event.sender.address;
service.state.mainThread.prioritySend(ThreadMessage.pong(target));
}
// tryAuth
/++
Tries to authenticate with services.
The command to send vary greatly between server daemons (and networks), so
use some heuristics and try the best guess.
Params:
service = The current [ConnectService].
+/
void tryAuth(ConnectService service)
{
import lu.string : beginsWith, decode64;
string serviceNick = "NickServ"; // mutable, default value
string verb = "IDENTIFY"; // ditto
immutable password = service.state.bot.password.beginsWith("base64:") ?
decode64(service.state.bot.password[7..$]) : service.state.bot.password;
// Specialcase networks
switch (service.state.server.network)
{
case "DALnet":
serviceNick = "NickServ@services.dal.net";
break;
case "GameSurge":
serviceNick = "AuthServ@Services.GameSurge.net";
break;
case "EFNet":
case "WNet1":
// No registration available
service.authentication = Progress.finished;
return;
case "QuakeNet":
serviceNick = "Q@CServe.quakenet.org";
verb = "AUTH";
break;
default:
break;
}
service.authentication = Progress.inProgress;
with (IRCServer.Daemon)
switch (service.state.server.daemon)
{
case rizon:
case unreal:
case hybrid:
case bahamut:
import std.conv : text;
// Only accepts password, no auth nickname
if (service.state.client.nickname != service.state.client.origNickname)
{
enum pattern = "Cannot auth when you have changed your nickname. " ~
"(<l>%s</> != <l>%s</>)";
logger.warningf(
pattern,
service.state.client.nickname,
service.state.client.origNickname);
service.authentication = Progress.finished;
return;
}
enum properties = Message.Property.quiet;
immutable message = text(verb, ' ', password);
query(service.state, serviceNick, message, properties);
if (!service.state.settings.hideOutgoing && !service.state.settings.trace)
{
enum pattern = "--> PRIVMSG %s :%s hunter2";
logger.tracef(pattern, serviceNick, verb);
}
break;
case snircd:
case ircdseven:
case u2:
case solanum:
import std.conv : text;
// Accepts auth login
// GameSurge is AuthServ
string account = service.state.bot.account;
if (!service.state.bot.account.length)
{
enum pattern = "No account specified! Trying <i>%s</>...";
logger.logf(pattern, service.state.client.origNickname);
account = service.state.client.origNickname;
}
enum properties = Message.Property.quiet;
immutable message = text(verb, ' ', account, ' ', password);
query(service.state, serviceNick, message, properties);
if (!service.state.settings.hideOutgoing && !service.state.settings.trace)
{
enum pattern = "--> PRIVMSG %s :%s %s hunter2";
logger.tracef(pattern, serviceNick, verb, account);
}
break;
case rusnet:
/+
This fails to compile on <2.097 compilers.
"Error: switch skips declaration of variable kameloso.plugins.services.connect.tryAuth.message"
Worrisome, but work around the issue for now by adding braces.
+/
{
// Doesn't want a PRIVMSG
enum properties = Message.Property.quiet;
immutable message = "NICKSERV IDENTIFY " ~ password;
raw(service.state, message, properties);
if (!service.state.settings.hideOutgoing && !service.state.settings.trace)
{
logger.trace("--> NICKSERV IDENTIFY hunter2");
}
}
break;
version(TwitchSupport)
{
case twitch:
// No registration available
service.authentication = Progress.finished;
return;
}
default:
logger.warning("Unsure of what AUTH approach to use.");
logger.info("Please report information about what approach succeeded!");
if (service.state.bot.account.length)
{
goto case ircdseven;
}
else
{
goto case bahamut;
}
}
import kameloso.plugins.common.delayawait : delay;
void delayedJoinDg()
{
// If we're still authenticating after n seconds, abort and join channels.
if (service.authentication == Progress.inProgress)
{
logger.warning("Authentication timed out.");
service.authentication = Progress.finished;
}
if (!service.joinedChannels)
{
joinChannels(service);
}
}
delay(service, &delayedJoinDg, service.authenticationGracePeriod);
}
// onAuthEnd
/++
Flags authentication as finished and join channels.
Fires when an authentication service sends a message with a known success,
invalid or rejected auth text, signifying completed login.
+/
@(IRCEventHandler()
.onEvent(IRCEvent.Type.AUTH_SUCCESS)
.onEvent(IRCEvent.Type.AUTH_FAILURE)
)
void onAuthEnd(ConnectService service, const ref IRCEvent event)
{
service.authentication = Progress.finished;
if (service.registration == Progress.finished)
{
if (!service.joinedChannels)
{
joinChannels(service);
}
}
}
// onTwitchAuthFailure
/++
On Twitch, if the OAuth pass is wrong or malformed, abort and exit the program.
Only deal with it if we're currently registering.
If the bot was compiled without Twitch support, mention this and quit.
+/
@(IRCEventHandler()
.onEvent(IRCEvent.Type.NOTICE)
)
void onTwitchAuthFailure(ConnectService service, const ref IRCEvent event)
{
import std.algorithm.searching : endsWith;
import std.typecons : Flag, No, Yes;
if ((service.state.server.daemon != IRCServer.Daemon.unset) ||
!service.state.server.address.endsWith(".twitch.tv"))
{
// Not early Twitch registration
return;
}
// We're registering on Twitch and we got a NOTICE, probably an error
version(TwitchSupport)
{
switch (event.content)
{
case "Improperly formatted auth":
if (!service.state.bot.pass.length)
{
logger.error("Missing Twitch authentication token.");
}
else
{
logger.error("Twitch authentication token is malformed. " ~
"Make sure it is entered correctly.");
}
break; // drop down
case "Login authentication failed":
logger.error("Twitch authentication token is invalid or has expired.");
break; // drop down
case "Login unsuccessful":
logger.error("Twitch authentication token probably has insufficient privileges.");
break; // drop down
default:
// Just some notice; return
return;
}
// Do this here since it should be output in all cases except for the
// default, which just returns anyway and skips this.
enum message = "Run the program with <i>--set twitch.keygen</> to generate a new one.";
logger.log(message);
// Exit and let the user tend to it.
enum properties = Message.Property.priority;
quit(service.state, event.content, properties);
}
else
{
switch (event.content)
{
case "Improperly formatted auth":
case "Login authentication failed":
case "Login unsuccessful":
logger.error("The bot was not compiled with Twitch support enabled.");
enum properties = Message.Property.priority;
enum message = "Missing Twitch support";
return quit(service.state, message, properties);
default:
return;
}
}
}
// onNickInUse
/++
Modifies the nickname by appending characters to the end of it.
Don't modify [IRCPluginState.client.nickname] as the nickname only changes
when the [dialect.defs.IRCEvent.Type.RPL_LOGGEDIN|RPL_LOGGEDIN] event actually occurs.
+/
@(IRCEventHandler()
.onEvent(IRCEvent.Type.ERR_NICKNAMEINUSE)
.onEvent(IRCEvent.Type.ERR_NICKCOLLISION)
)
void onNickInUse(ConnectService service)
{
import std.conv : to;
import std.random : uniform;
if (service.registration == Progress.inProgress)
{
if (!service.renameDuringRegistration.length)
{
import kameloso.constants : KamelosoDefaults;
service.renameDuringRegistration = service.state.client.nickname ~
KamelosoDefaults.altNickSeparator;
}
service.renameDuringRegistration ~= uniform(0, 10).to!string;
immutable message = "NICK " ~ service.renameDuringRegistration;
immediate(service.state, message);
}
}
// onBadNick
/++
Aborts a registration attempt and quits if the requested nickname is too
long or contains invalid characters.
+/
@(IRCEventHandler()
.onEvent(IRCEvent.Type.ERR_ERRONEOUSNICKNAME)
)
void onBadNick(ConnectService service)
{
if (service.registration == Progress.inProgress)
{
// Mid-registration and invalid nickname; abort
if (service.renameDuringRegistration.length)
{
logger.error("Your nickname was taken and an alternative nickname " ~
"could not be successfully generated.");
}
else
{
logger.error("Your nickname is invalid: it is reserved, too long, or contains invalid characters.");
}
enum message = "Invalid nickname";
quit(service.state, message);
}
}
// onBanned
/++
Quits the program if we're banned.
There's no point in reconnecting.
+/
@(IRCEventHandler()
.onEvent(IRCEvent.Type.ERR_YOUREBANNEDCREEP)
)
void onBanned(ConnectService service)
{
logger.error("You are banned!");
enum message = "Banned";
quit(service.state, message);
}
// onPassMismatch
/++
Quits the program if we supplied a bad [kameloso.pods.IRCBot.pass|IRCBot.pass].
There's no point in reconnecting.
+/
@(IRCEventHandler()
.onEvent(IRCEvent.Type.ERR_PASSWDMISMATCH)
)
void onPassMismatch(ConnectService service)
{
if (service.registration != Progress.inProgress)
{
// Unsure if this ever happens, but don't quit if we're actually registered
return;
}
logger.error("Pass mismatch!");
enum message = "Incorrect pass";
quit(service.state, message);
}
// onInvite
/++
Upon being invited to a channel, joins it if the settings say we should.
+/
@(IRCEventHandler()
.onEvent(IRCEvent.Type.INVITE)
.channelPolicy(ChannelPolicy.any)
)
void onInvite(ConnectService service, const ref IRCEvent event)
{
if (!service.connectSettings.joinOnInvite)
{
enum message = "Invited, but <i>joinOnInvite</> is set to false.";
logger.log(message);
return;
}
join(service.state, event.channel);
}
// onCapabilityNegotiation
/++
Handles server capability exchange.
This is a necessary step to register with some IRC server; the capabilities
have to be requested (`CAP LS`), and the negotiations need to be ended
(`CAP END`).
+/
@(IRCEventHandler()
.onEvent(IRCEvent.Type.CAP)
)
void onCapabilityNegotiation(ConnectService service, const ref IRCEvent event)
{
// http://ircv3.net/irc
// https://blog.irccloud.com/ircv3
if (service.registration == Progress.finished)
{
// It's possible to call CAP LS after registration, and that would start
// this whole process anew. So stop if we have registered.
return;
}
service.capabilityNegotiation = Progress.inProgress;
switch (event.content)
{
case "LS":
import std.algorithm.iteration : splitter;
import std.array : Appender;
Appender!(string[]) capsToReq;
capsToReq.reserve(8); // guesstimate
foreach (immutable rawCap; event.aux[])
{
import lu.string : beginsWith, contains, nom;
if (!rawCap.length) continue;
string slice = rawCap; // mutable
immutable cap = slice.nom!(Yes.inherit)('=');
immutable sub = slice;
switch (cap)
{
case "sasl":
// Error: `switch` skips declaration of variable acceptsExternal
// https://issues.dlang.org/show_bug.cgi?id=21427
// feep[work] | the quick workaround is to wrap the switch body in a {}
{
immutable acceptsExternal = !sub.length || sub.contains("EXTERNAL");
immutable acceptsPlain = !sub.length || sub.contains("PLAIN");
immutable hasKey = (service.state.connSettings.privateKeyFile.length ||
service.state.connSettings.certFile.length);
if (service.state.connSettings.ssl && acceptsExternal && hasKey)
{
// Proceed
}
else if (service.connectSettings.sasl && acceptsPlain &&
service.state.bot.password.length)
{
// Likewise
}
else
{
// Abort
continue;
}
}
goto case;
version(TwitchSupport)
{
case "twitch.tv/membership":
case "twitch.tv/tags":
case "twitch.tv/commands":
// Twitch-specific capabilities
// Drop down
goto case;
}
case "account-tag": // @account=blahblahj;
//case "echo-message": // Outgoing messages are received as incoming
//case "solanum.chat/identify-msg": // Tag just saying "identified"
//case "solanum.chat/realhost": // Includes user's real host/ip
case "account-notify":
case "extended-join":
//case "identify-msg":
case "multi-prefix":
// Freenode
case "away-notify":
case "chghost":
case "invite-notify":
//case "multi-prefix": // dup
case "userhost-in-names":
// Rizon
//case "unrealircd.org/plaintext-policy":
//case "unrealircd.org/link-security":
//case "sts":
//case "extended-join": // dup
//case "chghost": // dup
//case "cap-notify": // Implicitly enabled by CAP LS 302
//case "userhost-in-names": // dup
//case "multi-prefix": // dup
//case "away-notify": // dup
//case "account-notify": // dup
//case "tls":
// UnrealIRCd
case "znc.in/self-message":
// znc SELFCHAN/SELFQUERY events
capsToReq ~= cap;
++service.requestedCapabilitiesRemaining;
break;
default:
//logger.warning("Unhandled capability: ", cap);
break;
}
}
if (capsToReq.data.length)
{
import std.algorithm.iteration : joiner;
import std.conv : text;
enum properties = Message.Property.quiet;
immutable message = text("CAP REQ :", capsToReq.data.joiner(" "));
immediate(service.state, message, properties);
}
break;
case "ACK":
import std.algorithm.iteration : splitter;
foreach (cap; event.aux[])
{
if (!cap.length) continue;
switch (cap)
{
case "sasl":
enum properties = Message.Property.quiet;
immutable hasKey = (service.state.connSettings.privateKeyFile.length ||
service.state.connSettings.certFile.length);
immutable mechanism = (service.state.connSettings.ssl && hasKey) ?
"AUTHENTICATE EXTERNAL" :
"AUTHENTICATE PLAIN";
immediate(service.state, mechanism, properties);
break;
default:
//logger.warning("Unhandled capability ACK: ", cap);
--service.requestedCapabilitiesRemaining;
break;
}
}
break;
case "NAK":
import std.algorithm.iteration : splitter;
foreach (cap; event.aux[])
{
if (!cap.length) continue;
switch (cap)
{
case "sasl":
if (service.connectSettings.exitOnSASLFailure)
{
enum message = "SASL Negotiation Failure";
return quit(service.state, message);
}
break;
default:
//logger.warning("Unhandled capability NAK: ", cap);
--service.requestedCapabilitiesRemaining;
break;
}
}
break;
default:
//logger.warning("Unhandled capability type: ", event.content);
break;
}
if (!service.requestedCapabilitiesRemaining &&
(service.capabilityNegotiation == Progress.inProgress))
{
service.capabilityNegotiation = Progress.finished;
enum properties = Message.Property.quiet;
enum message = "CAP END";
immediate(service.state, message, properties);
if (!service.issuedNICK)
{
negotiateNick(service);
}
}
}
// onSASLAuthenticate
/++
Attempts to authenticate via SASL, with the EXTERNAL mechanism if a private
key and/or certificate is set in the configuration file, and by PLAIN otherwise.
+/
@(IRCEventHandler()
.onEvent(IRCEvent.Type.SASL_AUTHENTICATE)
)
void onSASLAuthenticate(ConnectService service)
{
service.authentication = Progress.inProgress;
immutable hasKey = (service.state.connSettings.privateKeyFile.length ||
service.state.connSettings.certFile.length);
if (service.state.connSettings.ssl && hasKey &&
(service.saslExternal == Progress.notStarted))
{
service.saslExternal = Progress.inProgress;
enum message = "AUTHENTICATE +";
return immediate(service.state, message);
}
immutable plainSuccess = trySASLPlain(service);
if (!plainSuccess)
{
onSASLFailure(service);
}
}
// trySASLPlain
/++
Constructs a SASL plain authentication token from the bot's
[kameloso.pods.IRCBot.account|IRCBot.account] and
[kameloso.pods.IRCBot.password|IRCBot.password],
then sends it to the server, during registration.
A SASL plain authentication token is composed like so:
`base64(account \0 account \0 password)`
...where [kameloso.pods.IRCBot.account|IRCBot.account] is the services
account name and [kameloso.pods.IRCBot.password|IRCBot.password] is the
account password.
Params:
service = The current [ConnectService].
+/
auto trySASLPlain(ConnectService service)
{
import lu.string : beginsWith, decode64, encode64;
import std.base64 : Base64Exception;
import std.conv : text;
try
{
immutable account_ = service.state.bot.account.length ?
service.state.bot.account :
service.state.client.origNickname;
immutable password_ = service.state.bot.password.beginsWith("base64:") ?
decode64(service.state.bot.password[7..$]) :
service.state.bot.password;
immutable authToken = text(account_, '\0', account_, '\0', password_);
immutable encoded = encode64(authToken);
immutable message = "AUTHENTICATE " ~ encoded;
enum properties = Message.Property.quiet;
immediate(service.state, message, properties);
if (!service.state.settings.hideOutgoing && !service.state.settings.trace)
{
logger.trace("--> AUTHENTICATE hunter2");
}
return true;
}
catch (Base64Exception e)
{
enum pattern = "Could not authenticate: malformed password (<l>%s</>)";
logger.errorf(pattern, e.msg);
version(PrintStacktraces) logger.trace(e.info);
return false;
}
}
// onSASLSuccess
/++
On SASL authentication success, calls a `CAP END` to finish the
[dialect.defs.IRCEvent.Type.CAP|CAP] negotiations.
Flags the client as having finished registering and authing, allowing the
main loop to pick it up and propagate it to all other plugins.
+/
@(IRCEventHandler()
.onEvent(IRCEvent.Type.RPL_SASLSUCCESS)
)
void onSASLSuccess(ConnectService service)
{
service.authentication = Progress.finished;
/++
The END subcommand signals to the server that capability negotiation
is complete and requests that the server continue with client
registration. If the client is already registered, this command
MUST be ignored by the server.
Clients that support capabilities but do not wish to enter negotiation
SHOULD send CAP END upon connection to the server.
- http://ircv3.net/specs/core/capability-negotiation-3.1.html
Notes: Some servers don't ignore post-registration CAP.
+/
if (!--service.requestedCapabilitiesRemaining &&
(service.capabilityNegotiation == Progress.inProgress))
{
service.capabilityNegotiation = Progress.finished;
enum properties = Message.Property.quiet;
enum message = "CAP END";
immediate(service.state, message, properties);
if ((service.registration == Progress.inProgress) && !service.issuedNICK)
{
negotiateNick(service);
}
}
}
// onSASLFailure
/++
On SASL authentication failure, calls a `CAP END` to finish the
[dialect.defs.IRCEvent.Type.CAP|CAP] negotiations and finish registration.
Flags the client as having finished registering, allowing the main loop to
pick it up and propagate it to all other plugins.
+/
@(IRCEventHandler()
.onEvent(IRCEvent.Type.ERR_SASLFAIL)
)
void onSASLFailure(ConnectService service)
{
if ((service.saslExternal == Progress.inProgress) && service.state.bot.password.length)
{
// Fall back to PLAIN
service.saslExternal = Progress.finished;
enum properties = Message.Property.quiet;
enum message = "AUTHENTICATE PLAIN";
return immediate(service.state, message, properties);
}
if (service.connectSettings.exitOnSASLFailure)
{
enum message = "SASL Negotiation Failure";
return quit(service.state, message);
}
// Auth failed and will fail even if we try NickServ, so flag as
// finished auth and invoke `CAP END`
service.authentication = Progress.finished;
if (!--service.requestedCapabilitiesRemaining &&
(service.capabilityNegotiation == Progress.inProgress))
{
service.capabilityNegotiation = Progress.finished;
enum properties = Message.Property.quiet;
enum message = "CAP END";
immediate(service.state, message, properties);
if ((service.registration == Progress.inProgress) && !service.issuedNICK)
{
negotiateNick(service);
}
}
}
// onWelcome
/++
Marks registration as completed upon [dialect.defs.IRCEvent.Type.RPL_WELCOME|RPL_WELCOME]
(numeric `001`).
Additionally performs post-connect routines (authenticates if not already done,
and send-after-connect).
+/
@(IRCEventHandler()
.onEvent(IRCEvent.Type.RPL_WELCOME)
)
void onWelcome(ConnectService service)
{
import std.algorithm.iteration : splitter;
import std.algorithm.searching : endsWith;
service.registration = Progress.finished;
service.renameDuringRegistration = string.init;
version(WithPingMonitor) startPingMonitorFiber(service);
alias separator = ConnectSettings.sendAfterConnectSeparator;
auto toSendRange = service.connectSettings.sendAfterConnect.splitter(separator);
foreach (immutable unstripped; toSendRange)
{
import lu.string : strippedLeft;
import std.array : replace;
immutable line = unstripped.strippedLeft;
if (!line.length) continue;
immutable processed = line
.replace("$nickname", service.state.client.nickname)
.replace("$origserver", service.state.server.address)
.replace("$server", service.state.server.resolvedAddress);
raw(service.state, processed);
}
if (service.state.server.address.endsWith(".twitch.tv"))
{
import kameloso.plugins.common.delayawait : await, unawait;
if (service.state.settings.preferHostmasks &&
!service.state.settings.force)
{
// We already infer account by username on Twitch;
// hostmasks mode makes no sense there. So disable it.
service.state.settings.preferHostmasks = false;
service.state.updates |= typeof(service.state.updates).settings;
}
static immutable IRCEvent.Type[2] endOfMotdEventTypes =
[
IRCEvent.Type.RPL_ENDOFMOTD,
IRCEvent.Type.ERR_NOMOTD,
];
void twitchWarningDg(IRCEvent)
{
scope(exit) unawait(service, &twitchWarningDg, endOfMotdEventTypes[]);
version(TwitchSupport)
{
import lu.string : beginsWith;
/+
Upon having connected, registered and logged onto the Twitch servers,
disable outgoing colours and warn about having a `.` or `/` prefix.
Twitch chat doesn't do colours, so ours would only show up like `00kameloso`.
Furthermore, Twitch's own commands are prefixed with a dot `.` and/or a slash `/`,
so we can't use that ourselves.
+/
if (service.state.server.daemon != IRCServer.Daemon.twitch) return;
service.state.settings.colouredOutgoing = false;
service.state.updates |= typeof(service.state.updates).settings;
if (service.state.settings.prefix.beginsWith(".") ||
service.state.settings.prefix.beginsWith("/"))
{
enum pattern = `WARNING: A prefix of "<l>%s</>" will *not* work on Twitch servers, ` ~
"as <l>.</> and <l>/</> are reserved for Twitch's own commands.";
logger.warningf(pattern, service.state.settings.prefix);
}
}
else
{
// No Twitch support built in
if (service.state.server.address.endsWith(".twitch.tv"))
{
logger.warning("This bot was not built with Twitch support enabled. " ~
"Expect errors and general uselessness.");
}
}
}
await(service, &twitchWarningDg, endOfMotdEventTypes[]);
}
else
{
// Not on Twitch
if (service.connectSettings.regainNickname && !service.state.bot.hasGuestNickname &&
(service.state.client.nickname != service.state.client.origNickname))
{
import kameloso.plugins.common.delayawait : delay;
import kameloso.constants : BufferSize;
import core.thread : Fiber;
void regainDg()
{
// Concatenate the verb once
immutable squelchVerb = "squelch " ~ service.state.client.origNickname;
while (service.state.client.nickname != service.state.client.origNickname)
{
import kameloso.messaging : raw;
version(WithPrinterPlugin)
{
import kameloso.thread : ThreadMessage, boxed;
import std.concurrency : send;
service.state.mainThread.send(
ThreadMessage.busMessage("printer", boxed(squelchVerb)));
}
enum properties = (Message.Property.quiet | Message.Property.background);
immutable message = "NICK " ~ service.state.client.origNickname;
raw(service.state, message, properties);
delay(service, service.nickRegainPeriodicity, Yes.yield);
}
}
auto regainFiber = new Fiber(®ainDg, BufferSize.fiberStack);
delay(service, regainFiber, service.nickRegainPeriodicity);
}
}
}
// onSelfnickSuccessOrFailure
/++
Resets [kameloso.plugins.printer.base.PrinterPlugin|PrinterPlugin] squelching upon a
successful or failed nick change. This so as to be squelching as little as possible.
+/
version(WithPrinterPlugin)
@(IRCEventHandler()
.onEvent(IRCEvent.Type.SELFNICK)
.onEvent(IRCEvent.Type.ERR_NICKNAMEINUSE)
)
void onSelfnickSuccessOrFailure(ConnectService service)
{
import kameloso.thread : ThreadMessage, boxed;
import std.concurrency : send;
service.state.mainThread.send(
ThreadMessage.busMessage("printer", boxed("unsquelch " ~ service.state.client.origNickname)));
}
// onQuit
/++
Regains nickname if the holder of the one we wanted during registration quit.
+/
@(IRCEventHandler()
.onEvent(IRCEvent.Type.QUIT)
)
void onQuit(ConnectService service, const ref IRCEvent event)
{
if ((service.state.server.daemon != IRCServer.Daemon.twitch) &&
service.connectSettings.regainNickname &&
(event.sender.nickname == service.state.client.origNickname))
{
// The regain Fiber will end itself when it is next triggered
enum pattern = "Attempting to regain nickname <l>%s</>...";
logger.infof(pattern, service.state.client.origNickname);
immutable message = "NICK " ~ service.state.client.origNickname;
raw(service.state, message);
}
}
// onEndOfMotd
/++
Joins channels and prints some Twitch warnings on end of MOTD.
Do this then instead of on [dialect.defs.IRCEvent.Type.RPL_WELCOME|RPL_WELCOME]
for better timing, and to avoid having the message drown in MOTD.
+/
@(IRCEventHandler()
.onEvent(IRCEvent.Type.RPL_ENDOFMOTD)
.onEvent(IRCEvent.Type.ERR_NOMOTD)
)
void onEndOfMotd(ConnectService service)
{
// Gather information about ourselves
if ((service.state.server.daemon != IRCServer.Daemon.twitch) &&
!service.state.client.ident.length)
{
enum properties =
Message.Property.forced |
Message.Property.quiet |
Message.Property.priority;
whois(service.state, service.state.client.nickname, properties);
}
version(TwitchSupport)
{
if (service.state.server.daemon == IRCServer.Daemon.twitch)
{
service.serverSupportsWHOIS = false;
}
}
if (service.state.server.network.length &&
service.state.bot.password.length &&
(service.authentication == Progress.notStarted) &&
(service.state.server.daemon != IRCServer.Daemon.twitch))
{
tryAuth(service);
}
else if (((service.authentication == Progress.finished) ||
!service.state.bot.password.length ||
(service.state.server.daemon == IRCServer.Daemon.twitch)) &&
!service.joinedChannels)
{
// tryAuth finished early with an unsuccessful login, else
// `service.authentication` would be set much later.
// Twitch servers can't auth so join immediately
// but don't do anything if we already joined channels.
joinChannels(service);
}
}
// onWHOISUser
/++
Catch information about ourselves (notably our `IDENT`) from `WHOIS` results.
+/
@(IRCEventHandler()
.onEvent(IRCEvent.Type.RPL_WHOISUSER)
)
void onWHOISUser(ConnectService service, const ref IRCEvent event)
{
if (event.target.nickname != service.state.client.nickname) return;
if (service.state.client.ident != event.target.ident)
{
service.state.client.ident = event.target.ident;
service.state.updates |= typeof(service.state.updates).client;
}
}
// onISUPPORT
/++
Requests a UTF-8 codepage if it seems that the server supports changing such.
Currently only RusNet is known to support codepages.
+/
@(IRCEventHandler()
.onEvent(IRCEvent.Type.RPL_ISUPPORT)
)
void onISUPPORT(ConnectService service, const ref IRCEvent event)
{
import std.algorithm.searching : canFind;
if (event.aux[].canFind("CODEPAGES"))
{
enum properties = Message.Property.quiet;
enum message = "CODEPAGE UTF-8";
raw(service.state, message, properties);
}
}
// onReconnect
/++
Disconnects and reconnects to the server.
This is a "benign" disconnect. We need to reconnect preemptively instead of
waiting for the server to disconnect us, as it would otherwise constitute an error.
+/
version(TwitchSupport)
@(IRCEventHandler()
.onEvent(IRCEvent.Type.RECONNECT)
)
void onReconnect(ConnectService service)
{
import kameloso.thread : ThreadMessage;
import std.concurrency : send;
logger.info("Reconnecting upon server request.");
service.state.mainThread.send(ThreadMessage.reconnect);
}
// onUnknownCommand
/++
Warns the user if the server does not seem to support WHOIS queries, suggesting
that they enable hostmasks mode instead.
+/
@(IRCEventHandler()
.onEvent(IRCEvent.Type.ERR_UNKNOWNCOMMAND)
)
void onUnknownCommand(ConnectService service, const ref IRCEvent event)
{
if (service.serverSupportsWHOIS && !service.state.settings.preferHostmasks && (event.aux[0] == "WHOIS"))
{
logger.error("Error: This server does not seem to support user accounts.");
enum message = "Consider enabling <l>Core</>.<l>preferHostmasks</>.";
logger.error(message);
logger.error("As it is, functionality will be greatly limited.");
service.serverSupportsWHOIS = false;
}
}
// startPingMonitorFiber
/++
Starts a monitor Fiber that sends a [dialect.defs.IRCEvent.Type.PING|PING]
if we haven't received one from the server for a while. This is to ensure
that dead connections are properly detected.
Params:
service = The current [ConnectService].
+/
void startPingMonitorFiber(ConnectService service)
{
import kameloso.plugins.common.delayawait : await, delay, removeDelayedFiber;
import kameloso.constants : BufferSize;
import kameloso.thread : CarryingFiber;
import core.thread : Fiber;
import core.time : seconds;
if (service.connectSettings.maxPingPeriodAllowed <= 0) return;
immutable pingMonitorPeriodicity = service.connectSettings.maxPingPeriodAllowed.seconds;
void pingMonitorDg()
{
static immutable timeToAllowForPingResponse = 30.seconds;
static immutable briefWait = 1.seconds;
long lastPongTimestamp;
uint strikes;
enum StrikeBreakpoints
{
wait = 2,
ping = 3,
}
while (true)
{
auto thisFiber = cast(CarryingFiber!IRCEvent)(Fiber.getThis);
assert(thisFiber, "Incorrectly cast Fiber: " ~ typeof(thisFiber).stringof);
immutable thisEvent = thisFiber.payload;
with (IRCEvent.Type)
switch (thisEvent.type)
{
case UNSET:
import std.datetime.systime : Clock;
// Triggered by timer
immutable nowInUnix = Clock.currTime.toUnixTime;
if ((nowInUnix - lastPongTimestamp) >= service.connectSettings.maxPingPeriodAllowed)
{
import kameloso.thread : ThreadMessage;
import std.concurrency : prioritySend;
/+
Skip first two strikes; helps when resuming from suspend and similar,
then allow for a PING with `timeToAllowForPingResponse` as timeout.
Finally, if all else failed, reconnect.
+/
++strikes;
if (strikes <= StrikeBreakpoints.wait)
{
if (service.state.settings.trace && (strikes > 1))
{
logger.warning("Server is suspiciously quiet.");
}
delay(service, briefWait, Yes.yield);
continue;
}
else if (strikes == StrikeBreakpoints.ping)
{
// Timeout. Send a preemptive ping
service.state.mainThread.prioritySend(ThreadMessage.ping(service.state.server.resolvedAddress));
delay(service, timeToAllowForPingResponse, Yes.yield);
continue;
}
else /*if (strikes > StrikeBreakpoints.ping)*/
{
// All failed, reconnect
logger.warning("No response from server. Reconnecting.");
service.state.mainThread.prioritySend(ThreadMessage.reconnect);
return;
}
}
else
{
// Early trigger, either interleaved with a PONG or due to preemptive PING
// Remove current delay and re-delay at when the next PING check should be
removeDelayedFiber(service);
immutable elapsed = (nowInUnix - lastPongTimestamp);
immutable remaining = (service.connectSettings.maxPingPeriodAllowed - elapsed);
delay(service, remaining.seconds, Yes.yield);
}
continue;
case PING:
case PONG:
// Triggered by PING *or* PONG response from our preemptive PING
// Update and remove delay, so we can drop down and re-delay it
lastPongTimestamp = thisEvent.time;
strikes = 0;
removeDelayedFiber(service);
break;
default:
assert(0, "Impossible case hit in pingMonitorDg");
}
delay(service, pingMonitorPeriodicity, Yes.yield);
}
}
static immutable IRCEvent.Type[2] pingPongTypes =
[
IRCEvent.Type.PING,
IRCEvent.Type.PONG,
];
Fiber pingMonitorFiber = new CarryingFiber!IRCEvent(&pingMonitorDg, BufferSize.fiberStack);
await(service, pingMonitorFiber, pingPongTypes[]);
delay(service, pingMonitorFiber, pingMonitorPeriodicity);
}
// register
/++
Registers with/logs onto an IRC server.
Params:
service = The current [ConnectService].
+/
void register(ConnectService service)
{
import lu.string : beginsWith;
import std.algorithm.searching : canFind, endsWith;
import std.uni : toLower;
service.registration = Progress.inProgress;
// Server networks we know to support capabilities
static immutable capabilityServerWhitelistPrefix =
[
"efnet.",
];
// Ditto
static immutable capabilityServerWhitelistSuffix =
[
".libera.chat",
".freenode.net",
".twitch.tv",
".acc.umu.se",
".irchighway.net",
".oftc.net",
".rizon.net",
".snoonet.org",
".spotchat.org",
".swiftirc.net",
".efnet.org",
".netbsd.se",
".geekshed.net",
".moep.net",
".esper.net",
".europnet.org",
];
// Server networks we know to not support capabilities
static immutable capabilityServerBlacklistSuffix =
[
".quakenet.org",
".dal.net",
".gamesurge.net",
".geveze.org",
".ircnet.net",
".undernet.org",
".team17.com",
".link-net.be",
];
immutable serverToLower = service.state.server.address.toLower;
immutable serverWhitelisted = capabilityServerWhitelistSuffix
.canFind!((a,b) => b.endsWith(a))(serverToLower) ||
capabilityServerWhitelistPrefix
.canFind!((a,b) => b.beginsWith(a))(serverToLower);
immutable serverBlacklisted = !serverWhitelisted &&
capabilityServerBlacklistSuffix
.canFind!((a,b) => b.endsWith(a))(serverToLower);
if (!serverBlacklisted || service.state.settings.force)
{
enum properties = Message.Property.quiet;
enum message = "CAP LS 302";
immediate(service.state, message, properties);
}
version(TwitchSupport)
{
import std.algorithm.searching : endsWith;
immutable serverIsTwitch = service.state.server.address.endsWith(".twitch.tv");
}
if (service.state.bot.pass.length)
{
static string decodeIfPrefixedBase64(const string encoded)
{
import lu.string : beginsWith, decode64;
import std.base64 : Base64Exception;
if (encoded.beginsWith("base64:"))
{
try
{
return decode64(encoded[7..$]);
}
catch (Base64Exception _)
{
// says "base64:" but can't be decoded
// Something's wrong but be conservative about it.
return encoded;
}
}
else
{
return encoded;
}
}
immutable decoded = decodeIfPrefixedBase64(service.state.bot.pass);
version(TwitchSupport)
{
if (serverIsTwitch)
{
import lu.string : beginsWith;
service.state.bot.pass = decoded.beginsWith("oauth:") ? decoded : ("oauth:" ~ decoded);
}
}
if (!service.state.bot.pass.length) service.state.bot.pass = decoded;
service.state.updates |= typeof(service.state.updates).bot;
enum properties = Message.Property.quiet;
immutable message = "PASS " ~ service.state.bot.pass;
immediate(service.state, message, properties);
if (!service.state.settings.hideOutgoing && !service.state.settings.trace)
{
version(TwitchSupport)
{
if (!serverIsTwitch)
{
// fake it
logger.trace("--> PASS hunter2");
}
}
else
{
// Ditto
logger.trace("--> PASS hunter2");
}
}
}
version(TwitchSupport)
{
if (serverIsTwitch)
{
import std.uni : toLower;
// Make sure nickname is lowercase so we can rely on it as account name
service.state.client.nickname = service.state.client.nickname.toLower;
service.state.updates |= typeof(service.state.updates).client;
}
}
if (serverWhitelisted)
{
// CAP should work, nick will be negotiated after CAP END
}
else if (serverBlacklisted && !service.state.settings.force)
{
// No CAP, do NICK right away
negotiateNick(service);
}
else
{
import kameloso.plugins.common.delayawait : delay;
// Unsure, so monitor CAP progress
void capMonitorDg()
{
if (service.capabilityNegotiation == Progress.notStarted)
{
logger.warning("CAP timeout. Does the server not support capabilities?");
negotiateNick(service);
}
}
delay(service, &capMonitorDg, service.capLSTimeout);
}
}
// negotiateNick
/++
Negotiate nickname and user with the server, during registration.
+/
void negotiateNick(ConnectService service)
{
import std.algorithm.searching : endsWith;
immutable serverIsTwitch = service.state.server.address.endsWith(".twitch.tv");
if (!serverIsTwitch)
{
import kameloso.string : replaceTokens;
import std.format : format;
// Twitch doesn't require USER, only PASS and NICK
/+
Command: USER
Parameters: <user> <mode> <unused> <realname>
The <mode> parameter should be a numeric, and can be used to
automatically set user modes when registering with the server. This
parameter is a bitmask, with only 2 bits having any signification: if
the bit 2 is set, the user mode 'w' will be set and if the bit 3 is
set, the user mode 'i' will be set.
https://tools.ietf.org/html/rfc2812#section-3.1.3
The available modes are as follows:
a - user is flagged as away;
i - marks a users as invisible;
w - user receives wallops;
r - restricted user connection;
o - operator flag;
O - local operator flag;
s - marks a user for receipt of server notices.
+/
enum properties = Message.Property.quiet;
enum pattern = "USER %s 8 * :%s";
immutable message = pattern.format(
service.state.client.user,
service.state.client.realName.replaceTokens(service.state.client));
immediate(service.state, message, properties);
}
immutable properties = serverIsTwitch ?
Message.Property.quiet :
Message.Property.none;
immutable message = "NICK " ~ service.state.client.nickname;
immediate(service.state, message, properties);
service.issuedNICK = true;
}
// setup
/++
Registers with the server.
This initialisation event fires immediately after a successful connect, and
so instead of waiting for something from the server to trigger our
registration procedure (notably [dialect.defs.IRCEvent.Type.NOTICE]s
about our `IDENT` and hostname), we preemptively register.
It seems to work.
+/
void setup(ConnectService service)
{
register(service);
}
// onBusMessage
/++
Receives a passed [kameloso.thread.Boxed|Boxed] instance with the "`connect`" header,
and calls functions based on the payload message.
This is used to let other plugins trigger re-authentication with services.
Params:
service = The current [ConnectService].
header = String header describing the passed content payload.
content = Message content.
+/
void onBusMessage(ConnectService service, const string header, shared Sendable content)
{
import kameloso.thread : Boxed;
if (header != "connect") return;
auto message = cast(Boxed!string)content;
assert(message, "Incorrectly cast message: " ~ typeof(message).stringof);
if (message.payload == "auth")
{
tryAuth(service);
}
else
{
logger.error("[connect] Unimplemented bus message verb: ", message.payload);
}
}
mixin PluginRegistration!(ConnectService, -30.priority);
public:
// ConnectService
/++
The Connect service is a collection of functions and state needed to connect
and stay connected to an IRC server, as well as authenticate with services.
This is mostly a matter of sending `USER` and `NICK` during registration,
but also incorporates logic to authenticate with services, and capability
negotiations.
+/
final class ConnectService : IRCPlugin
{
private:
import core.time : seconds;
/++
All Connect service settings gathered.
+/
ConnectSettings connectSettings;
/++
How many seconds we should wait before we tire of waiting for authentication
responses and just start joining channels.
+/
static immutable authenticationGracePeriod = 15.seconds;
/++
How many seconds to wait for a response to the request for the list of
capabilities the server has. After these many seconds, it will just
normally negotiate nickname and log in.
+/
static immutable capLSTimeout = 15.seconds;
/++
How often to attempt to regain nickname, in seconds, if there was a collision
and we had to rename ourselves during registration.
+/
static immutable nickRegainPeriodicity = 600.seconds;
/++
After how much time we should check whether or not we managed to join all channels.
+/
static immutable channelCheckDelay = 15.seconds;
/++
At what step we're currently at with regards to authentication.
+/
Progress authentication;
/++
At what step we're currently at with regards to SASL EXTERNAL authentication.
+/
Progress saslExternal;
/++
At what step we're currently at with regards to registration.
+/
Progress registration;
/++
At what step we're currently at with regards to capabilities.
+/
Progress capabilityNegotiation;
/++
Whether or not we have issued a NICK command during registration.
+/
bool issuedNICK;
/++
Temporary: the nickname that we had to rename to, to successfully
register on the server.
This is to avoid modifying [dialect.defs.IRCClient.nickname|IRCClient.nickname]
before the nickname is actually changed, yet still carry information about the
incremental rename throughout calls of [onNickInUse].
+/
string renameDuringRegistration;
/++
Whether or not the bot has joined its channels at least once.
+/
bool joinedChannels;
version(TwitchSupport)
{
/++
Which channels we are actually in. In most cases this will be the union
of our home and our guest channels, except when it isn't.
+/
bool[string] currentActualChannels;
}
/++
Whether or not the server seems to be supporting WHOIS queries.
+/
bool serverSupportsWHOIS = true;
/++
Number of capabilities requested but still not awarded.
+/
uint requestedCapabilitiesRemaining;
mixin IRCPluginImpl;
}
|
D
|
module hunt.security.PermissionCollection;
import hunt.security.Permission;
import hunt.collection;
import hunt.Exceptions;
import hunt.text.Common;
import hunt.util.StringBuilder;
/**
* Abstract class representing a collection of Permission objects.
*
* <p>With a PermissionCollection, you can:
* <UL>
* <LI> add a permission to the collection using the {@code add} method.
* <LI> check to see if a particular permission is implied in the
* collection, using the {@code implies} method.
* <LI> enumerate all the permissions, using the {@code elements} method.
* </UL>
*
* <p>When it is desirable to group together a number of Permission objects
* of the same type, the {@code newPermissionCollection} method on that
* particular type of Permission object should first be called. The default
* behavior (from the Permission class) is to simply return null.
* Subclasses of class Permission override the method if they need to store
* their permissions in a particular PermissionCollection object in order
* to provide the correct semantics when the
* {@code PermissionCollection.implies} method is called.
* If a non-null value is returned, that PermissionCollection must be used.
* If null is returned, then the caller of {@code newPermissionCollection}
* is free to store permissions of the
* given type in any PermissionCollection they choose
* (one that uses a Hashtable, one that uses a Vector, etc).
*
* <p>The PermissionCollection returned by the
* {@code Permission.newPermissionCollection}
* method is a homogeneous collection, which stores only Permission objects
* for a given Permission type. A PermissionCollection may also be
* heterogeneous. For example, Permissions is a PermissionCollection
* subclass that represents a collection of PermissionCollections.
* That is, its members are each a homogeneous PermissionCollection.
* For example, a Permissions object might have a FilePermissionCollection
* for all the FilePermission objects, a SocketPermissionCollection for all the
* SocketPermission objects, and so on. Its {@code add} method adds a
* permission to the appropriate collection.
*
* <p>Whenever a permission is added to a heterogeneous PermissionCollection
* such as Permissions, and the PermissionCollection doesn't yet contain a
* PermissionCollection of the specified permission's type, the
* PermissionCollection should call
* the {@code newPermissionCollection} method on the permission's class
* to see if it requires a special PermissionCollection. If
* {@code newPermissionCollection}
* returns null, the PermissionCollection
* is free to store the permission in any type of PermissionCollection it
* desires (one using a Hashtable, one using a Vector, etc.). For example,
* the Permissions object uses a default PermissionCollection implementation
* that stores the permission objects in a Hashtable.
*
* <p> Subclass implementations of PermissionCollection should assume
* that they may be called simultaneously from multiple threads,
* and therefore should be synchronized properly. Furthermore,
* Enumerations returned via the {@code elements} method are
* not <em>fail-fast</em>. Modifications to a collection should not be
* performed while enumerating over that collection.
*
* @see Permission
* @see Permissions
*
*
* @author Roland Schemers
*/
abstract class PermissionCollection {
private enum long serialVersionUID = -6727011328946861783L;
// when set, add will throw an exception.
private bool readOnly;
/**
* Adds a permission object to the current collection of permission objects.
*
* @param permission the Permission object to add.
*
* @exception SecurityException - if this PermissionCollection object
* has been marked readonly
* @exception IllegalArgumentException - if this PermissionCollection
* object is a homogeneous collection and the permission
* is not of the correct type.
*/
abstract void add(Permission permission);
/**
* Checks to see if the specified permission is implied by
* the collection of Permission objects held in this PermissionCollection.
*
* @param permission the Permission object to compare.
*
* @return true if "permission" is implied by the permissions in
* the collection, false if not.
*/
abstract bool implies(Permission permission);
/**
* Returns an enumeration of all the Permission objects in the collection.
*
* @return an enumeration of all the Permissions.
*/
abstract Enumeration!Permission elements();
/**
* Marks this PermissionCollection object as "readonly". After
* a PermissionCollection object
* is marked as readonly, no new Permission objects can be added to it
* using {@code add}.
*/
void setReadOnly() {
readOnly = true;
}
/**
* Returns true if this PermissionCollection object is marked as readonly.
* If it is readonly, no new Permission objects can be added to it
* using {@code add}.
*
* <p>By default, the object is <i>not</i> readonly. It can be set to
* readonly by a call to {@code setReadOnly}.
*
* @return true if this PermissionCollection object is marked as readonly,
* false otherwise.
*/
bool isReadOnly() {
return readOnly;
}
/**
* Returns a string describing this PermissionCollection object,
* providing information about all the permissions it contains.
* The format is:
* <pre>
* super.toString() (
* // enumerate all the Permission
* // objects and call toString() on them,
* // one per line..
* )</pre>
*
* {@code super.toString} is a call to the {@code toString}
* method of this
* object's superclass, which is Object. The result is
* this PermissionCollection's type name followed by this object's
* hashcode, thus enabling clients to differentiate different
* PermissionCollections object, even if they contain the same permissions.
*
* @return information about this PermissionCollection object,
* as described above.
*
*/
override
string toString() {
Enumeration!Permission enum_ = elements();
StringBuilder sb = new StringBuilder();
sb.append(super.toString() ~ " (\n");
while (enum_.hasMoreElements()) {
try {
sb.append(" ");
sb.append(enum_.nextElement().toString());
sb.append("\n");
} catch (NoSuchElementException e){
// ignore
}
}
sb.append(")\n");
return sb.toString();
}
}
|
D
|
/Users/bugsbunny/Desktop/Programming/Swift/Codepath/Parstagram/Build/Intermediates/Pods.build/Debug-iphonesimulator/Alamofire.build/Objects-normal/x86_64/CachedResponseHandler.o : /Users/bugsbunny/Desktop/Programming/Swift/Codepath/Parstagram/Pods/Alamofire/Source/MultipartFormData.swift /Users/bugsbunny/Desktop/Programming/Swift/Codepath/Parstagram/Pods/Alamofire/Source/MultipartUpload.swift /Users/bugsbunny/Desktop/Programming/Swift/Codepath/Parstagram/Pods/Alamofire/Source/AlamofireExtended.swift /Users/bugsbunny/Desktop/Programming/Swift/Codepath/Parstagram/Pods/Alamofire/Source/Protected.swift /Users/bugsbunny/Desktop/Programming/Swift/Codepath/Parstagram/Pods/Alamofire/Source/HTTPMethod.swift /Users/bugsbunny/Desktop/Programming/Swift/Codepath/Parstagram/Pods/Alamofire/Source/URLConvertible+URLRequestConvertible.swift /Users/bugsbunny/Desktop/Programming/Swift/Codepath/Parstagram/Pods/Alamofire/Source/Combine.swift /Users/bugsbunny/Desktop/Programming/Swift/Codepath/Parstagram/Pods/Alamofire/Source/DispatchQueue+Alamofire.swift /Users/bugsbunny/Desktop/Programming/Swift/Codepath/Parstagram/Pods/Alamofire/Source/OperationQueue+Alamofire.swift /Users/bugsbunny/Desktop/Programming/Swift/Codepath/Parstagram/Pods/Alamofire/Source/StringEncoding+Alamofire.swift /Users/bugsbunny/Desktop/Programming/Swift/Codepath/Parstagram/Pods/Alamofire/Source/URLSessionConfiguration+Alamofire.swift /Users/bugsbunny/Desktop/Programming/Swift/Codepath/Parstagram/Pods/Alamofire/Source/Result+Alamofire.swift /Users/bugsbunny/Desktop/Programming/Swift/Codepath/Parstagram/Pods/Alamofire/Source/URLRequest+Alamofire.swift /Users/bugsbunny/Desktop/Programming/Swift/Codepath/Parstagram/Pods/Alamofire/Source/Alamofire.swift /Users/bugsbunny/Desktop/Programming/Swift/Codepath/Parstagram/Pods/Alamofire/Source/Response.swift /Users/bugsbunny/Desktop/Programming/Swift/Codepath/Parstagram/Pods/Alamofire/Source/SessionDelegate.swift /Users/bugsbunny/Desktop/Programming/Swift/Codepath/Parstagram/Pods/Alamofire/Source/ParameterEncoding.swift /Users/bugsbunny/Desktop/Programming/Swift/Codepath/Parstagram/Pods/Alamofire/Source/Session.swift /Users/bugsbunny/Desktop/Programming/Swift/Codepath/Parstagram/Pods/Alamofire/Source/Validation.swift /Users/bugsbunny/Desktop/Programming/Swift/Codepath/Parstagram/Pods/Alamofire/Source/ServerTrustEvaluation.swift /Users/bugsbunny/Desktop/Programming/Swift/Codepath/Parstagram/Pods/Alamofire/Source/ResponseSerialization.swift /Users/bugsbunny/Desktop/Programming/Swift/Codepath/Parstagram/Pods/Alamofire/Source/RequestTaskMap.swift /Users/bugsbunny/Desktop/Programming/Swift/Codepath/Parstagram/Pods/Alamofire/Source/URLEncodedFormEncoder.swift /Users/bugsbunny/Desktop/Programming/Swift/Codepath/Parstagram/Pods/Alamofire/Source/ParameterEncoder.swift /Users/bugsbunny/Desktop/Programming/Swift/Codepath/Parstagram/Pods/Alamofire/Source/NetworkReachabilityManager.swift /Users/bugsbunny/Desktop/Programming/Swift/Codepath/Parstagram/Pods/Alamofire/Source/CachedResponseHandler.swift /Users/bugsbunny/Desktop/Programming/Swift/Codepath/Parstagram/Pods/Alamofire/Source/RedirectHandler.swift /Users/bugsbunny/Desktop/Programming/Swift/Codepath/Parstagram/Pods/Alamofire/Source/AFError.swift /Users/bugsbunny/Desktop/Programming/Swift/Codepath/Parstagram/Pods/Alamofire/Source/EventMonitor.swift /Users/bugsbunny/Desktop/Programming/Swift/Codepath/Parstagram/Pods/Alamofire/Source/AuthenticationInterceptor.swift /Users/bugsbunny/Desktop/Programming/Swift/Codepath/Parstagram/Pods/Alamofire/Source/RequestInterceptor.swift /Users/bugsbunny/Desktop/Programming/Swift/Codepath/Parstagram/Pods/Alamofire/Source/Notifications.swift /Users/bugsbunny/Desktop/Programming/Swift/Codepath/Parstagram/Pods/Alamofire/Source/HTTPHeaders.swift /Users/bugsbunny/Desktop/Programming/Swift/Codepath/Parstagram/Pods/Alamofire/Source/Request.swift /Users/bugsbunny/Desktop/Programming/Swift/Codepath/Parstagram/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/Swift.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/UIKit.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/SwiftOnoneSupport.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Users/bugsbunny/Desktop/Programming/Swift/Codepath/Parstagram/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/bugsbunny/Desktop/Programming/Swift/Codepath/Parstagram/Build/Intermediates/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/bugsbunny/Desktop/Programming/Swift/Codepath/Parstagram/Build/Intermediates/Pods.build/Debug-iphonesimulator/Alamofire.build/Objects-normal/x86_64/CachedResponseHandler~partial.swiftmodule : /Users/bugsbunny/Desktop/Programming/Swift/Codepath/Parstagram/Pods/Alamofire/Source/MultipartFormData.swift /Users/bugsbunny/Desktop/Programming/Swift/Codepath/Parstagram/Pods/Alamofire/Source/MultipartUpload.swift /Users/bugsbunny/Desktop/Programming/Swift/Codepath/Parstagram/Pods/Alamofire/Source/AlamofireExtended.swift /Users/bugsbunny/Desktop/Programming/Swift/Codepath/Parstagram/Pods/Alamofire/Source/Protected.swift /Users/bugsbunny/Desktop/Programming/Swift/Codepath/Parstagram/Pods/Alamofire/Source/HTTPMethod.swift /Users/bugsbunny/Desktop/Programming/Swift/Codepath/Parstagram/Pods/Alamofire/Source/URLConvertible+URLRequestConvertible.swift /Users/bugsbunny/Desktop/Programming/Swift/Codepath/Parstagram/Pods/Alamofire/Source/Combine.swift /Users/bugsbunny/Desktop/Programming/Swift/Codepath/Parstagram/Pods/Alamofire/Source/DispatchQueue+Alamofire.swift /Users/bugsbunny/Desktop/Programming/Swift/Codepath/Parstagram/Pods/Alamofire/Source/OperationQueue+Alamofire.swift /Users/bugsbunny/Desktop/Programming/Swift/Codepath/Parstagram/Pods/Alamofire/Source/StringEncoding+Alamofire.swift /Users/bugsbunny/Desktop/Programming/Swift/Codepath/Parstagram/Pods/Alamofire/Source/URLSessionConfiguration+Alamofire.swift /Users/bugsbunny/Desktop/Programming/Swift/Codepath/Parstagram/Pods/Alamofire/Source/Result+Alamofire.swift /Users/bugsbunny/Desktop/Programming/Swift/Codepath/Parstagram/Pods/Alamofire/Source/URLRequest+Alamofire.swift /Users/bugsbunny/Desktop/Programming/Swift/Codepath/Parstagram/Pods/Alamofire/Source/Alamofire.swift /Users/bugsbunny/Desktop/Programming/Swift/Codepath/Parstagram/Pods/Alamofire/Source/Response.swift /Users/bugsbunny/Desktop/Programming/Swift/Codepath/Parstagram/Pods/Alamofire/Source/SessionDelegate.swift /Users/bugsbunny/Desktop/Programming/Swift/Codepath/Parstagram/Pods/Alamofire/Source/ParameterEncoding.swift /Users/bugsbunny/Desktop/Programming/Swift/Codepath/Parstagram/Pods/Alamofire/Source/Session.swift /Users/bugsbunny/Desktop/Programming/Swift/Codepath/Parstagram/Pods/Alamofire/Source/Validation.swift /Users/bugsbunny/Desktop/Programming/Swift/Codepath/Parstagram/Pods/Alamofire/Source/ServerTrustEvaluation.swift /Users/bugsbunny/Desktop/Programming/Swift/Codepath/Parstagram/Pods/Alamofire/Source/ResponseSerialization.swift /Users/bugsbunny/Desktop/Programming/Swift/Codepath/Parstagram/Pods/Alamofire/Source/RequestTaskMap.swift /Users/bugsbunny/Desktop/Programming/Swift/Codepath/Parstagram/Pods/Alamofire/Source/URLEncodedFormEncoder.swift /Users/bugsbunny/Desktop/Programming/Swift/Codepath/Parstagram/Pods/Alamofire/Source/ParameterEncoder.swift /Users/bugsbunny/Desktop/Programming/Swift/Codepath/Parstagram/Pods/Alamofire/Source/NetworkReachabilityManager.swift /Users/bugsbunny/Desktop/Programming/Swift/Codepath/Parstagram/Pods/Alamofire/Source/CachedResponseHandler.swift /Users/bugsbunny/Desktop/Programming/Swift/Codepath/Parstagram/Pods/Alamofire/Source/RedirectHandler.swift /Users/bugsbunny/Desktop/Programming/Swift/Codepath/Parstagram/Pods/Alamofire/Source/AFError.swift /Users/bugsbunny/Desktop/Programming/Swift/Codepath/Parstagram/Pods/Alamofire/Source/EventMonitor.swift /Users/bugsbunny/Desktop/Programming/Swift/Codepath/Parstagram/Pods/Alamofire/Source/AuthenticationInterceptor.swift /Users/bugsbunny/Desktop/Programming/Swift/Codepath/Parstagram/Pods/Alamofire/Source/RequestInterceptor.swift /Users/bugsbunny/Desktop/Programming/Swift/Codepath/Parstagram/Pods/Alamofire/Source/Notifications.swift /Users/bugsbunny/Desktop/Programming/Swift/Codepath/Parstagram/Pods/Alamofire/Source/HTTPHeaders.swift /Users/bugsbunny/Desktop/Programming/Swift/Codepath/Parstagram/Pods/Alamofire/Source/Request.swift /Users/bugsbunny/Desktop/Programming/Swift/Codepath/Parstagram/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/Swift.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/UIKit.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/SwiftOnoneSupport.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Users/bugsbunny/Desktop/Programming/Swift/Codepath/Parstagram/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/bugsbunny/Desktop/Programming/Swift/Codepath/Parstagram/Build/Intermediates/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/bugsbunny/Desktop/Programming/Swift/Codepath/Parstagram/Build/Intermediates/Pods.build/Debug-iphonesimulator/Alamofire.build/Objects-normal/x86_64/CachedResponseHandler~partial.swiftdoc : /Users/bugsbunny/Desktop/Programming/Swift/Codepath/Parstagram/Pods/Alamofire/Source/MultipartFormData.swift /Users/bugsbunny/Desktop/Programming/Swift/Codepath/Parstagram/Pods/Alamofire/Source/MultipartUpload.swift /Users/bugsbunny/Desktop/Programming/Swift/Codepath/Parstagram/Pods/Alamofire/Source/AlamofireExtended.swift /Users/bugsbunny/Desktop/Programming/Swift/Codepath/Parstagram/Pods/Alamofire/Source/Protected.swift /Users/bugsbunny/Desktop/Programming/Swift/Codepath/Parstagram/Pods/Alamofire/Source/HTTPMethod.swift /Users/bugsbunny/Desktop/Programming/Swift/Codepath/Parstagram/Pods/Alamofire/Source/URLConvertible+URLRequestConvertible.swift /Users/bugsbunny/Desktop/Programming/Swift/Codepath/Parstagram/Pods/Alamofire/Source/Combine.swift /Users/bugsbunny/Desktop/Programming/Swift/Codepath/Parstagram/Pods/Alamofire/Source/DispatchQueue+Alamofire.swift /Users/bugsbunny/Desktop/Programming/Swift/Codepath/Parstagram/Pods/Alamofire/Source/OperationQueue+Alamofire.swift /Users/bugsbunny/Desktop/Programming/Swift/Codepath/Parstagram/Pods/Alamofire/Source/StringEncoding+Alamofire.swift /Users/bugsbunny/Desktop/Programming/Swift/Codepath/Parstagram/Pods/Alamofire/Source/URLSessionConfiguration+Alamofire.swift /Users/bugsbunny/Desktop/Programming/Swift/Codepath/Parstagram/Pods/Alamofire/Source/Result+Alamofire.swift /Users/bugsbunny/Desktop/Programming/Swift/Codepath/Parstagram/Pods/Alamofire/Source/URLRequest+Alamofire.swift /Users/bugsbunny/Desktop/Programming/Swift/Codepath/Parstagram/Pods/Alamofire/Source/Alamofire.swift /Users/bugsbunny/Desktop/Programming/Swift/Codepath/Parstagram/Pods/Alamofire/Source/Response.swift /Users/bugsbunny/Desktop/Programming/Swift/Codepath/Parstagram/Pods/Alamofire/Source/SessionDelegate.swift /Users/bugsbunny/Desktop/Programming/Swift/Codepath/Parstagram/Pods/Alamofire/Source/ParameterEncoding.swift /Users/bugsbunny/Desktop/Programming/Swift/Codepath/Parstagram/Pods/Alamofire/Source/Session.swift /Users/bugsbunny/Desktop/Programming/Swift/Codepath/Parstagram/Pods/Alamofire/Source/Validation.swift /Users/bugsbunny/Desktop/Programming/Swift/Codepath/Parstagram/Pods/Alamofire/Source/ServerTrustEvaluation.swift /Users/bugsbunny/Desktop/Programming/Swift/Codepath/Parstagram/Pods/Alamofire/Source/ResponseSerialization.swift /Users/bugsbunny/Desktop/Programming/Swift/Codepath/Parstagram/Pods/Alamofire/Source/RequestTaskMap.swift /Users/bugsbunny/Desktop/Programming/Swift/Codepath/Parstagram/Pods/Alamofire/Source/URLEncodedFormEncoder.swift /Users/bugsbunny/Desktop/Programming/Swift/Codepath/Parstagram/Pods/Alamofire/Source/ParameterEncoder.swift /Users/bugsbunny/Desktop/Programming/Swift/Codepath/Parstagram/Pods/Alamofire/Source/NetworkReachabilityManager.swift /Users/bugsbunny/Desktop/Programming/Swift/Codepath/Parstagram/Pods/Alamofire/Source/CachedResponseHandler.swift /Users/bugsbunny/Desktop/Programming/Swift/Codepath/Parstagram/Pods/Alamofire/Source/RedirectHandler.swift /Users/bugsbunny/Desktop/Programming/Swift/Codepath/Parstagram/Pods/Alamofire/Source/AFError.swift /Users/bugsbunny/Desktop/Programming/Swift/Codepath/Parstagram/Pods/Alamofire/Source/EventMonitor.swift /Users/bugsbunny/Desktop/Programming/Swift/Codepath/Parstagram/Pods/Alamofire/Source/AuthenticationInterceptor.swift /Users/bugsbunny/Desktop/Programming/Swift/Codepath/Parstagram/Pods/Alamofire/Source/RequestInterceptor.swift /Users/bugsbunny/Desktop/Programming/Swift/Codepath/Parstagram/Pods/Alamofire/Source/Notifications.swift /Users/bugsbunny/Desktop/Programming/Swift/Codepath/Parstagram/Pods/Alamofire/Source/HTTPHeaders.swift /Users/bugsbunny/Desktop/Programming/Swift/Codepath/Parstagram/Pods/Alamofire/Source/Request.swift /Users/bugsbunny/Desktop/Programming/Swift/Codepath/Parstagram/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/Swift.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/UIKit.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/SwiftOnoneSupport.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Users/bugsbunny/Desktop/Programming/Swift/Codepath/Parstagram/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/bugsbunny/Desktop/Programming/Swift/Codepath/Parstagram/Build/Intermediates/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/bugsbunny/Desktop/Programming/Swift/Codepath/Parstagram/Build/Intermediates/Pods.build/Debug-iphonesimulator/Alamofire.build/Objects-normal/x86_64/CachedResponseHandler~partial.swiftsourceinfo : /Users/bugsbunny/Desktop/Programming/Swift/Codepath/Parstagram/Pods/Alamofire/Source/MultipartFormData.swift /Users/bugsbunny/Desktop/Programming/Swift/Codepath/Parstagram/Pods/Alamofire/Source/MultipartUpload.swift /Users/bugsbunny/Desktop/Programming/Swift/Codepath/Parstagram/Pods/Alamofire/Source/AlamofireExtended.swift /Users/bugsbunny/Desktop/Programming/Swift/Codepath/Parstagram/Pods/Alamofire/Source/Protected.swift /Users/bugsbunny/Desktop/Programming/Swift/Codepath/Parstagram/Pods/Alamofire/Source/HTTPMethod.swift /Users/bugsbunny/Desktop/Programming/Swift/Codepath/Parstagram/Pods/Alamofire/Source/URLConvertible+URLRequestConvertible.swift /Users/bugsbunny/Desktop/Programming/Swift/Codepath/Parstagram/Pods/Alamofire/Source/Combine.swift /Users/bugsbunny/Desktop/Programming/Swift/Codepath/Parstagram/Pods/Alamofire/Source/DispatchQueue+Alamofire.swift /Users/bugsbunny/Desktop/Programming/Swift/Codepath/Parstagram/Pods/Alamofire/Source/OperationQueue+Alamofire.swift /Users/bugsbunny/Desktop/Programming/Swift/Codepath/Parstagram/Pods/Alamofire/Source/StringEncoding+Alamofire.swift /Users/bugsbunny/Desktop/Programming/Swift/Codepath/Parstagram/Pods/Alamofire/Source/URLSessionConfiguration+Alamofire.swift /Users/bugsbunny/Desktop/Programming/Swift/Codepath/Parstagram/Pods/Alamofire/Source/Result+Alamofire.swift /Users/bugsbunny/Desktop/Programming/Swift/Codepath/Parstagram/Pods/Alamofire/Source/URLRequest+Alamofire.swift /Users/bugsbunny/Desktop/Programming/Swift/Codepath/Parstagram/Pods/Alamofire/Source/Alamofire.swift /Users/bugsbunny/Desktop/Programming/Swift/Codepath/Parstagram/Pods/Alamofire/Source/Response.swift /Users/bugsbunny/Desktop/Programming/Swift/Codepath/Parstagram/Pods/Alamofire/Source/SessionDelegate.swift /Users/bugsbunny/Desktop/Programming/Swift/Codepath/Parstagram/Pods/Alamofire/Source/ParameterEncoding.swift /Users/bugsbunny/Desktop/Programming/Swift/Codepath/Parstagram/Pods/Alamofire/Source/Session.swift /Users/bugsbunny/Desktop/Programming/Swift/Codepath/Parstagram/Pods/Alamofire/Source/Validation.swift /Users/bugsbunny/Desktop/Programming/Swift/Codepath/Parstagram/Pods/Alamofire/Source/ServerTrustEvaluation.swift /Users/bugsbunny/Desktop/Programming/Swift/Codepath/Parstagram/Pods/Alamofire/Source/ResponseSerialization.swift /Users/bugsbunny/Desktop/Programming/Swift/Codepath/Parstagram/Pods/Alamofire/Source/RequestTaskMap.swift /Users/bugsbunny/Desktop/Programming/Swift/Codepath/Parstagram/Pods/Alamofire/Source/URLEncodedFormEncoder.swift /Users/bugsbunny/Desktop/Programming/Swift/Codepath/Parstagram/Pods/Alamofire/Source/ParameterEncoder.swift /Users/bugsbunny/Desktop/Programming/Swift/Codepath/Parstagram/Pods/Alamofire/Source/NetworkReachabilityManager.swift /Users/bugsbunny/Desktop/Programming/Swift/Codepath/Parstagram/Pods/Alamofire/Source/CachedResponseHandler.swift /Users/bugsbunny/Desktop/Programming/Swift/Codepath/Parstagram/Pods/Alamofire/Source/RedirectHandler.swift /Users/bugsbunny/Desktop/Programming/Swift/Codepath/Parstagram/Pods/Alamofire/Source/AFError.swift /Users/bugsbunny/Desktop/Programming/Swift/Codepath/Parstagram/Pods/Alamofire/Source/EventMonitor.swift /Users/bugsbunny/Desktop/Programming/Swift/Codepath/Parstagram/Pods/Alamofire/Source/AuthenticationInterceptor.swift /Users/bugsbunny/Desktop/Programming/Swift/Codepath/Parstagram/Pods/Alamofire/Source/RequestInterceptor.swift /Users/bugsbunny/Desktop/Programming/Swift/Codepath/Parstagram/Pods/Alamofire/Source/Notifications.swift /Users/bugsbunny/Desktop/Programming/Swift/Codepath/Parstagram/Pods/Alamofire/Source/HTTPHeaders.swift /Users/bugsbunny/Desktop/Programming/Swift/Codepath/Parstagram/Pods/Alamofire/Source/Request.swift /Users/bugsbunny/Desktop/Programming/Swift/Codepath/Parstagram/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/Swift.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/UIKit.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/SwiftOnoneSupport.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Users/bugsbunny/Desktop/Programming/Swift/Codepath/Parstagram/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/bugsbunny/Desktop/Programming/Swift/Codepath/Parstagram/Build/Intermediates/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
|
/**
* This module contains a collection of bit-level operations.
*
* Copyright: Copyright Don Clugston 2005 - 2009.
* License: <a href="http://www.boost.org/LICENSE_1_0.txt>Boost License 1.0</a>.
* Authors: Don Clugston, Sean Kelly, Walter Bright
*
* Copyright Don Clugston 2005 - 2009.
* 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 rt.core.bitop;
version( D_Ddoc )
{
/**
* Scans the bits in v starting with bit 0, looking
* for the first set bit.
* Возвращает:
* The bit number of the first bit set.
* The return value is undefined if v is zero.
*/
int bsf( uint v );
/**
* Scans the bits in v from the most significant bit
* to the least significant bit, looking
* for the first set bit.
* Возвращает:
* The bit number of the first bit set.
* The return value is undefined if v is zero.
* Example:
* ---
* import rt.core.bitop;
*
* int main()
* {
* uint v;
* int x;
*
* v = 0x21;
* x = bsf(v);
* printf("bsf(x%x) = %d\n", v, x);
* x = bsr(v);
* printf("bsr(x%x) = %d\n", v, x);
* return 0;
* }
* ---
* Output:
* bsf(x21) = 0<br>
* bsr(x21) = 5
*/
int bsr( uint v );
/**
* Tests the bit.
*/
int bt( uint* p, uint bitnum );
/**
* Tests and complements the bit.
*/
int btc( uint* p, uint bitnum );
/**
* Tests and resets (sets to 0) the bit.
*/
int btr( uint* p, uint bitnum );
/**
* Tests and sets the bit.
* Параметры:
* p = a non-NULL pointer to an array of uints.
* index = a bit number, starting with bit 0 of p[0],
* and progressing. It addresses bits like the expression:
---
p[index / (uint.sizeof*8)] & (1 << (index & ((uint.sizeof*8) - 1)))
---
* Возвращает:
* A non-zero value if the bit was set, and a zero
* if it was clear.
*
* Example:
* ---
import rt.core.bitop;
int main()
{
uint array[2];
array[0] = 2;
array[1] = 0x100;
printf("btc(array, 35) = %d\n", <b>btc</b>(array, 35));
printf("array = [0]:x%x, [1]:x%x\n", array[0], array[1]);
printf("btc(array, 35) = %d\n", <b>btc</b>(array, 35));
printf("array = [0]:x%x, [1]:x%x\n", array[0], array[1]);
printf("bts(array, 35) = %d\n", <b>bts</b>(array, 35));
printf("array = [0]:x%x, [1]:x%x\n", array[0], array[1]);
printf("btr(array, 35) = %d\n", <b>btr</b>(array, 35));
printf("array = [0]:x%x, [1]:x%x\n", array[0], array[1]);
printf("bt(array, 1) = %d\n", <b>bt</b>(array, 1));
printf("array = [0]:x%x, [1]:x%x\n", array[0], array[1]);
return 0;
}
* ---
* Output:
<pre>
btc(array, 35) = 0
array = [0]:x2, [1]:x108
btc(array, 35) = -1
array = [0]:x2, [1]:x100
bts(array, 35) = 0
array = [0]:x2, [1]:x108
btr(array, 35) = -1
array = [0]:x2, [1]:x100
bt(array, 1) = -1
array = [0]:x2, [1]:x100
</pre>
*/
int bts( uint* p, uint bitnum );
/**
* Swaps bytes in a 4 byte uint end-to-end, i.e. byte 0 becomes
* byte 3, byte 1 becomes byte 2, byte 2 becomes byte 1, byte 3
* becomes byte 0.
*/
uint bswap( uint v );
/**
* Reads I/O port at port_address.
*/
ubyte inp( uint port_address );
/**
* ditto
*/
ushort inpw( uint port_address );
/**
* ditto
*/
uint inpl( uint port_address );
/**
* Writes and returns value to I/O port at port_address.
*/
ubyte outp( uint port_address, ubyte value );
/**
* ditto
*/
ushort outpw( uint port_address, ushort value );
/**
* ditto
*/
uint outpl( uint port_address, uint value );
}
else
{
public import std.intrinsic;
}
/**
* Calculates the number of set bits in a 32-bit integer.
*/
int popcnt( uint x )
{
// Avoid branches, and the potential for cache misses which
// could be incurred with a table lookup.
// We need to mask alternate bits to prevent the
// sum from overflowing.
// add neighbouring bits. Each bit is 0 or 1.
x = x - ((x>>1) & 0x5555_5555);
// now each two bits of x is a number 00,01 or 10.
// now add neighbouring pairs
x = ((x&0xCCCC_CCCC)>>2) + (x&0x3333_3333);
// now each nibble holds 0000-0100. Adding them won't
// overflow any more, so we don't need to mask any more
// Now add the nibbles, then the bytes, then the words
// We still need to mask to prevent double-counting.
// Note that if we used a rotate instead of a shift, we
// wouldn't need the masks, and could just divide the sum
// by 8 to account for the double-counting.
// On some CPUs, it may be faster to perform a multiply.
x += (x>>4);
x &= 0x0F0F_0F0F;
x += (x>>8);
x &= 0x00FF_00FF;
x += (x>>16);
x &= 0xFFFF;
return x;
}
debug( UnitTest )
{
unittest
{
assert( popcnt( 0 ) == 0 );
assert( popcnt( 7 ) == 3 );
assert( popcnt( 0xAA )== 4 );
assert( popcnt( 0x8421_1248 ) == 8 );
assert( popcnt( 0xFFFF_FFFF ) == 32 );
assert( popcnt( 0xCCCC_CCCC ) == 16 );
assert( popcnt( 0x7777_7777 ) == 24 );
}
}
/**
* Reverses the order of bits in a 32-bit integer.
*/
uint bitswap( uint x )
{
version( D_InlineAsm_X86 )
{
asm
{
// Author: Tiago Gasiba.
mov EDX, EAX;
shr EAX, 1;
and EDX, 0x5555_5555;
and EAX, 0x5555_5555;
shl EDX, 1;
or EAX, EDX;
mov EDX, EAX;
shr EAX, 2;
and EDX, 0x3333_3333;
and EAX, 0x3333_3333;
shl EDX, 2;
or EAX, EDX;
mov EDX, EAX;
shr EAX, 4;
and EDX, 0x0f0f_0f0f;
and EAX, 0x0f0f_0f0f;
shl EDX, 4;
or EAX, EDX;
bswap EAX;
}
}
else
{
// swap odd and even bits
x = ((x >> 1) & 0x5555_5555) | ((x & 0x5555_5555) << 1);
// swap consecutive pairs
x = ((x >> 2) & 0x3333_3333) | ((x & 0x3333_3333) << 2);
// swap nibbles
x = ((x >> 4) & 0x0F0F_0F0F) | ((x & 0x0F0F_0F0F) << 4);
// swap bytes
x = ((x >> 8) & 0x00FF_00FF) | ((x & 0x00FF_00FF) << 8);
// swap 2-byte long pairs
x = ( x >> 16 ) | ( x << 16);
return x;
}
}
debug( UnitTest )
{
unittest
{
assert( bitswap( 0x8000_0100 ) == 0x0080_0001 );
}
}
|
D
|
/Users/Avinash/Documents/Code/CodeCollab/CodeCollab/DerivedData/CodeCollab/Build/Intermediates/CodeCollab.build/Debug-iphonesimulator/CodeCollab.build/Objects-normal/x86_64/ViewController.o : /Users/Avinash/Documents/Code/CodeCollab/CodeCollab/CodeCollab/LoginViewController.swift /Users/Avinash/Documents/Code/CodeCollab/CodeCollab/CodeCollab/SignUpViewController.swift /Users/Avinash/Documents/Code/CodeCollab/CodeCollab/CodeCollab/HackCardTableViewCell.swift /Users/Avinash/Documents/Code/CodeCollab/CodeCollab/CodeCollab/HackathonViewController.swift /Users/Avinash/Documents/Code/CodeCollab/CodeCollab/CodeCollab/HackLeftTableViewCell.swift /Users/Avinash/Documents/Code/CodeCollab/CodeCollab/CodeCollab/IdeaCardTableViewCell.swift /Users/Avinash/Documents/Code/CodeCollab/CodeCollab/CodeCollab/DetailedHackathonViewController.swift /Users/Avinash/Documents/Code/CodeCollab/CodeCollab/CodeCollab/ViewController.swift /Users/Avinash/Documents/Code/CodeCollab/CodeCollab/CodeCollab/AppDelegate.swift /Users/Avinash/Documents/Code/CodeCollab/CodeCollab/CodeCollab/LoadingViewController.swift /Users/Avinash/Documents/Code/CodeCollab/CodeCollab/CodeCollab/ChatViewController.swift /Users/Avinash/Documents/Code/CodeCollab/CodeCollab/CodeCollab/Classes.swift /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/Foundation.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Darwin.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Dispatch.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/ObjectiveC.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreGraphics.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreImage.swiftmodule /Users/Avinash/Documents/Code/CodeCollab/CodeCollab/DerivedData/CodeCollab/Build/Products/Debug-iphonesimulator/Firebase.framework/Headers/FirebaseServerValue.h /Users/Avinash/Documents/Code/CodeCollab/CodeCollab/DerivedData/CodeCollab/Build/Products/Debug-iphonesimulator/Firebase.framework/Headers/FTransactionResult.h /Users/Avinash/Documents/Code/CodeCollab/CodeCollab/DerivedData/CodeCollab/Build/Products/Debug-iphonesimulator/Firebase.framework/Headers/FMutableData.h /Users/Avinash/Documents/Code/CodeCollab/CodeCollab/DerivedData/CodeCollab/Build/Products/Debug-iphonesimulator/Firebase.framework/Headers/FirebaseApp.h /Users/Avinash/Documents/Code/CodeCollab/CodeCollab/DerivedData/CodeCollab/Build/Products/Debug-iphonesimulator/Firebase.framework/Headers/FQuery.h /Users/Avinash/Documents/Code/CodeCollab/CodeCollab/DerivedData/CodeCollab/Build/Products/Debug-iphonesimulator/Firebase.framework/Headers/Firebase.h /Users/Avinash/Documents/Code/CodeCollab/CodeCollab/DerivedData/CodeCollab/Build/Products/Debug-iphonesimulator/Firebase.framework/Headers/FEventType.h /Users/Avinash/Documents/Code/CodeCollab/CodeCollab/DerivedData/CodeCollab/Build/Products/Debug-iphonesimulator/Firebase.framework/Headers/FDataSnapshot.h /Users/Avinash/Documents/Code/CodeCollab/CodeCollab/DerivedData/CodeCollab/Build/Products/Debug-iphonesimulator/Firebase.framework/Headers/FConfig.h /Users/Avinash/Documents/Code/CodeCollab/CodeCollab/DerivedData/CodeCollab/Build/Products/Debug-iphonesimulator/Firebase.framework/Headers/FAuthType.h /Users/Avinash/Documents/Code/CodeCollab/CodeCollab/DerivedData/CodeCollab/Build/Products/Debug-iphonesimulator/Firebase.framework/Headers/FAuthData.h /Users/Avinash/Documents/Code/CodeCollab/CodeCollab/DerivedData/CodeCollab/Build/Products/Debug-iphonesimulator/Firebase.framework/Headers/Firebase-umbrella.h /Users/Avinash/Documents/Code/CodeCollab/CodeCollab/DerivedData/CodeCollab/Build/Products/Debug-iphonesimulator/Firebase.framework/Modules/module.modulemap /Users/Avinash/Documents/Code/CodeCollab/CodeCollab/DerivedData/CodeCollab/Build/Products/Debug-iphonesimulator/Bolts.framework/Headers/Bolts.h /Users/Avinash/Documents/Code/CodeCollab/CodeCollab/DerivedData/CodeCollab/Build/Products/Debug-iphonesimulator/Bolts.framework/Headers/BFTaskCompletionSource.h /Users/Avinash/Documents/Code/CodeCollab/CodeCollab/DerivedData/CodeCollab/Build/Products/Debug-iphonesimulator/Bolts.framework/Headers/BFTask.h /Users/Avinash/Documents/Code/CodeCollab/CodeCollab/DerivedData/CodeCollab/Build/Products/Debug-iphonesimulator/Bolts.framework/Headers/BFExecutor.h /Users/Avinash/Documents/Code/CodeCollab/CodeCollab/DerivedData/CodeCollab/Build/Products/Debug-iphonesimulator/Bolts.framework/Headers/BFCancellationTokenSource.h /Users/Avinash/Documents/Code/CodeCollab/CodeCollab/DerivedData/CodeCollab/Build/Products/Debug-iphonesimulator/Bolts.framework/Headers/BFCancellationTokenRegistration.h /Users/Avinash/Documents/Code/CodeCollab/CodeCollab/DerivedData/CodeCollab/Build/Products/Debug-iphonesimulator/Bolts.framework/Headers/BFCancellationToken.h /Users/Avinash/Documents/Code/CodeCollab/CodeCollab/DerivedData/CodeCollab/Build/Products/Debug-iphonesimulator/Bolts.framework/Headers/BFWebViewAppLinkResolver.h /Users/Avinash/Documents/Code/CodeCollab/CodeCollab/DerivedData/CodeCollab/Build/Products/Debug-iphonesimulator/Bolts.framework/Headers/BFURL_Internal.h /Users/Avinash/Documents/Code/CodeCollab/CodeCollab/DerivedData/CodeCollab/Build/Products/Debug-iphonesimulator/Bolts.framework/Headers/BFURL.h /Users/Avinash/Documents/Code/CodeCollab/CodeCollab/DerivedData/CodeCollab/Build/Products/Debug-iphonesimulator/Bolts.framework/Headers/BFMeasurementEvent_Internal.h /Users/Avinash/Documents/Code/CodeCollab/CodeCollab/DerivedData/CodeCollab/Build/Products/Debug-iphonesimulator/Bolts.framework/Headers/BFMeasurementEvent.h /Users/Avinash/Documents/Code/CodeCollab/CodeCollab/DerivedData/CodeCollab/Build/Products/Debug-iphonesimulator/Bolts.framework/Headers/BFAppLinkTarget.h /Users/Avinash/Documents/Code/CodeCollab/CodeCollab/DerivedData/CodeCollab/Build/Products/Debug-iphonesimulator/Bolts.framework/Headers/BFAppLinkReturnToRefererView_Internal.h /Users/Avinash/Documents/Code/CodeCollab/CodeCollab/DerivedData/CodeCollab/Build/Products/Debug-iphonesimulator/Bolts.framework/Headers/BFAppLinkReturnToRefererView.h /Users/Avinash/Documents/Code/CodeCollab/CodeCollab/DerivedData/CodeCollab/Build/Products/Debug-iphonesimulator/Bolts.framework/Headers/BFAppLinkReturnToRefererController.h /Users/Avinash/Documents/Code/CodeCollab/CodeCollab/DerivedData/CodeCollab/Build/Products/Debug-iphonesimulator/Bolts.framework/Headers/BFAppLinkResolving.h /Users/Avinash/Documents/Code/CodeCollab/CodeCollab/DerivedData/CodeCollab/Build/Products/Debug-iphonesimulator/Bolts.framework/Headers/BFAppLinkNavigation.h /Users/Avinash/Documents/Code/CodeCollab/CodeCollab/DerivedData/CodeCollab/Build/Products/Debug-iphonesimulator/Bolts.framework/Headers/BFAppLink_Internal.h /Users/Avinash/Documents/Code/CodeCollab/CodeCollab/DerivedData/CodeCollab/Build/Products/Debug-iphonesimulator/Bolts.framework/Headers/BFAppLink.h /Users/Avinash/Documents/Code/CodeCollab/CodeCollab/DerivedData/CodeCollab/Build/Products/Debug-iphonesimulator/Bolts.framework/Headers/Bolts-umbrella.h /Users/Avinash/Documents/Code/CodeCollab/CodeCollab/DerivedData/CodeCollab/Build/Products/Debug-iphonesimulator/Bolts.framework/Modules/module.modulemap /Users/Avinash/Documents/Code/CodeCollab/CodeCollab/DerivedData/CodeCollab/Build/Products/Debug-iphonesimulator/FBSDKCoreKit.framework/Headers/FBSDKProfilePictureView.h /Users/Avinash/Documents/Code/CodeCollab/CodeCollab/DerivedData/CodeCollab/Build/Products/Debug-iphonesimulator/FBSDKCoreKit.framework/Headers/FBSDKProfile.h /Users/Avinash/Documents/Code/CodeCollab/CodeCollab/DerivedData/CodeCollab/Build/Products/Debug-iphonesimulator/FBSDKCoreKit.framework/Headers/FBSDKMutableCopying.h /Users/Avinash/Documents/Code/CodeCollab/CodeCollab/DerivedData/CodeCollab/Build/Products/Debug-iphonesimulator/FBSDKCoreKit.framework/Headers/FBSDKGraphErrorRecoveryProcessor.h /Users/Avinash/Documents/Code/CodeCollab/CodeCollab/DerivedData/CodeCollab/Build/Products/Debug-iphonesimulator/FBSDKCoreKit.framework/Headers/FBSDKUtility.h /Users/Avinash/Documents/Code/CodeCollab/CodeCollab/DerivedData/CodeCollab/Build/Products/Debug-iphonesimulator/FBSDKCoreKit.framework/Headers/FBSDKTestUsersManager.h /Users/Avinash/Documents/Code/CodeCollab/CodeCollab/DerivedData/CodeCollab/Build/Products/Debug-iphonesimulator/FBSDKCoreKit.framework/Headers/FBSDKSettings.h /Users/Avinash/Documents/Code/CodeCollab/CodeCollab/DerivedData/CodeCollab/Build/Products/Debug-iphonesimulator/FBSDKCoreKit.framework/Headers/FBSDKGraphRequestDataAttachment.h /Users/Avinash/Documents/Code/CodeCollab/CodeCollab/DerivedData/CodeCollab/Build/Products/Debug-iphonesimulator/FBSDKCoreKit.framework/Headers/FBSDKGraphRequest.h /Users/Avinash/Documents/Code/CodeCollab/CodeCollab/DerivedData/CodeCollab/Build/Products/Debug-iphonesimulator/FBSDKCoreKit.framework/Headers/FBSDKCoreKit.h /Users/Avinash/Documents/Code/CodeCollab/CodeCollab/DerivedData/CodeCollab/Build/Products/Debug-iphonesimulator/FBSDKCoreKit.framework/Headers/FBSDKConstants.h /Users/Avinash/Documents/Code/CodeCollab/CodeCollab/DerivedData/CodeCollab/Build/Products/Debug-iphonesimulator/FBSDKCoreKit.framework/Headers/FBSDKButton.h /Users/Avinash/Documents/Code/CodeCollab/CodeCollab/DerivedData/CodeCollab/Build/Products/Debug-iphonesimulator/FBSDKCoreKit.framework/Headers/FBSDKAppLinkUtility.h /Users/Avinash/Documents/Code/CodeCollab/CodeCollab/DerivedData/CodeCollab/Build/Products/Debug-iphonesimulator/FBSDKCoreKit.framework/Headers/FBSDKAppLinkResolver.h /Users/Avinash/Documents/Code/CodeCollab/CodeCollab/DerivedData/CodeCollab/Build/Products/Debug-iphonesimulator/FBSDKCoreKit.framework/Headers/FBSDKApplicationDelegate.h /Users/Avinash/Documents/Code/CodeCollab/CodeCollab/DerivedData/CodeCollab/Build/Products/Debug-iphonesimulator/FBSDKCoreKit.framework/Headers/FBSDKAppEvents.h /Users/Avinash/Documents/Code/CodeCollab/CodeCollab/DerivedData/CodeCollab/Build/Products/Debug-iphonesimulator/FBSDKCoreKit.framework/Headers/FBSDKMacros.h /Users/Avinash/Documents/Code/CodeCollab/CodeCollab/DerivedData/CodeCollab/Build/Products/Debug-iphonesimulator/FBSDKCoreKit.framework/Headers/FBSDKGraphRequestConnection.h /Users/Avinash/Documents/Code/CodeCollab/CodeCollab/DerivedData/CodeCollab/Build/Products/Debug-iphonesimulator/FBSDKCoreKit.framework/Headers/FBSDKCopying.h /Users/Avinash/Documents/Code/CodeCollab/CodeCollab/DerivedData/CodeCollab/Build/Products/Debug-iphonesimulator/FBSDKCoreKit.framework/Headers/FBSDKAccessToken.h /Users/Avinash/Documents/Code/CodeCollab/CodeCollab/DerivedData/CodeCollab/Build/Products/Debug-iphonesimulator/FBSDKCoreKit.framework/Headers/FBSDKCoreKit-umbrella.h /Users/Avinash/Documents/Code/CodeCollab/CodeCollab/DerivedData/CodeCollab/Build/Products/Debug-iphonesimulator/FBSDKCoreKit.framework/Modules/module.modulemap /Users/Avinash/Documents/Code/CodeCollab/CodeCollab/DerivedData/CodeCollab/Build/Products/Debug-iphonesimulator/FBSDKLoginKit.framework/Headers/FBSDKLoginTooltipView.h /Users/Avinash/Documents/Code/CodeCollab/CodeCollab/DerivedData/CodeCollab/Build/Products/Debug-iphonesimulator/FBSDKLoginKit.framework/Headers/FBSDKLoginManagerLoginResult.h /Users/Avinash/Documents/Code/CodeCollab/CodeCollab/DerivedData/CodeCollab/Build/Products/Debug-iphonesimulator/FBSDKLoginKit.framework/Headers/FBSDKLoginKit.h /Users/Avinash/Documents/Code/CodeCollab/CodeCollab/DerivedData/CodeCollab/Build/Products/Debug-iphonesimulator/FBSDKLoginKit.framework/Headers/FBSDKLoginConstants.h /Users/Avinash/Documents/Code/CodeCollab/CodeCollab/DerivedData/CodeCollab/Build/Products/Debug-iphonesimulator/FBSDKLoginKit.framework/Headers/FBSDKTooltipView.h /Users/Avinash/Documents/Code/CodeCollab/CodeCollab/DerivedData/CodeCollab/Build/Products/Debug-iphonesimulator/FBSDKLoginKit.framework/Headers/FBSDKLoginManager.h /Users/Avinash/Documents/Code/CodeCollab/CodeCollab/DerivedData/CodeCollab/Build/Products/Debug-iphonesimulator/FBSDKLoginKit.framework/Headers/FBSDKLoginButton.h /Users/Avinash/Documents/Code/CodeCollab/CodeCollab/DerivedData/CodeCollab/Build/Products/Debug-iphonesimulator/FBSDKLoginKit.framework/Headers/FBSDKLoginKit-umbrella.h /Users/Avinash/Documents/Code/CodeCollab/CodeCollab/DerivedData/CodeCollab/Build/Products/Debug-iphonesimulator/FBSDKLoginKit.framework/Modules/module.modulemap /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreLocation.swiftmodule
/Users/Avinash/Documents/Code/CodeCollab/CodeCollab/DerivedData/CodeCollab/Build/Intermediates/CodeCollab.build/Debug-iphonesimulator/CodeCollab.build/Objects-normal/x86_64/ViewController~partial.swiftmodule : /Users/Avinash/Documents/Code/CodeCollab/CodeCollab/CodeCollab/LoginViewController.swift /Users/Avinash/Documents/Code/CodeCollab/CodeCollab/CodeCollab/SignUpViewController.swift /Users/Avinash/Documents/Code/CodeCollab/CodeCollab/CodeCollab/HackCardTableViewCell.swift /Users/Avinash/Documents/Code/CodeCollab/CodeCollab/CodeCollab/HackathonViewController.swift /Users/Avinash/Documents/Code/CodeCollab/CodeCollab/CodeCollab/HackLeftTableViewCell.swift /Users/Avinash/Documents/Code/CodeCollab/CodeCollab/CodeCollab/IdeaCardTableViewCell.swift /Users/Avinash/Documents/Code/CodeCollab/CodeCollab/CodeCollab/DetailedHackathonViewController.swift /Users/Avinash/Documents/Code/CodeCollab/CodeCollab/CodeCollab/ViewController.swift /Users/Avinash/Documents/Code/CodeCollab/CodeCollab/CodeCollab/AppDelegate.swift /Users/Avinash/Documents/Code/CodeCollab/CodeCollab/CodeCollab/LoadingViewController.swift /Users/Avinash/Documents/Code/CodeCollab/CodeCollab/CodeCollab/ChatViewController.swift /Users/Avinash/Documents/Code/CodeCollab/CodeCollab/CodeCollab/Classes.swift /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/Foundation.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Darwin.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Dispatch.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/ObjectiveC.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreGraphics.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreImage.swiftmodule /Users/Avinash/Documents/Code/CodeCollab/CodeCollab/DerivedData/CodeCollab/Build/Products/Debug-iphonesimulator/Firebase.framework/Headers/FirebaseServerValue.h /Users/Avinash/Documents/Code/CodeCollab/CodeCollab/DerivedData/CodeCollab/Build/Products/Debug-iphonesimulator/Firebase.framework/Headers/FTransactionResult.h /Users/Avinash/Documents/Code/CodeCollab/CodeCollab/DerivedData/CodeCollab/Build/Products/Debug-iphonesimulator/Firebase.framework/Headers/FMutableData.h /Users/Avinash/Documents/Code/CodeCollab/CodeCollab/DerivedData/CodeCollab/Build/Products/Debug-iphonesimulator/Firebase.framework/Headers/FirebaseApp.h /Users/Avinash/Documents/Code/CodeCollab/CodeCollab/DerivedData/CodeCollab/Build/Products/Debug-iphonesimulator/Firebase.framework/Headers/FQuery.h /Users/Avinash/Documents/Code/CodeCollab/CodeCollab/DerivedData/CodeCollab/Build/Products/Debug-iphonesimulator/Firebase.framework/Headers/Firebase.h /Users/Avinash/Documents/Code/CodeCollab/CodeCollab/DerivedData/CodeCollab/Build/Products/Debug-iphonesimulator/Firebase.framework/Headers/FEventType.h /Users/Avinash/Documents/Code/CodeCollab/CodeCollab/DerivedData/CodeCollab/Build/Products/Debug-iphonesimulator/Firebase.framework/Headers/FDataSnapshot.h /Users/Avinash/Documents/Code/CodeCollab/CodeCollab/DerivedData/CodeCollab/Build/Products/Debug-iphonesimulator/Firebase.framework/Headers/FConfig.h /Users/Avinash/Documents/Code/CodeCollab/CodeCollab/DerivedData/CodeCollab/Build/Products/Debug-iphonesimulator/Firebase.framework/Headers/FAuthType.h /Users/Avinash/Documents/Code/CodeCollab/CodeCollab/DerivedData/CodeCollab/Build/Products/Debug-iphonesimulator/Firebase.framework/Headers/FAuthData.h /Users/Avinash/Documents/Code/CodeCollab/CodeCollab/DerivedData/CodeCollab/Build/Products/Debug-iphonesimulator/Firebase.framework/Headers/Firebase-umbrella.h /Users/Avinash/Documents/Code/CodeCollab/CodeCollab/DerivedData/CodeCollab/Build/Products/Debug-iphonesimulator/Firebase.framework/Modules/module.modulemap /Users/Avinash/Documents/Code/CodeCollab/CodeCollab/DerivedData/CodeCollab/Build/Products/Debug-iphonesimulator/Bolts.framework/Headers/Bolts.h /Users/Avinash/Documents/Code/CodeCollab/CodeCollab/DerivedData/CodeCollab/Build/Products/Debug-iphonesimulator/Bolts.framework/Headers/BFTaskCompletionSource.h /Users/Avinash/Documents/Code/CodeCollab/CodeCollab/DerivedData/CodeCollab/Build/Products/Debug-iphonesimulator/Bolts.framework/Headers/BFTask.h /Users/Avinash/Documents/Code/CodeCollab/CodeCollab/DerivedData/CodeCollab/Build/Products/Debug-iphonesimulator/Bolts.framework/Headers/BFExecutor.h /Users/Avinash/Documents/Code/CodeCollab/CodeCollab/DerivedData/CodeCollab/Build/Products/Debug-iphonesimulator/Bolts.framework/Headers/BFCancellationTokenSource.h /Users/Avinash/Documents/Code/CodeCollab/CodeCollab/DerivedData/CodeCollab/Build/Products/Debug-iphonesimulator/Bolts.framework/Headers/BFCancellationTokenRegistration.h /Users/Avinash/Documents/Code/CodeCollab/CodeCollab/DerivedData/CodeCollab/Build/Products/Debug-iphonesimulator/Bolts.framework/Headers/BFCancellationToken.h /Users/Avinash/Documents/Code/CodeCollab/CodeCollab/DerivedData/CodeCollab/Build/Products/Debug-iphonesimulator/Bolts.framework/Headers/BFWebViewAppLinkResolver.h /Users/Avinash/Documents/Code/CodeCollab/CodeCollab/DerivedData/CodeCollab/Build/Products/Debug-iphonesimulator/Bolts.framework/Headers/BFURL_Internal.h /Users/Avinash/Documents/Code/CodeCollab/CodeCollab/DerivedData/CodeCollab/Build/Products/Debug-iphonesimulator/Bolts.framework/Headers/BFURL.h /Users/Avinash/Documents/Code/CodeCollab/CodeCollab/DerivedData/CodeCollab/Build/Products/Debug-iphonesimulator/Bolts.framework/Headers/BFMeasurementEvent_Internal.h /Users/Avinash/Documents/Code/CodeCollab/CodeCollab/DerivedData/CodeCollab/Build/Products/Debug-iphonesimulator/Bolts.framework/Headers/BFMeasurementEvent.h /Users/Avinash/Documents/Code/CodeCollab/CodeCollab/DerivedData/CodeCollab/Build/Products/Debug-iphonesimulator/Bolts.framework/Headers/BFAppLinkTarget.h /Users/Avinash/Documents/Code/CodeCollab/CodeCollab/DerivedData/CodeCollab/Build/Products/Debug-iphonesimulator/Bolts.framework/Headers/BFAppLinkReturnToRefererView_Internal.h /Users/Avinash/Documents/Code/CodeCollab/CodeCollab/DerivedData/CodeCollab/Build/Products/Debug-iphonesimulator/Bolts.framework/Headers/BFAppLinkReturnToRefererView.h /Users/Avinash/Documents/Code/CodeCollab/CodeCollab/DerivedData/CodeCollab/Build/Products/Debug-iphonesimulator/Bolts.framework/Headers/BFAppLinkReturnToRefererController.h /Users/Avinash/Documents/Code/CodeCollab/CodeCollab/DerivedData/CodeCollab/Build/Products/Debug-iphonesimulator/Bolts.framework/Headers/BFAppLinkResolving.h /Users/Avinash/Documents/Code/CodeCollab/CodeCollab/DerivedData/CodeCollab/Build/Products/Debug-iphonesimulator/Bolts.framework/Headers/BFAppLinkNavigation.h /Users/Avinash/Documents/Code/CodeCollab/CodeCollab/DerivedData/CodeCollab/Build/Products/Debug-iphonesimulator/Bolts.framework/Headers/BFAppLink_Internal.h /Users/Avinash/Documents/Code/CodeCollab/CodeCollab/DerivedData/CodeCollab/Build/Products/Debug-iphonesimulator/Bolts.framework/Headers/BFAppLink.h /Users/Avinash/Documents/Code/CodeCollab/CodeCollab/DerivedData/CodeCollab/Build/Products/Debug-iphonesimulator/Bolts.framework/Headers/Bolts-umbrella.h /Users/Avinash/Documents/Code/CodeCollab/CodeCollab/DerivedData/CodeCollab/Build/Products/Debug-iphonesimulator/Bolts.framework/Modules/module.modulemap /Users/Avinash/Documents/Code/CodeCollab/CodeCollab/DerivedData/CodeCollab/Build/Products/Debug-iphonesimulator/FBSDKCoreKit.framework/Headers/FBSDKProfilePictureView.h /Users/Avinash/Documents/Code/CodeCollab/CodeCollab/DerivedData/CodeCollab/Build/Products/Debug-iphonesimulator/FBSDKCoreKit.framework/Headers/FBSDKProfile.h /Users/Avinash/Documents/Code/CodeCollab/CodeCollab/DerivedData/CodeCollab/Build/Products/Debug-iphonesimulator/FBSDKCoreKit.framework/Headers/FBSDKMutableCopying.h /Users/Avinash/Documents/Code/CodeCollab/CodeCollab/DerivedData/CodeCollab/Build/Products/Debug-iphonesimulator/FBSDKCoreKit.framework/Headers/FBSDKGraphErrorRecoveryProcessor.h /Users/Avinash/Documents/Code/CodeCollab/CodeCollab/DerivedData/CodeCollab/Build/Products/Debug-iphonesimulator/FBSDKCoreKit.framework/Headers/FBSDKUtility.h /Users/Avinash/Documents/Code/CodeCollab/CodeCollab/DerivedData/CodeCollab/Build/Products/Debug-iphonesimulator/FBSDKCoreKit.framework/Headers/FBSDKTestUsersManager.h /Users/Avinash/Documents/Code/CodeCollab/CodeCollab/DerivedData/CodeCollab/Build/Products/Debug-iphonesimulator/FBSDKCoreKit.framework/Headers/FBSDKSettings.h /Users/Avinash/Documents/Code/CodeCollab/CodeCollab/DerivedData/CodeCollab/Build/Products/Debug-iphonesimulator/FBSDKCoreKit.framework/Headers/FBSDKGraphRequestDataAttachment.h /Users/Avinash/Documents/Code/CodeCollab/CodeCollab/DerivedData/CodeCollab/Build/Products/Debug-iphonesimulator/FBSDKCoreKit.framework/Headers/FBSDKGraphRequest.h /Users/Avinash/Documents/Code/CodeCollab/CodeCollab/DerivedData/CodeCollab/Build/Products/Debug-iphonesimulator/FBSDKCoreKit.framework/Headers/FBSDKCoreKit.h /Users/Avinash/Documents/Code/CodeCollab/CodeCollab/DerivedData/CodeCollab/Build/Products/Debug-iphonesimulator/FBSDKCoreKit.framework/Headers/FBSDKConstants.h /Users/Avinash/Documents/Code/CodeCollab/CodeCollab/DerivedData/CodeCollab/Build/Products/Debug-iphonesimulator/FBSDKCoreKit.framework/Headers/FBSDKButton.h /Users/Avinash/Documents/Code/CodeCollab/CodeCollab/DerivedData/CodeCollab/Build/Products/Debug-iphonesimulator/FBSDKCoreKit.framework/Headers/FBSDKAppLinkUtility.h /Users/Avinash/Documents/Code/CodeCollab/CodeCollab/DerivedData/CodeCollab/Build/Products/Debug-iphonesimulator/FBSDKCoreKit.framework/Headers/FBSDKAppLinkResolver.h /Users/Avinash/Documents/Code/CodeCollab/CodeCollab/DerivedData/CodeCollab/Build/Products/Debug-iphonesimulator/FBSDKCoreKit.framework/Headers/FBSDKApplicationDelegate.h /Users/Avinash/Documents/Code/CodeCollab/CodeCollab/DerivedData/CodeCollab/Build/Products/Debug-iphonesimulator/FBSDKCoreKit.framework/Headers/FBSDKAppEvents.h /Users/Avinash/Documents/Code/CodeCollab/CodeCollab/DerivedData/CodeCollab/Build/Products/Debug-iphonesimulator/FBSDKCoreKit.framework/Headers/FBSDKMacros.h /Users/Avinash/Documents/Code/CodeCollab/CodeCollab/DerivedData/CodeCollab/Build/Products/Debug-iphonesimulator/FBSDKCoreKit.framework/Headers/FBSDKGraphRequestConnection.h /Users/Avinash/Documents/Code/CodeCollab/CodeCollab/DerivedData/CodeCollab/Build/Products/Debug-iphonesimulator/FBSDKCoreKit.framework/Headers/FBSDKCopying.h /Users/Avinash/Documents/Code/CodeCollab/CodeCollab/DerivedData/CodeCollab/Build/Products/Debug-iphonesimulator/FBSDKCoreKit.framework/Headers/FBSDKAccessToken.h /Users/Avinash/Documents/Code/CodeCollab/CodeCollab/DerivedData/CodeCollab/Build/Products/Debug-iphonesimulator/FBSDKCoreKit.framework/Headers/FBSDKCoreKit-umbrella.h /Users/Avinash/Documents/Code/CodeCollab/CodeCollab/DerivedData/CodeCollab/Build/Products/Debug-iphonesimulator/FBSDKCoreKit.framework/Modules/module.modulemap /Users/Avinash/Documents/Code/CodeCollab/CodeCollab/DerivedData/CodeCollab/Build/Products/Debug-iphonesimulator/FBSDKLoginKit.framework/Headers/FBSDKLoginTooltipView.h /Users/Avinash/Documents/Code/CodeCollab/CodeCollab/DerivedData/CodeCollab/Build/Products/Debug-iphonesimulator/FBSDKLoginKit.framework/Headers/FBSDKLoginManagerLoginResult.h /Users/Avinash/Documents/Code/CodeCollab/CodeCollab/DerivedData/CodeCollab/Build/Products/Debug-iphonesimulator/FBSDKLoginKit.framework/Headers/FBSDKLoginKit.h /Users/Avinash/Documents/Code/CodeCollab/CodeCollab/DerivedData/CodeCollab/Build/Products/Debug-iphonesimulator/FBSDKLoginKit.framework/Headers/FBSDKLoginConstants.h /Users/Avinash/Documents/Code/CodeCollab/CodeCollab/DerivedData/CodeCollab/Build/Products/Debug-iphonesimulator/FBSDKLoginKit.framework/Headers/FBSDKTooltipView.h /Users/Avinash/Documents/Code/CodeCollab/CodeCollab/DerivedData/CodeCollab/Build/Products/Debug-iphonesimulator/FBSDKLoginKit.framework/Headers/FBSDKLoginManager.h /Users/Avinash/Documents/Code/CodeCollab/CodeCollab/DerivedData/CodeCollab/Build/Products/Debug-iphonesimulator/FBSDKLoginKit.framework/Headers/FBSDKLoginButton.h /Users/Avinash/Documents/Code/CodeCollab/CodeCollab/DerivedData/CodeCollab/Build/Products/Debug-iphonesimulator/FBSDKLoginKit.framework/Headers/FBSDKLoginKit-umbrella.h /Users/Avinash/Documents/Code/CodeCollab/CodeCollab/DerivedData/CodeCollab/Build/Products/Debug-iphonesimulator/FBSDKLoginKit.framework/Modules/module.modulemap /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreLocation.swiftmodule
/Users/Avinash/Documents/Code/CodeCollab/CodeCollab/DerivedData/CodeCollab/Build/Intermediates/CodeCollab.build/Debug-iphonesimulator/CodeCollab.build/Objects-normal/x86_64/ViewController~partial.swiftdoc : /Users/Avinash/Documents/Code/CodeCollab/CodeCollab/CodeCollab/LoginViewController.swift /Users/Avinash/Documents/Code/CodeCollab/CodeCollab/CodeCollab/SignUpViewController.swift /Users/Avinash/Documents/Code/CodeCollab/CodeCollab/CodeCollab/HackCardTableViewCell.swift /Users/Avinash/Documents/Code/CodeCollab/CodeCollab/CodeCollab/HackathonViewController.swift /Users/Avinash/Documents/Code/CodeCollab/CodeCollab/CodeCollab/HackLeftTableViewCell.swift /Users/Avinash/Documents/Code/CodeCollab/CodeCollab/CodeCollab/IdeaCardTableViewCell.swift /Users/Avinash/Documents/Code/CodeCollab/CodeCollab/CodeCollab/DetailedHackathonViewController.swift /Users/Avinash/Documents/Code/CodeCollab/CodeCollab/CodeCollab/ViewController.swift /Users/Avinash/Documents/Code/CodeCollab/CodeCollab/CodeCollab/AppDelegate.swift /Users/Avinash/Documents/Code/CodeCollab/CodeCollab/CodeCollab/LoadingViewController.swift /Users/Avinash/Documents/Code/CodeCollab/CodeCollab/CodeCollab/ChatViewController.swift /Users/Avinash/Documents/Code/CodeCollab/CodeCollab/CodeCollab/Classes.swift /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/Foundation.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Darwin.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Dispatch.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/ObjectiveC.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreGraphics.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreImage.swiftmodule /Users/Avinash/Documents/Code/CodeCollab/CodeCollab/DerivedData/CodeCollab/Build/Products/Debug-iphonesimulator/Firebase.framework/Headers/FirebaseServerValue.h /Users/Avinash/Documents/Code/CodeCollab/CodeCollab/DerivedData/CodeCollab/Build/Products/Debug-iphonesimulator/Firebase.framework/Headers/FTransactionResult.h /Users/Avinash/Documents/Code/CodeCollab/CodeCollab/DerivedData/CodeCollab/Build/Products/Debug-iphonesimulator/Firebase.framework/Headers/FMutableData.h /Users/Avinash/Documents/Code/CodeCollab/CodeCollab/DerivedData/CodeCollab/Build/Products/Debug-iphonesimulator/Firebase.framework/Headers/FirebaseApp.h /Users/Avinash/Documents/Code/CodeCollab/CodeCollab/DerivedData/CodeCollab/Build/Products/Debug-iphonesimulator/Firebase.framework/Headers/FQuery.h /Users/Avinash/Documents/Code/CodeCollab/CodeCollab/DerivedData/CodeCollab/Build/Products/Debug-iphonesimulator/Firebase.framework/Headers/Firebase.h /Users/Avinash/Documents/Code/CodeCollab/CodeCollab/DerivedData/CodeCollab/Build/Products/Debug-iphonesimulator/Firebase.framework/Headers/FEventType.h /Users/Avinash/Documents/Code/CodeCollab/CodeCollab/DerivedData/CodeCollab/Build/Products/Debug-iphonesimulator/Firebase.framework/Headers/FDataSnapshot.h /Users/Avinash/Documents/Code/CodeCollab/CodeCollab/DerivedData/CodeCollab/Build/Products/Debug-iphonesimulator/Firebase.framework/Headers/FConfig.h /Users/Avinash/Documents/Code/CodeCollab/CodeCollab/DerivedData/CodeCollab/Build/Products/Debug-iphonesimulator/Firebase.framework/Headers/FAuthType.h /Users/Avinash/Documents/Code/CodeCollab/CodeCollab/DerivedData/CodeCollab/Build/Products/Debug-iphonesimulator/Firebase.framework/Headers/FAuthData.h /Users/Avinash/Documents/Code/CodeCollab/CodeCollab/DerivedData/CodeCollab/Build/Products/Debug-iphonesimulator/Firebase.framework/Headers/Firebase-umbrella.h /Users/Avinash/Documents/Code/CodeCollab/CodeCollab/DerivedData/CodeCollab/Build/Products/Debug-iphonesimulator/Firebase.framework/Modules/module.modulemap /Users/Avinash/Documents/Code/CodeCollab/CodeCollab/DerivedData/CodeCollab/Build/Products/Debug-iphonesimulator/Bolts.framework/Headers/Bolts.h /Users/Avinash/Documents/Code/CodeCollab/CodeCollab/DerivedData/CodeCollab/Build/Products/Debug-iphonesimulator/Bolts.framework/Headers/BFTaskCompletionSource.h /Users/Avinash/Documents/Code/CodeCollab/CodeCollab/DerivedData/CodeCollab/Build/Products/Debug-iphonesimulator/Bolts.framework/Headers/BFTask.h /Users/Avinash/Documents/Code/CodeCollab/CodeCollab/DerivedData/CodeCollab/Build/Products/Debug-iphonesimulator/Bolts.framework/Headers/BFExecutor.h /Users/Avinash/Documents/Code/CodeCollab/CodeCollab/DerivedData/CodeCollab/Build/Products/Debug-iphonesimulator/Bolts.framework/Headers/BFCancellationTokenSource.h /Users/Avinash/Documents/Code/CodeCollab/CodeCollab/DerivedData/CodeCollab/Build/Products/Debug-iphonesimulator/Bolts.framework/Headers/BFCancellationTokenRegistration.h /Users/Avinash/Documents/Code/CodeCollab/CodeCollab/DerivedData/CodeCollab/Build/Products/Debug-iphonesimulator/Bolts.framework/Headers/BFCancellationToken.h /Users/Avinash/Documents/Code/CodeCollab/CodeCollab/DerivedData/CodeCollab/Build/Products/Debug-iphonesimulator/Bolts.framework/Headers/BFWebViewAppLinkResolver.h /Users/Avinash/Documents/Code/CodeCollab/CodeCollab/DerivedData/CodeCollab/Build/Products/Debug-iphonesimulator/Bolts.framework/Headers/BFURL_Internal.h /Users/Avinash/Documents/Code/CodeCollab/CodeCollab/DerivedData/CodeCollab/Build/Products/Debug-iphonesimulator/Bolts.framework/Headers/BFURL.h /Users/Avinash/Documents/Code/CodeCollab/CodeCollab/DerivedData/CodeCollab/Build/Products/Debug-iphonesimulator/Bolts.framework/Headers/BFMeasurementEvent_Internal.h /Users/Avinash/Documents/Code/CodeCollab/CodeCollab/DerivedData/CodeCollab/Build/Products/Debug-iphonesimulator/Bolts.framework/Headers/BFMeasurementEvent.h /Users/Avinash/Documents/Code/CodeCollab/CodeCollab/DerivedData/CodeCollab/Build/Products/Debug-iphonesimulator/Bolts.framework/Headers/BFAppLinkTarget.h /Users/Avinash/Documents/Code/CodeCollab/CodeCollab/DerivedData/CodeCollab/Build/Products/Debug-iphonesimulator/Bolts.framework/Headers/BFAppLinkReturnToRefererView_Internal.h /Users/Avinash/Documents/Code/CodeCollab/CodeCollab/DerivedData/CodeCollab/Build/Products/Debug-iphonesimulator/Bolts.framework/Headers/BFAppLinkReturnToRefererView.h /Users/Avinash/Documents/Code/CodeCollab/CodeCollab/DerivedData/CodeCollab/Build/Products/Debug-iphonesimulator/Bolts.framework/Headers/BFAppLinkReturnToRefererController.h /Users/Avinash/Documents/Code/CodeCollab/CodeCollab/DerivedData/CodeCollab/Build/Products/Debug-iphonesimulator/Bolts.framework/Headers/BFAppLinkResolving.h /Users/Avinash/Documents/Code/CodeCollab/CodeCollab/DerivedData/CodeCollab/Build/Products/Debug-iphonesimulator/Bolts.framework/Headers/BFAppLinkNavigation.h /Users/Avinash/Documents/Code/CodeCollab/CodeCollab/DerivedData/CodeCollab/Build/Products/Debug-iphonesimulator/Bolts.framework/Headers/BFAppLink_Internal.h /Users/Avinash/Documents/Code/CodeCollab/CodeCollab/DerivedData/CodeCollab/Build/Products/Debug-iphonesimulator/Bolts.framework/Headers/BFAppLink.h /Users/Avinash/Documents/Code/CodeCollab/CodeCollab/DerivedData/CodeCollab/Build/Products/Debug-iphonesimulator/Bolts.framework/Headers/Bolts-umbrella.h /Users/Avinash/Documents/Code/CodeCollab/CodeCollab/DerivedData/CodeCollab/Build/Products/Debug-iphonesimulator/Bolts.framework/Modules/module.modulemap /Users/Avinash/Documents/Code/CodeCollab/CodeCollab/DerivedData/CodeCollab/Build/Products/Debug-iphonesimulator/FBSDKCoreKit.framework/Headers/FBSDKProfilePictureView.h /Users/Avinash/Documents/Code/CodeCollab/CodeCollab/DerivedData/CodeCollab/Build/Products/Debug-iphonesimulator/FBSDKCoreKit.framework/Headers/FBSDKProfile.h /Users/Avinash/Documents/Code/CodeCollab/CodeCollab/DerivedData/CodeCollab/Build/Products/Debug-iphonesimulator/FBSDKCoreKit.framework/Headers/FBSDKMutableCopying.h /Users/Avinash/Documents/Code/CodeCollab/CodeCollab/DerivedData/CodeCollab/Build/Products/Debug-iphonesimulator/FBSDKCoreKit.framework/Headers/FBSDKGraphErrorRecoveryProcessor.h /Users/Avinash/Documents/Code/CodeCollab/CodeCollab/DerivedData/CodeCollab/Build/Products/Debug-iphonesimulator/FBSDKCoreKit.framework/Headers/FBSDKUtility.h /Users/Avinash/Documents/Code/CodeCollab/CodeCollab/DerivedData/CodeCollab/Build/Products/Debug-iphonesimulator/FBSDKCoreKit.framework/Headers/FBSDKTestUsersManager.h /Users/Avinash/Documents/Code/CodeCollab/CodeCollab/DerivedData/CodeCollab/Build/Products/Debug-iphonesimulator/FBSDKCoreKit.framework/Headers/FBSDKSettings.h /Users/Avinash/Documents/Code/CodeCollab/CodeCollab/DerivedData/CodeCollab/Build/Products/Debug-iphonesimulator/FBSDKCoreKit.framework/Headers/FBSDKGraphRequestDataAttachment.h /Users/Avinash/Documents/Code/CodeCollab/CodeCollab/DerivedData/CodeCollab/Build/Products/Debug-iphonesimulator/FBSDKCoreKit.framework/Headers/FBSDKGraphRequest.h /Users/Avinash/Documents/Code/CodeCollab/CodeCollab/DerivedData/CodeCollab/Build/Products/Debug-iphonesimulator/FBSDKCoreKit.framework/Headers/FBSDKCoreKit.h /Users/Avinash/Documents/Code/CodeCollab/CodeCollab/DerivedData/CodeCollab/Build/Products/Debug-iphonesimulator/FBSDKCoreKit.framework/Headers/FBSDKConstants.h /Users/Avinash/Documents/Code/CodeCollab/CodeCollab/DerivedData/CodeCollab/Build/Products/Debug-iphonesimulator/FBSDKCoreKit.framework/Headers/FBSDKButton.h /Users/Avinash/Documents/Code/CodeCollab/CodeCollab/DerivedData/CodeCollab/Build/Products/Debug-iphonesimulator/FBSDKCoreKit.framework/Headers/FBSDKAppLinkUtility.h /Users/Avinash/Documents/Code/CodeCollab/CodeCollab/DerivedData/CodeCollab/Build/Products/Debug-iphonesimulator/FBSDKCoreKit.framework/Headers/FBSDKAppLinkResolver.h /Users/Avinash/Documents/Code/CodeCollab/CodeCollab/DerivedData/CodeCollab/Build/Products/Debug-iphonesimulator/FBSDKCoreKit.framework/Headers/FBSDKApplicationDelegate.h /Users/Avinash/Documents/Code/CodeCollab/CodeCollab/DerivedData/CodeCollab/Build/Products/Debug-iphonesimulator/FBSDKCoreKit.framework/Headers/FBSDKAppEvents.h /Users/Avinash/Documents/Code/CodeCollab/CodeCollab/DerivedData/CodeCollab/Build/Products/Debug-iphonesimulator/FBSDKCoreKit.framework/Headers/FBSDKMacros.h /Users/Avinash/Documents/Code/CodeCollab/CodeCollab/DerivedData/CodeCollab/Build/Products/Debug-iphonesimulator/FBSDKCoreKit.framework/Headers/FBSDKGraphRequestConnection.h /Users/Avinash/Documents/Code/CodeCollab/CodeCollab/DerivedData/CodeCollab/Build/Products/Debug-iphonesimulator/FBSDKCoreKit.framework/Headers/FBSDKCopying.h /Users/Avinash/Documents/Code/CodeCollab/CodeCollab/DerivedData/CodeCollab/Build/Products/Debug-iphonesimulator/FBSDKCoreKit.framework/Headers/FBSDKAccessToken.h /Users/Avinash/Documents/Code/CodeCollab/CodeCollab/DerivedData/CodeCollab/Build/Products/Debug-iphonesimulator/FBSDKCoreKit.framework/Headers/FBSDKCoreKit-umbrella.h /Users/Avinash/Documents/Code/CodeCollab/CodeCollab/DerivedData/CodeCollab/Build/Products/Debug-iphonesimulator/FBSDKCoreKit.framework/Modules/module.modulemap /Users/Avinash/Documents/Code/CodeCollab/CodeCollab/DerivedData/CodeCollab/Build/Products/Debug-iphonesimulator/FBSDKLoginKit.framework/Headers/FBSDKLoginTooltipView.h /Users/Avinash/Documents/Code/CodeCollab/CodeCollab/DerivedData/CodeCollab/Build/Products/Debug-iphonesimulator/FBSDKLoginKit.framework/Headers/FBSDKLoginManagerLoginResult.h /Users/Avinash/Documents/Code/CodeCollab/CodeCollab/DerivedData/CodeCollab/Build/Products/Debug-iphonesimulator/FBSDKLoginKit.framework/Headers/FBSDKLoginKit.h /Users/Avinash/Documents/Code/CodeCollab/CodeCollab/DerivedData/CodeCollab/Build/Products/Debug-iphonesimulator/FBSDKLoginKit.framework/Headers/FBSDKLoginConstants.h /Users/Avinash/Documents/Code/CodeCollab/CodeCollab/DerivedData/CodeCollab/Build/Products/Debug-iphonesimulator/FBSDKLoginKit.framework/Headers/FBSDKTooltipView.h /Users/Avinash/Documents/Code/CodeCollab/CodeCollab/DerivedData/CodeCollab/Build/Products/Debug-iphonesimulator/FBSDKLoginKit.framework/Headers/FBSDKLoginManager.h /Users/Avinash/Documents/Code/CodeCollab/CodeCollab/DerivedData/CodeCollab/Build/Products/Debug-iphonesimulator/FBSDKLoginKit.framework/Headers/FBSDKLoginButton.h /Users/Avinash/Documents/Code/CodeCollab/CodeCollab/DerivedData/CodeCollab/Build/Products/Debug-iphonesimulator/FBSDKLoginKit.framework/Headers/FBSDKLoginKit-umbrella.h /Users/Avinash/Documents/Code/CodeCollab/CodeCollab/DerivedData/CodeCollab/Build/Products/Debug-iphonesimulator/FBSDKLoginKit.framework/Modules/module.modulemap /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreLocation.swiftmodule
|
D
|
/*
* Check if string symbol exists and return the pointer to its content
*/
func int G1CP_GetStringVarPtrBySymbol(var int symbPtr, var int ele) {
// Check if symbol
if (!symbPtr) {
return 0;
};
// Check if string
var zCPar_Symbol symb; symb = _^(symbPtr);
if ((symb.bitfield & zCPar_Symbol_bitfield_type) != zPAR_TYPE_STRING) {
return 0;
};
// Check if enough elements
if ((symb.bitfield & zCPar_Symbol_bitfield_ele) <= ele) {
return 0;
};
// Check if string is present (should never happen)
if (!symb.content) {
return 0;
};
// Check if content is string (paranoid)
var int addr; addr = symb.content + sizeof_zString * ele;
if (MEM_ReadInt(addr) != zString__vtbl) {
return 0;
};
// Return pointer to content
return addr;
};
/*
* Check if string symbol exists and return its value
*/
func string G1CP_GetStringVarBySymbol(var int symbPtr, var int ele, var string dflt) {
var int ptr; ptr = G1CP_GetStringVarPtrBySymbol(symbPtr, ele);
if (ptr) {
return MEM_ReadString(ptr);
} else {
return dflt;
};
};
func string G1CP_GetStringVarByIndex(var int symbId, var int ele, var string dflt) {
if (symbId < 0) || (symbId >= currSymbolTableLength) {
return dflt;
};
return G1CP_GetStringVarBySymbol(MEM_GetSymbolByIndex(symbId), ele, dflt);
};
func string G1CP_GetStringVar(var string name, var int ele, var string dflt) {
return G1CP_GetStringVarBySymbol(MEM_GetSymbol(name), ele, dflt);
};
/*
* Check if string symbol exists and return its value
*/
func void G1CP_SetStringVarBySymbol(var int symbPtr, var int ele, var string value) {
var int ptr; ptr = G1CP_GetStringVarPtrBySymbol(symbPtr, ele);
if (ptr) {
MEM_WriteString(ptr, value);
};
};
func void G1CP_SetStringVarByIndex(var int symbId, var int ele, var string value) {
if (symbId < 0) || (symbId >= currSymbolTableLength) {
return;
};
G1CP_SetStringVarBySymbol(MEM_GetSymbolByIndex(symbId), ele, value);
};
func void G1CP_SetStringVar(var string name, var int ele, var string value) {
G1CP_SetStringVarBySymbol(MEM_GetSymbol(name), ele, value);
};
|
D
|
module perfontain.managers.gui.layout;
import std, perfontain;
public import perfontain.managers.gui.layout.tab;
class Layout : RCounted
{
mixin Nuklear;
final process()
{
styles.each!(a => a.push);
scope (exit)
styles.retro.each!(a => a.pop);
draw;
}
void draw()
{
childs.each!(a => a.process);
}
Style[] styles;
RCArray!GUIElement childs;
}
class MenuLayout : Layout
{
this(string name)
{
_name = name;
}
override void draw()
{
if (nk_tree_push_hashed(ctx, NK_TREE_TAB, _name.toStringz,
NK_MINIMIZED, null, 0, cast(uint)toHash))
{
layouts.each!(a => a.draw);
nk_tree_pop(ctx);
}
}
RCArray!Layout layouts;
private:
string _name;
}
abstract class RowTemplateLayout : Layout
{
this(uint height)
{
_height = height;
}
override void draw()
{
nk_layout_row_template_begin(ctx, _height);
make;
nk_layout_row_template_end(ctx);
super.draw;
}
protected:
void make();
void dynamic()
{
nk_layout_row_template_push_dynamic(ctx);
}
void variable(float width)
{
nk_layout_row_template_push_variable(ctx, width);
}
void static_(float width)
{
nk_layout_row_template_push_static(ctx, width);
}
private:
uint _height;
}
class RowLayout : Layout
{
this(bool dynamic, uint height, uint[] widths...)
{
_height = height;
_widths = widths;
_dynamic = dynamic;
}
override void draw()
{
assert(childs.length == _widths.length);
nk_layout_row_begin(ctx, _dynamic ? NK_DYNAMIC : NK_STATIC, _height,
cast(uint)_widths.length);
foreach (i, v; _widths)
{
nk_layout_row_push(ctx, v);
childs[i].process;
}
nk_layout_row_end(ctx);
}
private:
uint[] _widths;
uint _height;
bool _dynamic;
}
class DynamicRowLayout : Layout
{
this(uint cols, uint height = 0)
{
_cols = cols;
_height = height;
}
override void draw()
{
nk_layout_row_dynamic(ctx, _height, _cols);
super.draw;
}
private:
uint _cols, _height;
}
class StaticRowLayout : Layout
{
this(uint cols, uint width, uint height = 0)
{
_cols = cols;
_width = width;
_height = height;
}
override void draw()
{
auto c = _cols ? _cols : max(cast(uint)(nk_window_get_content_region_size(ctx)
.x / (_width + ctx.style.window.spacing.x)), 1);
nk_layout_row_static(ctx, _height, _width, c);
super.draw;
}
private:
uint _cols, _height, _width;
}
|
D
|
// Copyright Ferdinand Majerech 2010 - 2011.
// Distributed under the Boost Software License, Version 1.0.
// (See accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt)
///Shader handle.
module video.shader;
@trusted
///Exception thrown at shader related errors.
class ShaderException : Exception{this(string msg){super(msg);}}
///Opague and immutable shader handle used used by code outside video subsystem.
struct Shader
{
package:
///Index of the shader in VideoDriver implementation.
uint index;
}
|
D
|
/Users/nathanwhite/Desktop/vaporserver/simpleVapor/.build/x86_64-apple-macosx/debug/TemplateKit.build/Tag/TagRenderer.swift.o : /Users/nathanwhite/Desktop/vaporserver/simpleVapor/.build/checkouts/template-kit/Sources/TemplateKit/Data/TemplateData.swift /Users/nathanwhite/Desktop/vaporserver/simpleVapor/.build/checkouts/template-kit/Sources/TemplateKit/AST/TemplateEmbed.swift /Users/nathanwhite/Desktop/vaporserver/simpleVapor/.build/checkouts/template-kit/Sources/TemplateKit/Deprecated.swift /Users/nathanwhite/Desktop/vaporserver/simpleVapor/.build/checkouts/template-kit/Sources/TemplateKit/AST/TemplateSource.swift /Users/nathanwhite/Desktop/vaporserver/simpleVapor/.build/checkouts/template-kit/Sources/TemplateKit/Data/TemplateDataStorage.swift /Users/nathanwhite/Desktop/vaporserver/simpleVapor/.build/checkouts/template-kit/Sources/TemplateKit/Pipeline/ASTCache.swift /Users/nathanwhite/Desktop/vaporserver/simpleVapor/.build/checkouts/template-kit/Sources/TemplateKit/Data/TemplateDataRepresentable.swift /Users/nathanwhite/Desktop/vaporserver/simpleVapor/.build/checkouts/template-kit/Sources/TemplateKit/Utilities/HTMLEscape.swift /Users/nathanwhite/Desktop/vaporserver/simpleVapor/.build/checkouts/template-kit/Sources/TemplateKit/AST/TemplateSyntaxType.swift /Users/nathanwhite/Desktop/vaporserver/simpleVapor/.build/checkouts/template-kit/Sources/TemplateKit/Tag/Uppercase.swift /Users/nathanwhite/Desktop/vaporserver/simpleVapor/.build/checkouts/template-kit/Sources/TemplateKit/Tag/Lowercase.swift /Users/nathanwhite/Desktop/vaporserver/simpleVapor/.build/checkouts/template-kit/Sources/TemplateKit/Tag/Capitalize.swift /Users/nathanwhite/Desktop/vaporserver/simpleVapor/.build/checkouts/template-kit/Sources/TemplateKit/AST/TemplateTag.swift /Users/nathanwhite/Desktop/vaporserver/simpleVapor/.build/checkouts/template-kit/Sources/TemplateKit/AST/TemplateConditional.swift /Users/nathanwhite/Desktop/vaporserver/simpleVapor/.build/checkouts/template-kit/Sources/TemplateKit/AST/TemplateCustom.swift /Users/nathanwhite/Desktop/vaporserver/simpleVapor/.build/checkouts/template-kit/Sources/TemplateKit/AST/TemplateExpression.swift /Users/nathanwhite/Desktop/vaporserver/simpleVapor/.build/checkouts/template-kit/Sources/TemplateKit/Tag/Var.swift /Users/nathanwhite/Desktop/vaporserver/simpleVapor/.build/checkouts/template-kit/Sources/TemplateKit/Data/TemplateDataEncoder.swift /Users/nathanwhite/Desktop/vaporserver/simpleVapor/.build/checkouts/template-kit/Sources/TemplateKit/AST/TemplateIdentifier.swift /Users/nathanwhite/Desktop/vaporserver/simpleVapor/.build/checkouts/template-kit/Sources/TemplateKit/Pipeline/TemplateByteScanner.swift /Users/nathanwhite/Desktop/vaporserver/simpleVapor/.build/checkouts/template-kit/Sources/TemplateKit/Pipeline/TemplateRenderer.swift /Users/nathanwhite/Desktop/vaporserver/simpleVapor/.build/checkouts/template-kit/Sources/TemplateKit/Tag/TagRenderer.swift /Users/nathanwhite/Desktop/vaporserver/simpleVapor/.build/checkouts/template-kit/Sources/TemplateKit/Pipeline/PlaintextRenderer.swift /Users/nathanwhite/Desktop/vaporserver/simpleVapor/.build/checkouts/template-kit/Sources/TemplateKit/ViewRenderer.swift /Users/nathanwhite/Desktop/vaporserver/simpleVapor/.build/checkouts/template-kit/Sources/TemplateKit/Pipeline/TemplateParser.swift /Users/nathanwhite/Desktop/vaporserver/simpleVapor/.build/checkouts/template-kit/Sources/TemplateKit/Pipeline/TemplateSerializer.swift /Users/nathanwhite/Desktop/vaporserver/simpleVapor/.build/checkouts/template-kit/Sources/TemplateKit/Utilities/TemplateError.swift /Users/nathanwhite/Desktop/vaporserver/simpleVapor/.build/checkouts/template-kit/Sources/TemplateKit/AST/TemplateIterator.swift /Users/nathanwhite/Desktop/vaporserver/simpleVapor/.build/checkouts/template-kit/Sources/TemplateKit/Tag/Contains.swift /Users/nathanwhite/Desktop/vaporserver/simpleVapor/.build/checkouts/template-kit/Sources/TemplateKit/Utilities/Exports.swift /Users/nathanwhite/Desktop/vaporserver/simpleVapor/.build/checkouts/template-kit/Sources/TemplateKit/Tag/DateFormat.swift /Users/nathanwhite/Desktop/vaporserver/simpleVapor/.build/checkouts/template-kit/Sources/TemplateKit/AST/TemplateConstant.swift /Users/nathanwhite/Desktop/vaporserver/simpleVapor/.build/checkouts/template-kit/Sources/TemplateKit/Tag/Comment.swift /Users/nathanwhite/Desktop/vaporserver/simpleVapor/.build/checkouts/template-kit/Sources/TemplateKit/Tag/Print.swift /Users/nathanwhite/Desktop/vaporserver/simpleVapor/.build/checkouts/template-kit/Sources/TemplateKit/Tag/Count.swift /Users/nathanwhite/Desktop/vaporserver/simpleVapor/.build/checkouts/template-kit/Sources/TemplateKit/AST/TemplateDataContext.swift /Users/nathanwhite/Desktop/vaporserver/simpleVapor/.build/checkouts/template-kit/Sources/TemplateKit/Tag/TagContext.swift /Users/nathanwhite/Desktop/vaporserver/simpleVapor/.build/checkouts/template-kit/Sources/TemplateKit/Tag/Raw.swift /Users/nathanwhite/Desktop/vaporserver/simpleVapor/.build/checkouts/template-kit/Sources/TemplateKit/AST/TemplateRaw.swift /Users/nathanwhite/Desktop/vaporserver/simpleVapor/.build/checkouts/template-kit/Sources/TemplateKit/View.swift /Users/nathanwhite/Desktop/vaporserver/simpleVapor/.build/checkouts/template-kit/Sources/TemplateKit/AST/TemplateSyntax.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/Service.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/TemplateKit.build/Tag/TagRenderer~partial.swiftmodule : /Users/nathanwhite/Desktop/vaporserver/simpleVapor/.build/checkouts/template-kit/Sources/TemplateKit/Data/TemplateData.swift /Users/nathanwhite/Desktop/vaporserver/simpleVapor/.build/checkouts/template-kit/Sources/TemplateKit/AST/TemplateEmbed.swift /Users/nathanwhite/Desktop/vaporserver/simpleVapor/.build/checkouts/template-kit/Sources/TemplateKit/Deprecated.swift /Users/nathanwhite/Desktop/vaporserver/simpleVapor/.build/checkouts/template-kit/Sources/TemplateKit/AST/TemplateSource.swift /Users/nathanwhite/Desktop/vaporserver/simpleVapor/.build/checkouts/template-kit/Sources/TemplateKit/Data/TemplateDataStorage.swift /Users/nathanwhite/Desktop/vaporserver/simpleVapor/.build/checkouts/template-kit/Sources/TemplateKit/Pipeline/ASTCache.swift /Users/nathanwhite/Desktop/vaporserver/simpleVapor/.build/checkouts/template-kit/Sources/TemplateKit/Data/TemplateDataRepresentable.swift /Users/nathanwhite/Desktop/vaporserver/simpleVapor/.build/checkouts/template-kit/Sources/TemplateKit/Utilities/HTMLEscape.swift /Users/nathanwhite/Desktop/vaporserver/simpleVapor/.build/checkouts/template-kit/Sources/TemplateKit/AST/TemplateSyntaxType.swift /Users/nathanwhite/Desktop/vaporserver/simpleVapor/.build/checkouts/template-kit/Sources/TemplateKit/Tag/Uppercase.swift /Users/nathanwhite/Desktop/vaporserver/simpleVapor/.build/checkouts/template-kit/Sources/TemplateKit/Tag/Lowercase.swift /Users/nathanwhite/Desktop/vaporserver/simpleVapor/.build/checkouts/template-kit/Sources/TemplateKit/Tag/Capitalize.swift /Users/nathanwhite/Desktop/vaporserver/simpleVapor/.build/checkouts/template-kit/Sources/TemplateKit/AST/TemplateTag.swift /Users/nathanwhite/Desktop/vaporserver/simpleVapor/.build/checkouts/template-kit/Sources/TemplateKit/AST/TemplateConditional.swift /Users/nathanwhite/Desktop/vaporserver/simpleVapor/.build/checkouts/template-kit/Sources/TemplateKit/AST/TemplateCustom.swift /Users/nathanwhite/Desktop/vaporserver/simpleVapor/.build/checkouts/template-kit/Sources/TemplateKit/AST/TemplateExpression.swift /Users/nathanwhite/Desktop/vaporserver/simpleVapor/.build/checkouts/template-kit/Sources/TemplateKit/Tag/Var.swift /Users/nathanwhite/Desktop/vaporserver/simpleVapor/.build/checkouts/template-kit/Sources/TemplateKit/Data/TemplateDataEncoder.swift /Users/nathanwhite/Desktop/vaporserver/simpleVapor/.build/checkouts/template-kit/Sources/TemplateKit/AST/TemplateIdentifier.swift /Users/nathanwhite/Desktop/vaporserver/simpleVapor/.build/checkouts/template-kit/Sources/TemplateKit/Pipeline/TemplateByteScanner.swift /Users/nathanwhite/Desktop/vaporserver/simpleVapor/.build/checkouts/template-kit/Sources/TemplateKit/Pipeline/TemplateRenderer.swift /Users/nathanwhite/Desktop/vaporserver/simpleVapor/.build/checkouts/template-kit/Sources/TemplateKit/Tag/TagRenderer.swift /Users/nathanwhite/Desktop/vaporserver/simpleVapor/.build/checkouts/template-kit/Sources/TemplateKit/Pipeline/PlaintextRenderer.swift /Users/nathanwhite/Desktop/vaporserver/simpleVapor/.build/checkouts/template-kit/Sources/TemplateKit/ViewRenderer.swift /Users/nathanwhite/Desktop/vaporserver/simpleVapor/.build/checkouts/template-kit/Sources/TemplateKit/Pipeline/TemplateParser.swift /Users/nathanwhite/Desktop/vaporserver/simpleVapor/.build/checkouts/template-kit/Sources/TemplateKit/Pipeline/TemplateSerializer.swift /Users/nathanwhite/Desktop/vaporserver/simpleVapor/.build/checkouts/template-kit/Sources/TemplateKit/Utilities/TemplateError.swift /Users/nathanwhite/Desktop/vaporserver/simpleVapor/.build/checkouts/template-kit/Sources/TemplateKit/AST/TemplateIterator.swift /Users/nathanwhite/Desktop/vaporserver/simpleVapor/.build/checkouts/template-kit/Sources/TemplateKit/Tag/Contains.swift /Users/nathanwhite/Desktop/vaporserver/simpleVapor/.build/checkouts/template-kit/Sources/TemplateKit/Utilities/Exports.swift /Users/nathanwhite/Desktop/vaporserver/simpleVapor/.build/checkouts/template-kit/Sources/TemplateKit/Tag/DateFormat.swift /Users/nathanwhite/Desktop/vaporserver/simpleVapor/.build/checkouts/template-kit/Sources/TemplateKit/AST/TemplateConstant.swift /Users/nathanwhite/Desktop/vaporserver/simpleVapor/.build/checkouts/template-kit/Sources/TemplateKit/Tag/Comment.swift /Users/nathanwhite/Desktop/vaporserver/simpleVapor/.build/checkouts/template-kit/Sources/TemplateKit/Tag/Print.swift /Users/nathanwhite/Desktop/vaporserver/simpleVapor/.build/checkouts/template-kit/Sources/TemplateKit/Tag/Count.swift /Users/nathanwhite/Desktop/vaporserver/simpleVapor/.build/checkouts/template-kit/Sources/TemplateKit/AST/TemplateDataContext.swift /Users/nathanwhite/Desktop/vaporserver/simpleVapor/.build/checkouts/template-kit/Sources/TemplateKit/Tag/TagContext.swift /Users/nathanwhite/Desktop/vaporserver/simpleVapor/.build/checkouts/template-kit/Sources/TemplateKit/Tag/Raw.swift /Users/nathanwhite/Desktop/vaporserver/simpleVapor/.build/checkouts/template-kit/Sources/TemplateKit/AST/TemplateRaw.swift /Users/nathanwhite/Desktop/vaporserver/simpleVapor/.build/checkouts/template-kit/Sources/TemplateKit/View.swift /Users/nathanwhite/Desktop/vaporserver/simpleVapor/.build/checkouts/template-kit/Sources/TemplateKit/AST/TemplateSyntax.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/Service.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/TemplateKit.build/Tag/TagRenderer~partial.swiftdoc : /Users/nathanwhite/Desktop/vaporserver/simpleVapor/.build/checkouts/template-kit/Sources/TemplateKit/Data/TemplateData.swift /Users/nathanwhite/Desktop/vaporserver/simpleVapor/.build/checkouts/template-kit/Sources/TemplateKit/AST/TemplateEmbed.swift /Users/nathanwhite/Desktop/vaporserver/simpleVapor/.build/checkouts/template-kit/Sources/TemplateKit/Deprecated.swift /Users/nathanwhite/Desktop/vaporserver/simpleVapor/.build/checkouts/template-kit/Sources/TemplateKit/AST/TemplateSource.swift /Users/nathanwhite/Desktop/vaporserver/simpleVapor/.build/checkouts/template-kit/Sources/TemplateKit/Data/TemplateDataStorage.swift /Users/nathanwhite/Desktop/vaporserver/simpleVapor/.build/checkouts/template-kit/Sources/TemplateKit/Pipeline/ASTCache.swift /Users/nathanwhite/Desktop/vaporserver/simpleVapor/.build/checkouts/template-kit/Sources/TemplateKit/Data/TemplateDataRepresentable.swift /Users/nathanwhite/Desktop/vaporserver/simpleVapor/.build/checkouts/template-kit/Sources/TemplateKit/Utilities/HTMLEscape.swift /Users/nathanwhite/Desktop/vaporserver/simpleVapor/.build/checkouts/template-kit/Sources/TemplateKit/AST/TemplateSyntaxType.swift /Users/nathanwhite/Desktop/vaporserver/simpleVapor/.build/checkouts/template-kit/Sources/TemplateKit/Tag/Uppercase.swift /Users/nathanwhite/Desktop/vaporserver/simpleVapor/.build/checkouts/template-kit/Sources/TemplateKit/Tag/Lowercase.swift /Users/nathanwhite/Desktop/vaporserver/simpleVapor/.build/checkouts/template-kit/Sources/TemplateKit/Tag/Capitalize.swift /Users/nathanwhite/Desktop/vaporserver/simpleVapor/.build/checkouts/template-kit/Sources/TemplateKit/AST/TemplateTag.swift /Users/nathanwhite/Desktop/vaporserver/simpleVapor/.build/checkouts/template-kit/Sources/TemplateKit/AST/TemplateConditional.swift /Users/nathanwhite/Desktop/vaporserver/simpleVapor/.build/checkouts/template-kit/Sources/TemplateKit/AST/TemplateCustom.swift /Users/nathanwhite/Desktop/vaporserver/simpleVapor/.build/checkouts/template-kit/Sources/TemplateKit/AST/TemplateExpression.swift /Users/nathanwhite/Desktop/vaporserver/simpleVapor/.build/checkouts/template-kit/Sources/TemplateKit/Tag/Var.swift /Users/nathanwhite/Desktop/vaporserver/simpleVapor/.build/checkouts/template-kit/Sources/TemplateKit/Data/TemplateDataEncoder.swift /Users/nathanwhite/Desktop/vaporserver/simpleVapor/.build/checkouts/template-kit/Sources/TemplateKit/AST/TemplateIdentifier.swift /Users/nathanwhite/Desktop/vaporserver/simpleVapor/.build/checkouts/template-kit/Sources/TemplateKit/Pipeline/TemplateByteScanner.swift /Users/nathanwhite/Desktop/vaporserver/simpleVapor/.build/checkouts/template-kit/Sources/TemplateKit/Pipeline/TemplateRenderer.swift /Users/nathanwhite/Desktop/vaporserver/simpleVapor/.build/checkouts/template-kit/Sources/TemplateKit/Tag/TagRenderer.swift /Users/nathanwhite/Desktop/vaporserver/simpleVapor/.build/checkouts/template-kit/Sources/TemplateKit/Pipeline/PlaintextRenderer.swift /Users/nathanwhite/Desktop/vaporserver/simpleVapor/.build/checkouts/template-kit/Sources/TemplateKit/ViewRenderer.swift /Users/nathanwhite/Desktop/vaporserver/simpleVapor/.build/checkouts/template-kit/Sources/TemplateKit/Pipeline/TemplateParser.swift /Users/nathanwhite/Desktop/vaporserver/simpleVapor/.build/checkouts/template-kit/Sources/TemplateKit/Pipeline/TemplateSerializer.swift /Users/nathanwhite/Desktop/vaporserver/simpleVapor/.build/checkouts/template-kit/Sources/TemplateKit/Utilities/TemplateError.swift /Users/nathanwhite/Desktop/vaporserver/simpleVapor/.build/checkouts/template-kit/Sources/TemplateKit/AST/TemplateIterator.swift /Users/nathanwhite/Desktop/vaporserver/simpleVapor/.build/checkouts/template-kit/Sources/TemplateKit/Tag/Contains.swift /Users/nathanwhite/Desktop/vaporserver/simpleVapor/.build/checkouts/template-kit/Sources/TemplateKit/Utilities/Exports.swift /Users/nathanwhite/Desktop/vaporserver/simpleVapor/.build/checkouts/template-kit/Sources/TemplateKit/Tag/DateFormat.swift /Users/nathanwhite/Desktop/vaporserver/simpleVapor/.build/checkouts/template-kit/Sources/TemplateKit/AST/TemplateConstant.swift /Users/nathanwhite/Desktop/vaporserver/simpleVapor/.build/checkouts/template-kit/Sources/TemplateKit/Tag/Comment.swift /Users/nathanwhite/Desktop/vaporserver/simpleVapor/.build/checkouts/template-kit/Sources/TemplateKit/Tag/Print.swift /Users/nathanwhite/Desktop/vaporserver/simpleVapor/.build/checkouts/template-kit/Sources/TemplateKit/Tag/Count.swift /Users/nathanwhite/Desktop/vaporserver/simpleVapor/.build/checkouts/template-kit/Sources/TemplateKit/AST/TemplateDataContext.swift /Users/nathanwhite/Desktop/vaporserver/simpleVapor/.build/checkouts/template-kit/Sources/TemplateKit/Tag/TagContext.swift /Users/nathanwhite/Desktop/vaporserver/simpleVapor/.build/checkouts/template-kit/Sources/TemplateKit/Tag/Raw.swift /Users/nathanwhite/Desktop/vaporserver/simpleVapor/.build/checkouts/template-kit/Sources/TemplateKit/AST/TemplateRaw.swift /Users/nathanwhite/Desktop/vaporserver/simpleVapor/.build/checkouts/template-kit/Sources/TemplateKit/View.swift /Users/nathanwhite/Desktop/vaporserver/simpleVapor/.build/checkouts/template-kit/Sources/TemplateKit/AST/TemplateSyntax.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/Service.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
|
/Users/slitovchenko/Documents/Smack/DerivedData/Smack/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/Socket.IO-Client-Swift.build/Objects-normal/x86_64/SSLSecurity.o : /Users/slitovchenko/Documents/Smack/Pods/Socket.IO-Client-Swift/Source/SocketIO/Engine/SocketEngineSpec.swift /Users/slitovchenko/Documents/Smack/Pods/Socket.IO-Client-Swift/Source/SocketIO/Manager/SocketManagerSpec.swift /Users/slitovchenko/Documents/Smack/Pods/Socket.IO-Client-Swift/Source/SocketIO/Client/SocketIOClientSpec.swift /Users/slitovchenko/Documents/Smack/Pods/Socket.IO-Client-Swift/Source/SocketIO/Engine/SocketEnginePollable.swift /Users/slitovchenko/Documents/Smack/Pods/Socket.IO-Client-Swift/Source/SocketIO/Parse/SocketParsable.swift /Users/slitovchenko/Documents/Smack/Pods/Socket.IO-Client-Swift/Source/SocketIO/Engine/SocketEngine.swift /Users/slitovchenko/Documents/Smack/Pods/Socket.IO-Client-Swift/Source/SocketIO/Engine/SocketEnginePacketType.swift /Users/slitovchenko/Documents/Smack/Pods/Socket.IO-Client-Swift/Source/SocketIO/Client/SocketIOClientConfiguration.swift /Users/slitovchenko/Documents/Smack/Pods/Socket.IO-Client-Swift/Source/SocketIO/Client/SocketIOClientOption.swift /Users/slitovchenko/Documents/Smack/Pods/Socket.IO-Client-Swift/Source/SocketIO/Util/SocketStringReader.swift /Users/slitovchenko/Documents/Smack/Pods/Socket.IO-Client-Swift/Source/SocketIO/Ack/SocketAckManager.swift /Users/slitovchenko/Documents/Smack/Pods/Socket.IO-Client-Swift/Source/SocketIO/Manager/SocketManager.swift /Users/slitovchenko/Documents/Smack/Pods/Socket.IO-Client-Swift/Source/SocketIO/Util/SocketLogger.swift /Users/slitovchenko/Documents/Smack/Pods/Socket.IO-Client-Swift/Source/SocketIO/Client/SocketEventHandler.swift /Users/slitovchenko/Documents/Smack/Pods/Socket.IO-Client-Swift/Source/SocketIO/Ack/SocketAckEmitter.swift /Users/slitovchenko/Documents/Smack/Pods/Socket.IO-Client-Swift/Source/SocketIO/Util/SocketTypes.swift /Users/slitovchenko/Documents/Smack/Pods/Socket.IO-Client-Swift/Source/SocketIO/Util/SocketExtensions.swift /Users/slitovchenko/Documents/Smack/Pods/Socket.IO-Client-Swift/Source/SocketIO/Client/SocketIOStatus.swift /Users/slitovchenko/Documents/Smack/Pods/Socket.IO-Client-Swift/Source/SocketIO/Parse/SocketPacket.swift /Users/slitovchenko/Documents/Smack/Pods/Socket.IO-Client-Swift/Source/SocketIO/Engine/SocketEngineWebsocket.swift /Users/slitovchenko/Documents/Smack/Pods/Socket.IO-Client-Swift/Source/SocketIO/Client/SocketIOClient.swift /Users/slitovchenko/Documents/Smack/Pods/Socket.IO-Client-Swift/Source/SocketIO/Engine/SocketEngineClient.swift /Users/slitovchenko/Documents/Smack/Pods/Socket.IO-Client-Swift/Source/SocketIO/Client/SocketAnyEvent.swift /Users/slitovchenko/Documents/Smack/Pods/Socket.IO-Client-Swift/Source/SocketIO/Client/SocketRawView.swift /Users/slitovchenko/Documents/Smack/Pods/Socket.IO-Client-Swift/Source/SocketIO/Util/SSLSecurity.swift /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Dispatch.apinotesc /Users/slitovchenko/Documents/Smack/DerivedData/Smack/Build/Products/Debug-iphonesimulator/Starscream/Starscream.framework/Modules/Starscream.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/ObjectiveC.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/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/slitovchenko/Documents/Smack/Pods/Target\ Support\ Files/Starscream/Starscream-umbrella.h /Users/slitovchenko/Documents/Smack/Pods/Target\ Support\ Files/Socket.IO-Client-Swift/Socket.IO-Client-Swift-umbrella.h /Users/slitovchenko/Documents/Smack/DerivedData/Smack/Build/Products/Debug-iphonesimulator/Starscream/Starscream.framework/Headers/Starscream-Swift.h /Users/slitovchenko/Documents/Smack/DerivedData/Smack/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/Socket.IO-Client-Swift.build/unextended-module.modulemap /Users/slitovchenko/Documents/Smack/DerivedData/Smack/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/Starscream.build/module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/usr/include/objc/ObjectiveC.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/OpenGLES.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CoreImage.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/QuartzCore.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/System/Library/Frameworks/Metal.framework/Headers/Metal.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/usr/include/Darwin.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKit.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/System/Library/Frameworks/CoreText.framework/Headers/CoreText.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/System/Library/Frameworks/Security.framework/Headers/Security.apinotes
/Users/slitovchenko/Documents/Smack/DerivedData/Smack/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/Socket.IO-Client-Swift.build/Objects-normal/x86_64/SSLSecurity~partial.swiftmodule : /Users/slitovchenko/Documents/Smack/Pods/Socket.IO-Client-Swift/Source/SocketIO/Engine/SocketEngineSpec.swift /Users/slitovchenko/Documents/Smack/Pods/Socket.IO-Client-Swift/Source/SocketIO/Manager/SocketManagerSpec.swift /Users/slitovchenko/Documents/Smack/Pods/Socket.IO-Client-Swift/Source/SocketIO/Client/SocketIOClientSpec.swift /Users/slitovchenko/Documents/Smack/Pods/Socket.IO-Client-Swift/Source/SocketIO/Engine/SocketEnginePollable.swift /Users/slitovchenko/Documents/Smack/Pods/Socket.IO-Client-Swift/Source/SocketIO/Parse/SocketParsable.swift /Users/slitovchenko/Documents/Smack/Pods/Socket.IO-Client-Swift/Source/SocketIO/Engine/SocketEngine.swift /Users/slitovchenko/Documents/Smack/Pods/Socket.IO-Client-Swift/Source/SocketIO/Engine/SocketEnginePacketType.swift /Users/slitovchenko/Documents/Smack/Pods/Socket.IO-Client-Swift/Source/SocketIO/Client/SocketIOClientConfiguration.swift /Users/slitovchenko/Documents/Smack/Pods/Socket.IO-Client-Swift/Source/SocketIO/Client/SocketIOClientOption.swift /Users/slitovchenko/Documents/Smack/Pods/Socket.IO-Client-Swift/Source/SocketIO/Util/SocketStringReader.swift /Users/slitovchenko/Documents/Smack/Pods/Socket.IO-Client-Swift/Source/SocketIO/Ack/SocketAckManager.swift /Users/slitovchenko/Documents/Smack/Pods/Socket.IO-Client-Swift/Source/SocketIO/Manager/SocketManager.swift /Users/slitovchenko/Documents/Smack/Pods/Socket.IO-Client-Swift/Source/SocketIO/Util/SocketLogger.swift /Users/slitovchenko/Documents/Smack/Pods/Socket.IO-Client-Swift/Source/SocketIO/Client/SocketEventHandler.swift /Users/slitovchenko/Documents/Smack/Pods/Socket.IO-Client-Swift/Source/SocketIO/Ack/SocketAckEmitter.swift /Users/slitovchenko/Documents/Smack/Pods/Socket.IO-Client-Swift/Source/SocketIO/Util/SocketTypes.swift /Users/slitovchenko/Documents/Smack/Pods/Socket.IO-Client-Swift/Source/SocketIO/Util/SocketExtensions.swift /Users/slitovchenko/Documents/Smack/Pods/Socket.IO-Client-Swift/Source/SocketIO/Client/SocketIOStatus.swift /Users/slitovchenko/Documents/Smack/Pods/Socket.IO-Client-Swift/Source/SocketIO/Parse/SocketPacket.swift /Users/slitovchenko/Documents/Smack/Pods/Socket.IO-Client-Swift/Source/SocketIO/Engine/SocketEngineWebsocket.swift /Users/slitovchenko/Documents/Smack/Pods/Socket.IO-Client-Swift/Source/SocketIO/Client/SocketIOClient.swift /Users/slitovchenko/Documents/Smack/Pods/Socket.IO-Client-Swift/Source/SocketIO/Engine/SocketEngineClient.swift /Users/slitovchenko/Documents/Smack/Pods/Socket.IO-Client-Swift/Source/SocketIO/Client/SocketAnyEvent.swift /Users/slitovchenko/Documents/Smack/Pods/Socket.IO-Client-Swift/Source/SocketIO/Client/SocketRawView.swift /Users/slitovchenko/Documents/Smack/Pods/Socket.IO-Client-Swift/Source/SocketIO/Util/SSLSecurity.swift /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Dispatch.apinotesc /Users/slitovchenko/Documents/Smack/DerivedData/Smack/Build/Products/Debug-iphonesimulator/Starscream/Starscream.framework/Modules/Starscream.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/ObjectiveC.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/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/slitovchenko/Documents/Smack/Pods/Target\ Support\ Files/Starscream/Starscream-umbrella.h /Users/slitovchenko/Documents/Smack/Pods/Target\ Support\ Files/Socket.IO-Client-Swift/Socket.IO-Client-Swift-umbrella.h /Users/slitovchenko/Documents/Smack/DerivedData/Smack/Build/Products/Debug-iphonesimulator/Starscream/Starscream.framework/Headers/Starscream-Swift.h /Users/slitovchenko/Documents/Smack/DerivedData/Smack/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/Socket.IO-Client-Swift.build/unextended-module.modulemap /Users/slitovchenko/Documents/Smack/DerivedData/Smack/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/Starscream.build/module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/usr/include/objc/ObjectiveC.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/OpenGLES.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CoreImage.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/QuartzCore.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/System/Library/Frameworks/Metal.framework/Headers/Metal.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/usr/include/Darwin.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKit.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/System/Library/Frameworks/CoreText.framework/Headers/CoreText.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/System/Library/Frameworks/Security.framework/Headers/Security.apinotes
/Users/slitovchenko/Documents/Smack/DerivedData/Smack/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/Socket.IO-Client-Swift.build/Objects-normal/x86_64/SSLSecurity~partial.swiftdoc : /Users/slitovchenko/Documents/Smack/Pods/Socket.IO-Client-Swift/Source/SocketIO/Engine/SocketEngineSpec.swift /Users/slitovchenko/Documents/Smack/Pods/Socket.IO-Client-Swift/Source/SocketIO/Manager/SocketManagerSpec.swift /Users/slitovchenko/Documents/Smack/Pods/Socket.IO-Client-Swift/Source/SocketIO/Client/SocketIOClientSpec.swift /Users/slitovchenko/Documents/Smack/Pods/Socket.IO-Client-Swift/Source/SocketIO/Engine/SocketEnginePollable.swift /Users/slitovchenko/Documents/Smack/Pods/Socket.IO-Client-Swift/Source/SocketIO/Parse/SocketParsable.swift /Users/slitovchenko/Documents/Smack/Pods/Socket.IO-Client-Swift/Source/SocketIO/Engine/SocketEngine.swift /Users/slitovchenko/Documents/Smack/Pods/Socket.IO-Client-Swift/Source/SocketIO/Engine/SocketEnginePacketType.swift /Users/slitovchenko/Documents/Smack/Pods/Socket.IO-Client-Swift/Source/SocketIO/Client/SocketIOClientConfiguration.swift /Users/slitovchenko/Documents/Smack/Pods/Socket.IO-Client-Swift/Source/SocketIO/Client/SocketIOClientOption.swift /Users/slitovchenko/Documents/Smack/Pods/Socket.IO-Client-Swift/Source/SocketIO/Util/SocketStringReader.swift /Users/slitovchenko/Documents/Smack/Pods/Socket.IO-Client-Swift/Source/SocketIO/Ack/SocketAckManager.swift /Users/slitovchenko/Documents/Smack/Pods/Socket.IO-Client-Swift/Source/SocketIO/Manager/SocketManager.swift /Users/slitovchenko/Documents/Smack/Pods/Socket.IO-Client-Swift/Source/SocketIO/Util/SocketLogger.swift /Users/slitovchenko/Documents/Smack/Pods/Socket.IO-Client-Swift/Source/SocketIO/Client/SocketEventHandler.swift /Users/slitovchenko/Documents/Smack/Pods/Socket.IO-Client-Swift/Source/SocketIO/Ack/SocketAckEmitter.swift /Users/slitovchenko/Documents/Smack/Pods/Socket.IO-Client-Swift/Source/SocketIO/Util/SocketTypes.swift /Users/slitovchenko/Documents/Smack/Pods/Socket.IO-Client-Swift/Source/SocketIO/Util/SocketExtensions.swift /Users/slitovchenko/Documents/Smack/Pods/Socket.IO-Client-Swift/Source/SocketIO/Client/SocketIOStatus.swift /Users/slitovchenko/Documents/Smack/Pods/Socket.IO-Client-Swift/Source/SocketIO/Parse/SocketPacket.swift /Users/slitovchenko/Documents/Smack/Pods/Socket.IO-Client-Swift/Source/SocketIO/Engine/SocketEngineWebsocket.swift /Users/slitovchenko/Documents/Smack/Pods/Socket.IO-Client-Swift/Source/SocketIO/Client/SocketIOClient.swift /Users/slitovchenko/Documents/Smack/Pods/Socket.IO-Client-Swift/Source/SocketIO/Engine/SocketEngineClient.swift /Users/slitovchenko/Documents/Smack/Pods/Socket.IO-Client-Swift/Source/SocketIO/Client/SocketAnyEvent.swift /Users/slitovchenko/Documents/Smack/Pods/Socket.IO-Client-Swift/Source/SocketIO/Client/SocketRawView.swift /Users/slitovchenko/Documents/Smack/Pods/Socket.IO-Client-Swift/Source/SocketIO/Util/SSLSecurity.swift /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Dispatch.apinotesc /Users/slitovchenko/Documents/Smack/DerivedData/Smack/Build/Products/Debug-iphonesimulator/Starscream/Starscream.framework/Modules/Starscream.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/ObjectiveC.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/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/slitovchenko/Documents/Smack/Pods/Target\ Support\ Files/Starscream/Starscream-umbrella.h /Users/slitovchenko/Documents/Smack/Pods/Target\ Support\ Files/Socket.IO-Client-Swift/Socket.IO-Client-Swift-umbrella.h /Users/slitovchenko/Documents/Smack/DerivedData/Smack/Build/Products/Debug-iphonesimulator/Starscream/Starscream.framework/Headers/Starscream-Swift.h /Users/slitovchenko/Documents/Smack/DerivedData/Smack/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/Socket.IO-Client-Swift.build/unextended-module.modulemap /Users/slitovchenko/Documents/Smack/DerivedData/Smack/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/Starscream.build/module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/usr/include/objc/ObjectiveC.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/OpenGLES.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CoreImage.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/QuartzCore.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/System/Library/Frameworks/Metal.framework/Headers/Metal.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/usr/include/Darwin.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKit.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/System/Library/Frameworks/CoreText.framework/Headers/CoreText.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/System/Library/Frameworks/Security.framework/Headers/Security.apinotes
|
D
|
/Users/parkingsq1/Documents/PushPill/PushPillClient/DerivedData/PushPill/Build/Intermediates/IBDesignables/Intermediates/Pods.build/Debug-iphonesimulator/Spring.build/Objects-normal/x86_64/SpringImageView.o : /Users/parkingsq1/Documents/PushPill/PushPillClient/Pods/Spring/Spring/AsyncButton.swift /Users/parkingsq1/Documents/PushPill/PushPillClient/Pods/Spring/Spring/AsyncImageView.swift /Users/parkingsq1/Documents/PushPill/PushPillClient/Pods/Spring/Spring/AutoTextView.swift /Users/parkingsq1/Documents/PushPill/PushPillClient/Pods/Spring/Spring/BlurView.swift /Users/parkingsq1/Documents/PushPill/PushPillClient/Pods/Spring/Spring/DesignableButton.swift /Users/parkingsq1/Documents/PushPill/PushPillClient/Pods/Spring/Spring/DesignableImageView.swift /Users/parkingsq1/Documents/PushPill/PushPillClient/Pods/Spring/Spring/DesignableLabel.swift /Users/parkingsq1/Documents/PushPill/PushPillClient/Pods/Spring/Spring/DesignableTabBarController.swift /Users/parkingsq1/Documents/PushPill/PushPillClient/Pods/Spring/Spring/DesignableTextField.swift /Users/parkingsq1/Documents/PushPill/PushPillClient/Pods/Spring/Spring/DesignableTextView.swift /Users/parkingsq1/Documents/PushPill/PushPillClient/Pods/Spring/Spring/DesignableView.swift /Users/parkingsq1/Documents/PushPill/PushPillClient/Pods/Spring/Spring/ImageLoader.swift /Users/parkingsq1/Documents/PushPill/PushPillClient/Pods/Spring/Spring/KeyboardLayoutConstraint.swift /Users/parkingsq1/Documents/PushPill/PushPillClient/Pods/Spring/Spring/LoadingView.swift /Users/parkingsq1/Documents/PushPill/PushPillClient/Pods/Spring/Spring/Misc.swift /Users/parkingsq1/Documents/PushPill/PushPillClient/Pods/Spring/Spring/SoundPlayer.swift /Users/parkingsq1/Documents/PushPill/PushPillClient/Pods/Spring/Spring/Spring.swift /Users/parkingsq1/Documents/PushPill/PushPillClient/Pods/Spring/Spring/SpringAnimation.swift /Users/parkingsq1/Documents/PushPill/PushPillClient/Pods/Spring/Spring/SpringButton.swift /Users/parkingsq1/Documents/PushPill/PushPillClient/Pods/Spring/Spring/SpringImageView.swift /Users/parkingsq1/Documents/PushPill/PushPillClient/Pods/Spring/Spring/SpringLabel.swift /Users/parkingsq1/Documents/PushPill/PushPillClient/Pods/Spring/Spring/SpringTextField.swift /Users/parkingsq1/Documents/PushPill/PushPillClient/Pods/Spring/Spring/SpringTextView.swift /Users/parkingsq1/Documents/PushPill/PushPillClient/Pods/Spring/Spring/SpringView.swift /Users/parkingsq1/Documents/PushPill/PushPillClient/Pods/Spring/Spring/TransitionManager.swift /Users/parkingsq1/Documents/PushPill/PushPillClient/Pods/Spring/Spring/TransitionZoom.swift /Users/parkingsq1/Documents/PushPill/PushPillClient/Pods/Spring/Spring/UnwindSegue.swift /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Swift.swiftmodule /Users/parkingsq1/Documents/PushPill/PushPillClient/Pods/Target\ Support\ Files/Spring/Spring-umbrella.h /Users/parkingsq1/Documents/PushPill/PushPillClient/DerivedData/PushPill/Build/Intermediates/IBDesignables/Intermediates/Pods.build/Debug-iphonesimulator/Spring.build/unextended-module.modulemap /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/UIKit.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Foundation.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Darwin.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Dispatch.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/ObjectiveC.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreGraphics.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreImage.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreAudio.swiftmodule
/Users/parkingsq1/Documents/PushPill/PushPillClient/DerivedData/PushPill/Build/Intermediates/IBDesignables/Intermediates/Pods.build/Debug-iphonesimulator/Spring.build/Objects-normal/x86_64/SpringImageView~partial.swiftmodule : /Users/parkingsq1/Documents/PushPill/PushPillClient/Pods/Spring/Spring/AsyncButton.swift /Users/parkingsq1/Documents/PushPill/PushPillClient/Pods/Spring/Spring/AsyncImageView.swift /Users/parkingsq1/Documents/PushPill/PushPillClient/Pods/Spring/Spring/AutoTextView.swift /Users/parkingsq1/Documents/PushPill/PushPillClient/Pods/Spring/Spring/BlurView.swift /Users/parkingsq1/Documents/PushPill/PushPillClient/Pods/Spring/Spring/DesignableButton.swift /Users/parkingsq1/Documents/PushPill/PushPillClient/Pods/Spring/Spring/DesignableImageView.swift /Users/parkingsq1/Documents/PushPill/PushPillClient/Pods/Spring/Spring/DesignableLabel.swift /Users/parkingsq1/Documents/PushPill/PushPillClient/Pods/Spring/Spring/DesignableTabBarController.swift /Users/parkingsq1/Documents/PushPill/PushPillClient/Pods/Spring/Spring/DesignableTextField.swift /Users/parkingsq1/Documents/PushPill/PushPillClient/Pods/Spring/Spring/DesignableTextView.swift /Users/parkingsq1/Documents/PushPill/PushPillClient/Pods/Spring/Spring/DesignableView.swift /Users/parkingsq1/Documents/PushPill/PushPillClient/Pods/Spring/Spring/ImageLoader.swift /Users/parkingsq1/Documents/PushPill/PushPillClient/Pods/Spring/Spring/KeyboardLayoutConstraint.swift /Users/parkingsq1/Documents/PushPill/PushPillClient/Pods/Spring/Spring/LoadingView.swift /Users/parkingsq1/Documents/PushPill/PushPillClient/Pods/Spring/Spring/Misc.swift /Users/parkingsq1/Documents/PushPill/PushPillClient/Pods/Spring/Spring/SoundPlayer.swift /Users/parkingsq1/Documents/PushPill/PushPillClient/Pods/Spring/Spring/Spring.swift /Users/parkingsq1/Documents/PushPill/PushPillClient/Pods/Spring/Spring/SpringAnimation.swift /Users/parkingsq1/Documents/PushPill/PushPillClient/Pods/Spring/Spring/SpringButton.swift /Users/parkingsq1/Documents/PushPill/PushPillClient/Pods/Spring/Spring/SpringImageView.swift /Users/parkingsq1/Documents/PushPill/PushPillClient/Pods/Spring/Spring/SpringLabel.swift /Users/parkingsq1/Documents/PushPill/PushPillClient/Pods/Spring/Spring/SpringTextField.swift /Users/parkingsq1/Documents/PushPill/PushPillClient/Pods/Spring/Spring/SpringTextView.swift /Users/parkingsq1/Documents/PushPill/PushPillClient/Pods/Spring/Spring/SpringView.swift /Users/parkingsq1/Documents/PushPill/PushPillClient/Pods/Spring/Spring/TransitionManager.swift /Users/parkingsq1/Documents/PushPill/PushPillClient/Pods/Spring/Spring/TransitionZoom.swift /Users/parkingsq1/Documents/PushPill/PushPillClient/Pods/Spring/Spring/UnwindSegue.swift /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Swift.swiftmodule /Users/parkingsq1/Documents/PushPill/PushPillClient/Pods/Target\ Support\ Files/Spring/Spring-umbrella.h /Users/parkingsq1/Documents/PushPill/PushPillClient/DerivedData/PushPill/Build/Intermediates/IBDesignables/Intermediates/Pods.build/Debug-iphonesimulator/Spring.build/unextended-module.modulemap /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/UIKit.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Foundation.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Darwin.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Dispatch.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/ObjectiveC.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreGraphics.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreImage.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreAudio.swiftmodule
/Users/parkingsq1/Documents/PushPill/PushPillClient/DerivedData/PushPill/Build/Intermediates/IBDesignables/Intermediates/Pods.build/Debug-iphonesimulator/Spring.build/Objects-normal/x86_64/SpringImageView~partial.swiftdoc : /Users/parkingsq1/Documents/PushPill/PushPillClient/Pods/Spring/Spring/AsyncButton.swift /Users/parkingsq1/Documents/PushPill/PushPillClient/Pods/Spring/Spring/AsyncImageView.swift /Users/parkingsq1/Documents/PushPill/PushPillClient/Pods/Spring/Spring/AutoTextView.swift /Users/parkingsq1/Documents/PushPill/PushPillClient/Pods/Spring/Spring/BlurView.swift /Users/parkingsq1/Documents/PushPill/PushPillClient/Pods/Spring/Spring/DesignableButton.swift /Users/parkingsq1/Documents/PushPill/PushPillClient/Pods/Spring/Spring/DesignableImageView.swift /Users/parkingsq1/Documents/PushPill/PushPillClient/Pods/Spring/Spring/DesignableLabel.swift /Users/parkingsq1/Documents/PushPill/PushPillClient/Pods/Spring/Spring/DesignableTabBarController.swift /Users/parkingsq1/Documents/PushPill/PushPillClient/Pods/Spring/Spring/DesignableTextField.swift /Users/parkingsq1/Documents/PushPill/PushPillClient/Pods/Spring/Spring/DesignableTextView.swift /Users/parkingsq1/Documents/PushPill/PushPillClient/Pods/Spring/Spring/DesignableView.swift /Users/parkingsq1/Documents/PushPill/PushPillClient/Pods/Spring/Spring/ImageLoader.swift /Users/parkingsq1/Documents/PushPill/PushPillClient/Pods/Spring/Spring/KeyboardLayoutConstraint.swift /Users/parkingsq1/Documents/PushPill/PushPillClient/Pods/Spring/Spring/LoadingView.swift /Users/parkingsq1/Documents/PushPill/PushPillClient/Pods/Spring/Spring/Misc.swift /Users/parkingsq1/Documents/PushPill/PushPillClient/Pods/Spring/Spring/SoundPlayer.swift /Users/parkingsq1/Documents/PushPill/PushPillClient/Pods/Spring/Spring/Spring.swift /Users/parkingsq1/Documents/PushPill/PushPillClient/Pods/Spring/Spring/SpringAnimation.swift /Users/parkingsq1/Documents/PushPill/PushPillClient/Pods/Spring/Spring/SpringButton.swift /Users/parkingsq1/Documents/PushPill/PushPillClient/Pods/Spring/Spring/SpringImageView.swift /Users/parkingsq1/Documents/PushPill/PushPillClient/Pods/Spring/Spring/SpringLabel.swift /Users/parkingsq1/Documents/PushPill/PushPillClient/Pods/Spring/Spring/SpringTextField.swift /Users/parkingsq1/Documents/PushPill/PushPillClient/Pods/Spring/Spring/SpringTextView.swift /Users/parkingsq1/Documents/PushPill/PushPillClient/Pods/Spring/Spring/SpringView.swift /Users/parkingsq1/Documents/PushPill/PushPillClient/Pods/Spring/Spring/TransitionManager.swift /Users/parkingsq1/Documents/PushPill/PushPillClient/Pods/Spring/Spring/TransitionZoom.swift /Users/parkingsq1/Documents/PushPill/PushPillClient/Pods/Spring/Spring/UnwindSegue.swift /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Swift.swiftmodule /Users/parkingsq1/Documents/PushPill/PushPillClient/Pods/Target\ Support\ Files/Spring/Spring-umbrella.h /Users/parkingsq1/Documents/PushPill/PushPillClient/DerivedData/PushPill/Build/Intermediates/IBDesignables/Intermediates/Pods.build/Debug-iphonesimulator/Spring.build/unextended-module.modulemap /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/UIKit.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Foundation.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Darwin.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Dispatch.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/ObjectiveC.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreGraphics.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreImage.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreAudio.swiftmodule
|
D
|
/Users/victornascimento/Documents/Projects/Rust/pong_with_rust/pong_with_rust/target/debug/deps/cfg_if-0b45b0c31f2ca3ad.rmeta: /Users/victornascimento/.cargo/registry/src/github.com-1ecc6299db9ec823/cfg-if-1.0.0/src/lib.rs
/Users/victornascimento/Documents/Projects/Rust/pong_with_rust/pong_with_rust/target/debug/deps/libcfg_if-0b45b0c31f2ca3ad.rlib: /Users/victornascimento/.cargo/registry/src/github.com-1ecc6299db9ec823/cfg-if-1.0.0/src/lib.rs
/Users/victornascimento/Documents/Projects/Rust/pong_with_rust/pong_with_rust/target/debug/deps/cfg_if-0b45b0c31f2ca3ad.d: /Users/victornascimento/.cargo/registry/src/github.com-1ecc6299db9ec823/cfg-if-1.0.0/src/lib.rs
/Users/victornascimento/.cargo/registry/src/github.com-1ecc6299db9ec823/cfg-if-1.0.0/src/lib.rs:
|
D
|
/Users/doriankinoocrutcher/Documents/NEAR/New_Example_Creation/simple-nft-rust-example/contract/target/release/build/ryu-0a9a4fe8bec5b15d/build_script_build-0a9a4fe8bec5b15d: /Users/doriankinoocrutcher/.cargo/registry/src/github.com-1ecc6299db9ec823/ryu-1.0.5/build.rs
/Users/doriankinoocrutcher/Documents/NEAR/New_Example_Creation/simple-nft-rust-example/contract/target/release/build/ryu-0a9a4fe8bec5b15d/build_script_build-0a9a4fe8bec5b15d.d: /Users/doriankinoocrutcher/.cargo/registry/src/github.com-1ecc6299db9ec823/ryu-1.0.5/build.rs
/Users/doriankinoocrutcher/.cargo/registry/src/github.com-1ecc6299db9ec823/ryu-1.0.5/build.rs:
|
D
|
/**
* Compiler implementation of the
* $(LINK2 http://www.dlang.org, D programming language).
*
* Copyright: Copyright (c) 1999-2017 by Digital Mars, All Rights Reserved
* Authors: $(LINK2 http://www.digitalmars.com, Walter Bright)
* License: $(LINK2 http://www.boost.org/LICENSE_1_0.txt, Boost License 1.0)
* Source: $(DMDSRC _parse.d)
*/
module ddmd.parse;
import core.stdc.stdio;
import core.stdc.string;
import ddmd.globals;
import ddmd.id;
import ddmd.identifier;
import ddmd.lexer;
import ddmd.errors;
import ddmd.root.filename;
import ddmd.root.outbuffer;
import ddmd.root.rmem;
import ddmd.root.rootobject;
import ddmd.tokens;
// How multiple declarations are parsed.
// If 1, treat as C.
// If 0, treat:
// int *p, i;
// as:
// int* p;
// int* i;
enum CDECLSYNTAX = 0;
// Support C cast syntax:
// (type)(expression)
enum CCASTSYNTAX = 1;
// Support postfix C array declarations, such as
// int a[3][4];
enum CARRAYDECL = 1;
/**********************************
* Set operator precedence for each operator.
*/
__gshared PREC[TOKMAX] precedence =
[
TOKtype : PREC.expr,
TOKerror : PREC.expr,
TOKtypeof : PREC.primary,
TOKmixin : PREC.primary,
TOKimport : PREC.primary,
TOKdotvar : PREC.primary,
TOKscope : PREC.primary,
TOKidentifier : PREC.primary,
TOKthis : PREC.primary,
TOKsuper : PREC.primary,
TOKint64 : PREC.primary,
TOKfloat64 : PREC.primary,
TOKcomplex80 : PREC.primary,
TOKnull : PREC.primary,
TOKstring : PREC.primary,
TOKarrayliteral : PREC.primary,
TOKassocarrayliteral : PREC.primary,
TOKclassreference : PREC.primary,
TOKfile : PREC.primary,
TOKfilefullpath : PREC.primary,
TOKline : PREC.primary,
TOKmodulestring : PREC.primary,
TOKfuncstring : PREC.primary,
TOKprettyfunc : PREC.primary,
TOKtypeid : PREC.primary,
TOKis : PREC.primary,
TOKassert : PREC.primary,
TOKhalt : PREC.primary,
TOKtemplate : PREC.primary,
TOKdsymbol : PREC.primary,
TOKfunction : PREC.primary,
TOKvar : PREC.primary,
TOKsymoff : PREC.primary,
TOKstructliteral : PREC.primary,
TOKarraylength : PREC.primary,
TOKdelegateptr : PREC.primary,
TOKdelegatefuncptr : PREC.primary,
TOKremove : PREC.primary,
TOKtuple : PREC.primary,
TOKtraits : PREC.primary,
TOKdefault : PREC.primary,
TOKoverloadset : PREC.primary,
TOKvoid : PREC.primary,
// post
TOKdotti : PREC.primary,
TOKdotid : PREC.primary,
TOKdottd : PREC.primary,
TOKdot : PREC.primary,
TOKdottype : PREC.primary,
TOKplusplus : PREC.primary,
TOKminusminus : PREC.primary,
TOKpreplusplus : PREC.primary,
TOKpreminusminus : PREC.primary,
TOKcall : PREC.primary,
TOKslice : PREC.primary,
TOKarray : PREC.primary,
TOKindex : PREC.primary,
TOKdelegate : PREC.unary,
TOKaddress : PREC.unary,
TOKstar : PREC.unary,
TOKneg : PREC.unary,
TOKuadd : PREC.unary,
TOKnot : PREC.unary,
TOKtilde : PREC.unary,
TOKdelete : PREC.unary,
TOKnew : PREC.unary,
TOKnewanonclass : PREC.unary,
TOKcast : PREC.unary,
TOKvector : PREC.unary,
TOKpow : PREC.pow,
TOKmul : PREC.mul,
TOKdiv : PREC.mul,
TOKmod : PREC.mul,
TOKadd : PREC.add,
TOKmin : PREC.add,
TOKcat : PREC.add,
TOKshl : PREC.shift,
TOKshr : PREC.shift,
TOKushr : PREC.shift,
TOKlt : PREC.rel,
TOKle : PREC.rel,
TOKgt : PREC.rel,
TOKge : PREC.rel,
TOKunord : PREC.rel,
TOKlg : PREC.rel,
TOKleg : PREC.rel,
TOKule : PREC.rel,
TOKul : PREC.rel,
TOKuge : PREC.rel,
TOKug : PREC.rel,
TOKue : PREC.rel,
TOKin : PREC.rel,
/* Note that we changed precedence, so that < and != have the same
* precedence. This change is in the parser, too.
*/
TOKequal : PREC.rel,
TOKnotequal : PREC.rel,
TOKidentity : PREC.rel,
TOKnotidentity : PREC.rel,
TOKand : PREC.and,
TOKxor : PREC.xor,
TOKor : PREC.or,
TOKandand : PREC.andand,
TOKoror : PREC.oror,
TOKquestion : PREC.cond,
TOKassign : PREC.assign,
TOKconstruct : PREC.assign,
TOKblit : PREC.assign,
TOKaddass : PREC.assign,
TOKminass : PREC.assign,
TOKcatass : PREC.assign,
TOKmulass : PREC.assign,
TOKdivass : PREC.assign,
TOKmodass : PREC.assign,
TOKpowass : PREC.assign,
TOKshlass : PREC.assign,
TOKshrass : PREC.assign,
TOKushrass : PREC.assign,
TOKandass : PREC.assign,
TOKorass : PREC.assign,
TOKxorass : PREC.assign,
TOKcomma : PREC.expr,
TOKdeclaration : PREC.expr,
TOKinterval : PREC.assign,
];
enum ParseStatementFlags : int
{
PSsemi = 1, // empty ';' statements are allowed, but deprecated
PSscope = 2, // start a new scope
PScurly = 4, // { } statement is required
PScurlyscope = 8, // { } starts a new scope
PSsemi_ok = 0x10, // empty ';' are really ok
}
alias PSsemi = ParseStatementFlags.PSsemi;
alias PSscope = ParseStatementFlags.PSscope;
alias PScurly = ParseStatementFlags.PScurly;
alias PScurlyscope = ParseStatementFlags.PScurlyscope;
alias PSsemi_ok = ParseStatementFlags.PSsemi_ok;
struct PrefixAttributes(AST)
{
StorageClass storageClass;
AST.Expression depmsg;
LINK link;
AST.Prot protection;
bool setAlignment;
AST.Expression ealign;
AST.Expressions* udas;
const(char)* comment;
}
/*****************************
* Destructively extract storage class from pAttrs.
*/
private StorageClass getStorageClass(AST)(PrefixAttributes!(AST)* pAttrs)
{
StorageClass stc = AST.STCundefined;
if (pAttrs)
{
stc = pAttrs.storageClass;
pAttrs.storageClass = AST.STCundefined;
}
return stc;
}
/***********************************************************
*/
final class Parser(AST) : Lexer
{
AST.Module mod;
AST.ModuleDeclaration* md;
LINK linkage;
CPPMANGLE cppmangle;
Loc endloc; // set to location of last right curly
int inBrackets; // inside [] of array index or slice
Loc lookingForElse; // location of lonely if looking for an else
/*********************
* Use this constructor for string mixins.
* Input:
* loc location in source file of mixin
*/
extern (D) this(Loc loc, AST.Module _module, const(char)[] input, bool doDocComment)
{
super(_module ? _module.srcfile.toChars() : null, input.ptr, 0, input.length, doDocComment, false);
//printf("Parser::Parser()\n");
scanloc = loc;
if (loc.filename)
{
/* Create a pseudo-filename for the mixin string, as it may not even exist
* in the source file.
*/
char* filename = cast(char*)mem.xmalloc(strlen(loc.filename) + 7 + (loc.linnum).sizeof * 3 + 1);
sprintf(filename, "%s-mixin-%d", loc.filename, cast(int)loc.linnum);
scanloc.filename = filename;
}
mod = _module;
linkage = LINKd;
//nextToken(); // start up the scanner
}
extern (D) this(AST.Module _module, const(char)[] input, bool doDocComment)
{
super(_module ? _module.srcfile.toChars() : null, input.ptr, 0, input.length, doDocComment, false);
//printf("Parser::Parser()\n");
mod = _module;
linkage = LINKd;
//nextToken(); // start up the scanner
}
AST.Dsymbols* parseModule()
{
const comment = token.blockComment;
bool isdeprecated = false;
AST.Expression msg = null;
AST.Expressions* udas = null;
AST.Dsymbols* decldefs;
AST.Dsymbol lastDecl = mod; // for attaching ddoc unittests to module decl
Token* tk;
if (skipAttributes(&token, &tk) && tk.value == TOKmodule)
{
while (token.value != TOKmodule)
{
switch (token.value)
{
case TOKdeprecated:
{
// deprecated (...) module ...
if (isdeprecated)
{
error("there is only one deprecation attribute allowed for module declaration");
}
else
{
isdeprecated = true;
}
nextToken();
if (token.value == TOKlparen)
{
check(TOKlparen);
msg = parseAssignExp();
check(TOKrparen);
}
break;
}
case TOKat:
{
AST.Expressions* exps = null;
const stc = parseAttribute(&exps);
if (stc == AST.STCproperty || stc == AST.STCnogc
|| stc == AST.STCdisable || stc == AST.STCsafe
|| stc == AST.STCtrusted || stc == AST.STCsystem)
{
error("@%s attribute for module declaration is not supported", token.toChars());
}
else
{
udas = AST.UserAttributeDeclaration.concat(udas, exps);
}
if (stc)
nextToken();
break;
}
default:
{
error("'module' expected instead of %s", token.toChars());
nextToken();
break;
}
}
}
}
if (udas)
{
auto a = new AST.Dsymbols();
auto udad = new AST.UserAttributeDeclaration(udas, a);
mod.userAttribDecl = udad;
}
// ModuleDeclation leads off
if (token.value == TOKmodule)
{
const loc = token.loc;
nextToken();
if (token.value != TOKidentifier)
{
error("identifier expected following module");
goto Lerr;
}
else
{
AST.Identifiers* a = null;
Identifier id = token.ident;
while (nextToken() == TOKdot)
{
if (!a)
a = new AST.Identifiers();
a.push(id);
nextToken();
if (token.value != TOKidentifier)
{
error("identifier expected following package");
goto Lerr;
}
id = token.ident;
}
md = new AST.ModuleDeclaration(loc, a, id, msg, isdeprecated);
if (token.value != TOKsemicolon)
error("';' expected following module declaration instead of %s", token.toChars());
nextToken();
addComment(mod, comment);
}
}
decldefs = parseDeclDefs(0, &lastDecl);
if (token.value != TOKeof)
{
error(token.loc, "unrecognized declaration");
goto Lerr;
}
return decldefs;
Lerr:
while (token.value != TOKsemicolon && token.value != TOKeof)
nextToken();
nextToken();
return new AST.Dsymbols();
}
AST.Dsymbols* parseDeclDefs(int once, AST.Dsymbol* pLastDecl = null, PrefixAttributes!AST* pAttrs = null)
{
AST.Dsymbol lastDecl = null; // used to link unittest to its previous declaration
if (!pLastDecl)
pLastDecl = &lastDecl;
const linksave = linkage; // save global state
//printf("Parser::parseDeclDefs()\n");
auto decldefs = new AST.Dsymbols();
do
{
// parse result
AST.Dsymbol s = null;
AST.Dsymbols* a = null;
PrefixAttributes!AST attrs;
if (!once || !pAttrs)
{
pAttrs = &attrs;
pAttrs.comment = token.blockComment;
}
AST.PROTKIND prot;
StorageClass stc;
AST.Condition condition;
linkage = linksave;
switch (token.value)
{
case TOKenum:
{
/* Determine if this is a manifest constant declaration,
* or a conventional enum.
*/
Token* t = peek(&token);
if (t.value == TOKlcurly || t.value == TOKcolon)
s = parseEnum();
else if (t.value != TOKidentifier)
goto Ldeclaration;
else
{
t = peek(t);
if (t.value == TOKlcurly || t.value == TOKcolon || t.value == TOKsemicolon)
s = parseEnum();
else
goto Ldeclaration;
}
break;
}
case TOKimport:
a = parseImport();
// keep pLastDecl
break;
case TOKtemplate:
s = cast(AST.Dsymbol)parseTemplateDeclaration();
break;
case TOKmixin:
{
const loc = token.loc;
switch (peekNext())
{
case TOKlparen:
{
// mixin(string)
nextToken();
check(TOKlparen, "mixin");
AST.Expression e = parseAssignExp();
check(TOKrparen);
check(TOKsemicolon);
s = new AST.CompileDeclaration(loc, e);
break;
}
case TOKtemplate:
// mixin template
nextToken();
s = cast(AST.Dsymbol)parseTemplateDeclaration(true);
break;
default:
s = parseMixin();
break;
}
break;
}
case TOKwchar:
case TOKdchar:
case TOKbool:
case TOKchar:
case TOKint8:
case TOKuns8:
case TOKint16:
case TOKuns16:
case TOKint32:
case TOKuns32:
case TOKint64:
case TOKuns64:
case TOKint128:
case TOKuns128:
case TOKfloat32:
case TOKfloat64:
case TOKfloat80:
case TOKimaginary32:
case TOKimaginary64:
case TOKimaginary80:
case TOKcomplex32:
case TOKcomplex64:
case TOKcomplex80:
case TOKvoid:
case TOKalias:
case TOKidentifier:
case TOKsuper:
case TOKtypeof:
case TOKdot:
case TOKvector:
case TOKstruct:
case TOKunion:
case TOKclass:
case TOKinterface:
Ldeclaration:
a = parseDeclarations(false, pAttrs, pAttrs.comment);
if (a && a.dim)
*pLastDecl = (*a)[a.dim - 1];
break;
case TOKthis:
if (peekNext() == TOKdot)
goto Ldeclaration;
else
s = parseCtor(pAttrs);
break;
case TOKtilde:
s = parseDtor(pAttrs);
break;
case TOKinvariant:
{
Token* t = peek(&token);
if (t.value == TOKlparen && peek(t).value == TOKrparen || t.value == TOKlcurly)
{
// invariant {}
// invariant() {}
s = parseInvariant(pAttrs);
}
else
{
error("invariant body expected, not '%s'", token.toChars());
goto Lerror;
}
break;
}
case TOKunittest:
if (global.params.useUnitTests || global.params.doDocComments || global.params.doHdrGeneration)
{
s = parseUnitTest(pAttrs);
if (*pLastDecl)
(*pLastDecl).ddocUnittest = cast(AST.UnitTestDeclaration)s;
}
else
{
// Skip over unittest block by counting { }
Loc loc = token.loc;
int braces = 0;
while (1)
{
nextToken();
switch (token.value)
{
case TOKlcurly:
++braces;
continue;
case TOKrcurly:
if (--braces)
continue;
nextToken();
break;
case TOKeof:
/* { */
error(loc, "closing } of unittest not found before end of file");
goto Lerror;
default:
continue;
}
break;
}
// Workaround 14894. Add an empty unittest declaration to keep
// the number of symbols in this scope independent of -unittest.
s = new AST.UnitTestDeclaration(loc, token.loc, AST.STCundefined, null);
}
break;
case TOKnew:
s = parseNew(pAttrs);
break;
case TOKdelete:
s = parseDelete(pAttrs);
break;
case TOKcolon:
case TOKlcurly:
error("declaration expected, not '%s'", token.toChars());
goto Lerror;
case TOKrcurly:
case TOKeof:
if (once)
error("declaration expected, not '%s'", token.toChars());
return decldefs;
case TOKstatic:
{
const next = peekNext();
if (next == TOKthis)
s = parseStaticCtor(pAttrs);
else if (next == TOKtilde)
s = parseStaticDtor(pAttrs);
else if (next == TOKassert)
s = parseStaticAssert();
else if (next == TOKif)
{
condition = parseStaticIfCondition();
AST.Dsymbols* athen;
if (token.value == TOKcolon)
athen = parseBlock(pLastDecl);
else
{
const lookingForElseSave = lookingForElse;
lookingForElse = token.loc;
athen = parseBlock(pLastDecl);
lookingForElse = lookingForElseSave;
}
AST.Dsymbols* aelse = null;
if (token.value == TOKelse)
{
const elseloc = token.loc;
nextToken();
aelse = parseBlock(pLastDecl);
checkDanglingElse(elseloc);
}
s = new AST.StaticIfDeclaration(condition, athen, aelse);
}
else if (next == TOKimport)
{
a = parseImport();
// keep pLastDecl
}
else
{
stc = AST.STCstatic;
goto Lstc;
}
break;
}
case TOKconst:
if (peekNext() == TOKlparen)
goto Ldeclaration;
stc = AST.STCconst;
goto Lstc;
case TOKimmutable:
if (peekNext() == TOKlparen)
goto Ldeclaration;
stc = AST.STCimmutable;
goto Lstc;
case TOKshared:
{
const next = peekNext();
if (next == TOKlparen)
goto Ldeclaration;
if (next == TOKstatic)
{
TOK next2 = peekNext2();
if (next2 == TOKthis)
{
s = parseSharedStaticCtor(pAttrs);
break;
}
if (next2 == TOKtilde)
{
s = parseSharedStaticDtor(pAttrs);
break;
}
}
stc = AST.STCshared;
goto Lstc;
}
case TOKwild:
if (peekNext() == TOKlparen)
goto Ldeclaration;
stc = AST.STCwild;
goto Lstc;
case TOKfinal:
stc = AST.STCfinal;
goto Lstc;
case TOKauto:
stc = AST.STCauto;
goto Lstc;
case TOKscope:
stc = AST.STCscope;
goto Lstc;
case TOKoverride:
stc = AST.STCoverride;
goto Lstc;
case TOKabstract:
stc = AST.STCabstract;
goto Lstc;
case TOKsynchronized:
stc = AST.STCsynchronized;
goto Lstc;
case TOKnothrow:
stc = AST.STCnothrow;
goto Lstc;
case TOKpure:
stc = AST.STCpure;
goto Lstc;
case TOKref:
stc = AST.STCref;
goto Lstc;
case TOKgshared:
stc = AST.STCgshared;
goto Lstc;
//case TOKmanifest: stc = STCmanifest; goto Lstc;
case TOKat:
{
AST.Expressions* exps = null;
stc = parseAttribute(&exps);
if (stc)
goto Lstc; // it's a predefined attribute
// no redundant/conflicting check for UDAs
pAttrs.udas = AST.UserAttributeDeclaration.concat(pAttrs.udas, exps);
goto Lautodecl;
}
Lstc:
pAttrs.storageClass = appendStorageClass(pAttrs.storageClass, stc);
nextToken();
Lautodecl:
Token* tk;
/* Look for auto initializers:
* storage_class identifier = initializer;
* storage_class identifier(...) = initializer;
*/
if (token.value == TOKidentifier && skipParensIf(peek(&token), &tk) && tk.value == TOKassign)
{
a = parseAutoDeclarations(getStorageClass!AST(pAttrs), pAttrs.comment);
if (a && a.dim)
*pLastDecl = (*a)[a.dim - 1];
if (pAttrs.udas)
{
s = new AST.UserAttributeDeclaration(pAttrs.udas, a);
pAttrs.udas = null;
}
break;
}
/* Look for return type inference for template functions.
*/
if (token.value == TOKidentifier && skipParens(peek(&token), &tk) && skipAttributes(tk, &tk) && (tk.value == TOKlparen || tk.value == TOKlcurly || tk.value == TOKin || tk.value == TOKout || tk.value == TOKbody))
{
a = parseDeclarations(true, pAttrs, pAttrs.comment);
if (a && a.dim)
*pLastDecl = (*a)[a.dim - 1];
if (pAttrs.udas)
{
s = new AST.UserAttributeDeclaration(pAttrs.udas, a);
pAttrs.udas = null;
}
break;
}
a = parseBlock(pLastDecl, pAttrs);
auto stc2 = getStorageClass!AST(pAttrs);
if (stc2 != AST.STCundefined)
{
s = new AST.StorageClassDeclaration(stc2, a);
}
if (pAttrs.udas)
{
if (s)
{
a = new AST.Dsymbols();
a.push(s);
}
s = new AST.UserAttributeDeclaration(pAttrs.udas, a);
pAttrs.udas = null;
}
break;
case TOKdeprecated:
{
if (peek(&token).value != TOKlparen)
{
stc = AST.STCdeprecated;
goto Lstc;
}
nextToken();
check(TOKlparen);
AST.Expression e = parseAssignExp();
check(TOKrparen);
if (pAttrs.depmsg)
{
error("conflicting storage class 'deprecated(%s)' and 'deprecated(%s)'", pAttrs.depmsg.toChars(), e.toChars());
}
pAttrs.depmsg = e;
a = parseBlock(pLastDecl, pAttrs);
if (pAttrs.depmsg)
{
s = new AST.DeprecatedDeclaration(pAttrs.depmsg, a);
pAttrs.depmsg = null;
}
break;
}
case TOKlbracket:
{
if (peekNext() == TOKrbracket)
error("empty attribute list is not allowed");
error("use @(attributes) instead of [attributes]");
AST.Expressions* exps = parseArguments();
// no redundant/conflicting check for UDAs
pAttrs.udas = AST.UserAttributeDeclaration.concat(pAttrs.udas, exps);
a = parseBlock(pLastDecl, pAttrs);
if (pAttrs.udas)
{
s = new AST.UserAttributeDeclaration(pAttrs.udas, a);
pAttrs.udas = null;
}
break;
}
case TOKextern:
{
if (peek(&token).value != TOKlparen)
{
stc = AST.STCextern;
goto Lstc;
}
const linkLoc = token.loc;
AST.Identifiers* idents = null;
CPPMANGLE cppmangle;
const link = parseLinkage(&idents, cppmangle);
if (pAttrs.link != LINKdefault)
{
if (pAttrs.link != link)
{
error("conflicting linkage extern (%s) and extern (%s)", AST.linkageToChars(pAttrs.link), AST.linkageToChars(link));
}
else if (idents)
{
// Allow:
// extern(C++, foo) extern(C++, bar) void foo();
// to be equivalent with:
// extern(C++, foo.bar) void foo();
}
else
error("redundant linkage extern (%s)", AST.linkageToChars(pAttrs.link));
}
pAttrs.link = link;
this.linkage = link;
a = parseBlock(pLastDecl, pAttrs);
if (idents)
{
assert(link == LINKcpp);
assert(idents.dim);
for (size_t i = idents.dim; i;)
{
Identifier id = (*idents)[--i];
if (s)
{
a = new AST.Dsymbols();
a.push(s);
}
s = new AST.Nspace(linkLoc, id, a);
}
pAttrs.link = LINKdefault;
}
else if (cppmangle != CPPMANGLE.def)
{
assert(link == LINKcpp);
s = new AST.CPPMangleDeclaration(cppmangle, a);
}
else if (pAttrs.link != LINKdefault)
{
s = new AST.LinkDeclaration(pAttrs.link, a);
pAttrs.link = LINKdefault;
}
break;
}
case TOKprivate:
prot = AST.PROTprivate;
goto Lprot;
case TOKpackage:
prot = AST.PROTpackage;
goto Lprot;
case TOKprotected:
prot = AST.PROTprotected;
goto Lprot;
case TOKpublic:
prot = AST.PROTpublic;
goto Lprot;
case TOKexport:
prot = AST.PROTexport;
goto Lprot;
Lprot:
{
if (pAttrs.protection.kind != AST.PROTundefined)
{
if (pAttrs.protection.kind != prot)
error("conflicting protection attribute '%s' and '%s'", AST.protectionToChars(pAttrs.protection.kind), AST.protectionToChars(prot));
else
error("redundant protection attribute '%s'", AST.protectionToChars(prot));
}
pAttrs.protection.kind = prot;
nextToken();
// optional qualified package identifier to bind
// protection to
AST.Identifiers* pkg_prot_idents = null;
if (pAttrs.protection.kind == AST.PROTpackage && token.value == TOKlparen)
{
pkg_prot_idents = parseQualifiedIdentifier("protection package");
if (pkg_prot_idents)
check(TOKrparen);
else
{
while (token.value != TOKsemicolon && token.value != TOKeof)
nextToken();
nextToken();
break;
}
}
const attrloc = token.loc;
a = parseBlock(pLastDecl, pAttrs);
if (pAttrs.protection.kind != AST.PROTundefined)
{
if (pAttrs.protection.kind == AST.PROTpackage && pkg_prot_idents)
s = new AST.ProtDeclaration(attrloc, pkg_prot_idents, a);
else
s = new AST.ProtDeclaration(attrloc, pAttrs.protection, a);
pAttrs.protection = AST.Prot(AST.PROTundefined);
}
break;
}
case TOKalign:
{
const attrLoc = token.loc;
nextToken();
AST.Expression e = null; // default
if (token.value == TOKlparen)
{
nextToken();
e = parseAssignExp();
check(TOKrparen);
}
if (pAttrs.setAlignment)
{
if (e)
error("redundant alignment attribute align(%s)", e.toChars());
else
error("redundant alignment attribute align");
}
pAttrs.setAlignment = true;
pAttrs.ealign = e;
a = parseBlock(pLastDecl, pAttrs);
if (pAttrs.setAlignment)
{
s = new AST.AlignDeclaration(attrLoc, pAttrs.ealign, a);
pAttrs.setAlignment = false;
pAttrs.ealign = null;
}
break;
}
case TOKpragma:
{
AST.Expressions* args = null;
const loc = token.loc;
nextToken();
check(TOKlparen);
if (token.value != TOKidentifier)
{
error("pragma(identifier) expected");
goto Lerror;
}
Identifier ident = token.ident;
nextToken();
if (token.value == TOKcomma && peekNext() != TOKrparen)
args = parseArguments(); // pragma(identifier, args...)
else
check(TOKrparen); // pragma(identifier)
AST.Dsymbols* a2 = null;
if (token.value == TOKsemicolon)
{
/* https://issues.dlang.org/show_bug.cgi?id=2354
* Accept single semicolon as an empty
* DeclarationBlock following attribute.
*
* Attribute DeclarationBlock
* Pragma DeclDef
* ;
*/
nextToken();
}
else
a2 = parseBlock(pLastDecl);
s = new AST.PragmaDeclaration(loc, ident, args, a2);
break;
}
case TOKdebug:
nextToken();
if (token.value == TOKassign)
{
nextToken();
if (token.value == TOKidentifier)
s = new AST.DebugSymbol(token.loc, token.ident);
else if (token.value == TOKint32v || token.value == TOKint64v)
s = new AST.DebugSymbol(token.loc, cast(uint)token.uns64value);
else
{
error("identifier or integer expected, not %s", token.toChars());
s = null;
}
nextToken();
if (token.value != TOKsemicolon)
error("semicolon expected");
nextToken();
break;
}
condition = parseDebugCondition();
goto Lcondition;
case TOKversion:
nextToken();
if (token.value == TOKassign)
{
nextToken();
if (token.value == TOKidentifier)
s = new AST.VersionSymbol(token.loc, token.ident);
else if (token.value == TOKint32v || token.value == TOKint64v)
s = new AST.VersionSymbol(token.loc, cast(uint)token.uns64value);
else
{
error("identifier or integer expected, not %s", token.toChars());
s = null;
}
nextToken();
if (token.value != TOKsemicolon)
error("semicolon expected");
nextToken();
break;
}
condition = parseVersionCondition();
goto Lcondition;
Lcondition:
{
AST.Dsymbols* athen;
if (token.value == TOKcolon)
athen = parseBlock(pLastDecl);
else
{
const lookingForElseSave = lookingForElse;
lookingForElse = token.loc;
athen = parseBlock(pLastDecl);
lookingForElse = lookingForElseSave;
}
AST.Dsymbols* aelse = null;
if (token.value == TOKelse)
{
const elseloc = token.loc;
nextToken();
aelse = parseBlock(pLastDecl);
checkDanglingElse(elseloc);
}
s = new AST.ConditionalDeclaration(condition, athen, aelse);
break;
}
case TOKsemicolon:
// empty declaration
//error("empty declaration");
nextToken();
continue;
default:
error("declaration expected, not '%s'", token.toChars());
Lerror:
while (token.value != TOKsemicolon && token.value != TOKeof)
nextToken();
nextToken();
s = null;
continue;
}
if (s)
{
if (!s.isAttribDeclaration())
*pLastDecl = s;
decldefs.push(s);
addComment(s, pAttrs.comment);
}
else if (a && a.dim)
{
decldefs.append(a);
}
}
while (!once);
linkage = linksave;
return decldefs;
}
/*****************************************
* Parse auto declarations of the form:
* storageClass ident = init, ident = init, ... ;
* and return the array of them.
* Starts with token on the first ident.
* Ends with scanner past closing ';'
*/
AST.Dsymbols* parseAutoDeclarations(StorageClass storageClass, const(char)* comment)
{
//printf("parseAutoDeclarations\n");
Token* tk;
auto a = new AST.Dsymbols();
while (1)
{
const loc = token.loc;
Identifier ident = token.ident;
nextToken(); // skip over ident
AST.TemplateParameters* tpl = null;
if (token.value == TOKlparen)
tpl = parseTemplateParameterList();
check(TOKassign); // skip over '='
AST.Initializer _init = parseInitializer();
auto v = new AST.VarDeclaration(loc, null, ident, _init, storageClass);
AST.Dsymbol s = v;
if (tpl)
{
auto a2 = new AST.Dsymbols();
a2.push(v);
auto tempdecl = new AST.TemplateDeclaration(loc, ident, tpl, null, a2, 0);
s = tempdecl;
}
a.push(s);
switch (token.value)
{
case TOKsemicolon:
nextToken();
addComment(s, comment);
break;
case TOKcomma:
nextToken();
if (!(token.value == TOKidentifier && skipParensIf(peek(&token), &tk) && tk.value == TOKassign))
{
error("identifier expected following comma");
break;
}
addComment(s, comment);
continue;
default:
error("semicolon expected following auto declaration, not '%s'", token.toChars());
break;
}
break;
}
return a;
}
/********************************************
* Parse declarations after an align, protection, or extern decl.
*/
AST.Dsymbols* parseBlock(AST.Dsymbol* pLastDecl, PrefixAttributes!AST* pAttrs = null)
{
AST.Dsymbols* a = null;
//printf("parseBlock()\n");
switch (token.value)
{
case TOKsemicolon:
error("declaration expected following attribute, not ';'");
nextToken();
break;
case TOKeof:
error("declaration expected following attribute, not EOF");
break;
case TOKlcurly:
{
const lookingForElseSave = lookingForElse;
lookingForElse = Loc();
nextToken();
a = parseDeclDefs(0, pLastDecl);
if (token.value != TOKrcurly)
{
/* { */
error("matching '}' expected, not %s", token.toChars());
}
else
nextToken();
lookingForElse = lookingForElseSave;
break;
}
case TOKcolon:
nextToken();
a = parseDeclDefs(0, pLastDecl); // grab declarations up to closing curly bracket
break;
default:
a = parseDeclDefs(1, pLastDecl, pAttrs);
break;
}
return a;
}
/*********************************************
* Give error on redundant/conflicting storage class.
*
* TODO: remove deprecation in 2.068 and keep only error
*/
StorageClass appendStorageClass(StorageClass storageClass, StorageClass stc, bool deprec = false)
{
if ((storageClass & stc) || (storageClass & AST.STCin && stc & (AST.STCconst | AST.STCscope)) || (stc & AST.STCin && storageClass & (AST.STCconst | AST.STCscope)))
{
OutBuffer buf;
AST.stcToBuffer(&buf, stc);
if (deprec)
deprecation("redundant attribute '%s'", buf.peekString());
else
error("redundant attribute '%s'", buf.peekString());
return storageClass | stc;
}
storageClass |= stc;
if (stc & (AST.STCconst | AST.STCimmutable | AST.STCmanifest))
{
StorageClass u = storageClass & (AST.STCconst | AST.STCimmutable | AST.STCmanifest);
if (u & (u - 1))
error("conflicting attribute '%s'", Token.toChars(token.value));
}
if (stc & (AST.STCgshared | AST.STCshared | AST.STCtls))
{
StorageClass u = storageClass & (AST.STCgshared | AST.STCshared | AST.STCtls);
if (u & (u - 1))
error("conflicting attribute '%s'", Token.toChars(token.value));
}
if (stc & (AST.STCsafe | AST.STCsystem | AST.STCtrusted))
{
StorageClass u = storageClass & (AST.STCsafe | AST.STCsystem | AST.STCtrusted);
if (u & (u - 1))
error("conflicting attribute '@%s'", token.toChars());
}
return storageClass;
}
/***********************************************
* Parse attribute, lexer is on '@'.
* Input:
* pudas array of UDAs to append to
* Returns:
* storage class if a predefined attribute; also scanner remains on identifier.
* 0 if not a predefined attribute
* *pudas set if user defined attribute, scanner is past UDA
* *pudas NULL if not a user defined attribute
*/
StorageClass parseAttribute(AST.Expressions** pudas)
{
nextToken();
AST.Expressions* udas = null;
StorageClass stc = 0;
if (token.value == TOKidentifier)
{
if (token.ident == Id.property)
stc = AST.STCproperty;
else if (token.ident == Id.nogc)
stc = AST.STCnogc;
else if (token.ident == Id.safe)
stc = AST.STCsafe;
else if (token.ident == Id.trusted)
stc = AST.STCtrusted;
else if (token.ident == Id.system)
stc = AST.STCsystem;
else if (token.ident == Id.disable)
stc = AST.STCdisable;
else
{
// Allow identifier, template instantiation, or function call
AST.Expression exp = parsePrimaryExp();
if (token.value == TOKlparen)
{
const loc = token.loc;
exp = new AST.CallExp(loc, exp, parseArguments());
}
udas = new AST.Expressions();
udas.push(exp);
}
}
else if (token.value == TOKlparen)
{
// @( ArgumentList )
// Concatenate with existing
if (peekNext() == TOKrparen)
error("empty attribute list is not allowed");
udas = parseArguments();
}
else
{
error("@identifier or @(ArgumentList) expected, not @%s", token.toChars());
}
if (stc)
{
}
else if (udas)
{
*pudas = AST.UserAttributeDeclaration.concat(*pudas, udas);
}
else
error("valid attributes are @property, @safe, @trusted, @system, @disable, @nogc");
return stc;
}
/***********************************************
* Parse const/immutable/shared/inout/nothrow/pure postfix
*/
StorageClass parsePostfix(StorageClass storageClass, AST.Expressions** pudas)
{
while (1)
{
StorageClass stc;
switch (token.value)
{
case TOKconst:
stc = AST.STCconst;
break;
case TOKimmutable:
stc = AST.STCimmutable;
break;
case TOKshared:
stc = AST.STCshared;
break;
case TOKwild:
stc = AST.STCwild;
break;
case TOKnothrow:
stc = AST.STCnothrow;
break;
case TOKpure:
stc = AST.STCpure;
break;
case TOKreturn:
stc = AST.STCreturn;
break;
case TOKscope:
stc = AST.STCscope;
break;
case TOKat:
{
AST.Expressions* udas = null;
stc = parseAttribute(&udas);
if (udas)
{
if (pudas)
*pudas = AST.UserAttributeDeclaration.concat(*pudas, udas);
else
{
// Disallow:
// void function() @uda fp;
// () @uda { return 1; }
error("user defined attributes cannot appear as postfixes");
}
continue;
}
break;
}
default:
return storageClass;
}
storageClass = appendStorageClass(storageClass, stc, true);
nextToken();
}
}
StorageClass parseTypeCtor()
{
StorageClass storageClass = AST.STCundefined;
while (1)
{
if (peek(&token).value == TOKlparen)
return storageClass;
StorageClass stc;
switch (token.value)
{
case TOKconst:
stc = AST.STCconst;
break;
case TOKimmutable:
stc = AST.STCimmutable;
break;
case TOKshared:
stc = AST.STCshared;
break;
case TOKwild:
stc = AST.STCwild;
break;
default:
return storageClass;
}
storageClass = appendStorageClass(storageClass, stc);
nextToken();
}
}
/**************************************
* Parse constraint.
* Constraint is of the form:
* if ( ConstraintExpression )
*/
AST.Expression parseConstraint()
{
AST.Expression e = null;
if (token.value == TOKif)
{
nextToken(); // skip over 'if'
check(TOKlparen);
e = parseExpression();
check(TOKrparen);
}
return e;
}
/**************************************
* Parse a TemplateDeclaration.
*/
AST.TemplateDeclaration parseTemplateDeclaration(bool ismixin = false)
{
AST.TemplateDeclaration tempdecl;
Identifier id;
AST.TemplateParameters* tpl;
AST.Dsymbols* decldefs;
AST.Expression constraint = null;
const loc = token.loc;
nextToken();
if (token.value != TOKidentifier)
{
error("identifier expected following template");
goto Lerr;
}
id = token.ident;
nextToken();
tpl = parseTemplateParameterList();
if (!tpl)
goto Lerr;
constraint = parseConstraint();
if (token.value != TOKlcurly)
{
error("members of template declaration expected");
goto Lerr;
}
else
decldefs = parseBlock(null);
tempdecl = new AST.TemplateDeclaration(loc, id, tpl, constraint, decldefs, ismixin);
return tempdecl;
Lerr:
return null;
}
/******************************************
* Parse template parameter list.
* Input:
* flag 0: parsing "( list )"
* 1: parsing non-empty "list $(RPAREN)"
*/
AST.TemplateParameters* parseTemplateParameterList(int flag = 0)
{
auto tpl = new AST.TemplateParameters();
if (!flag && token.value != TOKlparen)
{
error("parenthesized TemplateParameterList expected following TemplateIdentifier");
goto Lerr;
}
nextToken();
// Get array of TemplateParameters
if (flag || token.value != TOKrparen)
{
int isvariadic = 0;
while (token.value != TOKrparen)
{
AST.TemplateParameter tp;
Loc loc;
Identifier tp_ident = null;
AST.Type tp_spectype = null;
AST.Type tp_valtype = null;
AST.Type tp_defaulttype = null;
AST.Expression tp_specvalue = null;
AST.Expression tp_defaultvalue = null;
Token* t;
// Get TemplateParameter
// First, look ahead to see if it is a TypeParameter or a ValueParameter
t = peek(&token);
if (token.value == TOKalias)
{
// AliasParameter
nextToken();
loc = token.loc; // todo
AST.Type spectype = null;
if (isDeclaration(&token, NeedDeclaratorId.must, TOKreserved, null))
{
spectype = parseType(&tp_ident);
}
else
{
if (token.value != TOKidentifier)
{
error("identifier expected for template alias parameter");
goto Lerr;
}
tp_ident = token.ident;
nextToken();
}
RootObject spec = null;
if (token.value == TOKcolon) // : Type
{
nextToken();
if (isDeclaration(&token, NeedDeclaratorId.no, TOKreserved, null))
spec = parseType();
else
spec = parseCondExp();
}
RootObject def = null;
if (token.value == TOKassign) // = Type
{
nextToken();
if (isDeclaration(&token, NeedDeclaratorId.no, TOKreserved, null))
def = parseType();
else
def = parseCondExp();
}
tp = new AST.TemplateAliasParameter(loc, tp_ident, spectype, spec, def);
}
else if (t.value == TOKcolon || t.value == TOKassign || t.value == TOKcomma || t.value == TOKrparen)
{
// TypeParameter
if (token.value != TOKidentifier)
{
error("identifier expected for template type parameter");
goto Lerr;
}
loc = token.loc;
tp_ident = token.ident;
nextToken();
if (token.value == TOKcolon) // : Type
{
nextToken();
tp_spectype = parseType();
}
if (token.value == TOKassign) // = Type
{
nextToken();
tp_defaulttype = parseType();
}
tp = new AST.TemplateTypeParameter(loc, tp_ident, tp_spectype, tp_defaulttype);
}
else if (token.value == TOKidentifier && t.value == TOKdotdotdot)
{
// ident...
if (isvariadic)
error("variadic template parameter must be last");
isvariadic = 1;
loc = token.loc;
tp_ident = token.ident;
nextToken();
nextToken();
tp = new AST.TemplateTupleParameter(loc, tp_ident);
}
else if (token.value == TOKthis)
{
// ThisParameter
nextToken();
if (token.value != TOKidentifier)
{
error("identifier expected for template this parameter");
goto Lerr;
}
loc = token.loc;
tp_ident = token.ident;
nextToken();
if (token.value == TOKcolon) // : Type
{
nextToken();
tp_spectype = parseType();
}
if (token.value == TOKassign) // = Type
{
nextToken();
tp_defaulttype = parseType();
}
tp = new AST.TemplateThisParameter(loc, tp_ident, tp_spectype, tp_defaulttype);
}
else
{
// ValueParameter
loc = token.loc; // todo
tp_valtype = parseType(&tp_ident);
if (!tp_ident)
{
error("identifier expected for template value parameter");
tp_ident = Identifier.idPool("error");
}
if (token.value == TOKcolon) // : CondExpression
{
nextToken();
tp_specvalue = parseCondExp();
}
if (token.value == TOKassign) // = CondExpression
{
nextToken();
tp_defaultvalue = parseDefaultInitExp();
}
tp = new AST.TemplateValueParameter(loc, tp_ident, tp_valtype, tp_specvalue, tp_defaultvalue);
}
tpl.push(tp);
if (token.value != TOKcomma)
break;
nextToken();
}
}
check(TOKrparen);
Lerr:
return tpl;
}
/******************************************
* Parse template mixin.
* mixin Foo;
* mixin Foo!(args);
* mixin a.b.c!(args).Foo!(args);
* mixin Foo!(args) identifier;
* mixin typeof(expr).identifier!(args);
*/
AST.Dsymbol parseMixin()
{
AST.TemplateMixin tm;
Identifier id;
AST.Objects* tiargs;
//printf("parseMixin()\n");
const locMixin = token.loc;
nextToken(); // skip 'mixin'
auto loc = token.loc;
AST.TypeQualified tqual = null;
if (token.value == TOKdot)
{
id = Id.empty;
}
else
{
if (token.value == TOKtypeof)
{
tqual = parseTypeof();
check(TOKdot);
}
if (token.value != TOKidentifier)
{
error("identifier expected, not %s", token.toChars());
id = Id.empty;
}
else
id = token.ident;
nextToken();
}
while (1)
{
tiargs = null;
if (token.value == TOKnot)
{
tiargs = parseTemplateArguments();
}
if (tiargs && token.value == TOKdot)
{
auto tempinst = new AST.TemplateInstance(loc, id, tiargs);
if (!tqual)
tqual = new AST.TypeInstance(loc, tempinst);
else
tqual.addInst(tempinst);
tiargs = null;
}
else
{
if (!tqual)
tqual = new AST.TypeIdentifier(loc, id);
else
tqual.addIdent(id);
}
if (token.value != TOKdot)
break;
nextToken();
if (token.value != TOKidentifier)
{
error("identifier expected following '.' instead of '%s'", token.toChars());
break;
}
loc = token.loc;
id = token.ident;
nextToken();
}
if (token.value == TOKidentifier)
{
id = token.ident;
nextToken();
}
else
id = null;
tm = new AST.TemplateMixin(locMixin, id, tqual, tiargs);
if (token.value != TOKsemicolon)
error("';' expected after mixin");
nextToken();
return tm;
}
/******************************************
* Parse template arguments.
* Input:
* current token is opening '!'
* Output:
* current token is one after closing '$(RPAREN)'
*/
AST.Objects* parseTemplateArguments()
{
AST.Objects* tiargs;
nextToken();
if (token.value == TOKlparen)
{
// ident!(template_arguments)
tiargs = parseTemplateArgumentList();
}
else
{
// ident!template_argument
tiargs = parseTemplateSingleArgument();
}
if (token.value == TOKnot)
{
TOK tok = peekNext();
if (tok != TOKis && tok != TOKin)
{
error("multiple ! arguments are not allowed");
Lagain:
nextToken();
if (token.value == TOKlparen)
parseTemplateArgumentList();
else
parseTemplateSingleArgument();
if (token.value == TOKnot && (tok = peekNext()) != TOKis && tok != TOKin)
goto Lagain;
}
}
return tiargs;
}
/******************************************
* Parse template argument list.
* Input:
* current token is opening '$(LPAREN)',
* or ',' for __traits
* Output:
* current token is one after closing '$(RPAREN)'
*/
AST.Objects* parseTemplateArgumentList()
{
//printf("Parser::parseTemplateArgumentList()\n");
auto tiargs = new AST.Objects();
TOK endtok = TOKrparen;
assert(token.value == TOKlparen || token.value == TOKcomma);
nextToken();
// Get TemplateArgumentList
while (token.value != endtok)
{
// See if it is an Expression or a Type
if (isDeclaration(&token, NeedDeclaratorId.no, TOKreserved, null))
{
// Template argument is a type
AST.Type ta = parseType();
tiargs.push(ta);
}
else
{
// Template argument is an expression
AST.Expression ea = parseAssignExp();
tiargs.push(ea);
}
if (token.value != TOKcomma)
break;
nextToken();
}
check(endtok, "template argument list");
return tiargs;
}
/*****************************
* Parse single template argument, to support the syntax:
* foo!arg
* Input:
* current token is the arg
*/
AST.Objects* parseTemplateSingleArgument()
{
//printf("parseTemplateSingleArgument()\n");
auto tiargs = new AST.Objects();
AST.Type ta;
switch (token.value)
{
case TOKidentifier:
ta = new AST.TypeIdentifier(token.loc, token.ident);
goto LabelX;
case TOKvector:
ta = parseVector();
goto LabelX;
case TOKvoid:
ta = AST.Type.tvoid;
goto LabelX;
case TOKint8:
ta = AST.Type.tint8;
goto LabelX;
case TOKuns8:
ta = AST.Type.tuns8;
goto LabelX;
case TOKint16:
ta = AST.Type.tint16;
goto LabelX;
case TOKuns16:
ta = AST.Type.tuns16;
goto LabelX;
case TOKint32:
ta = AST.Type.tint32;
goto LabelX;
case TOKuns32:
ta = AST.Type.tuns32;
goto LabelX;
case TOKint64:
ta = AST.Type.tint64;
goto LabelX;
case TOKuns64:
ta = AST.Type.tuns64;
goto LabelX;
case TOKint128:
ta = AST.Type.tint128;
goto LabelX;
case TOKuns128:
ta = AST.Type.tuns128;
goto LabelX;
case TOKfloat32:
ta = AST.Type.tfloat32;
goto LabelX;
case TOKfloat64:
ta = AST.Type.tfloat64;
goto LabelX;
case TOKfloat80:
ta = AST.Type.tfloat80;
goto LabelX;
case TOKimaginary32:
ta = AST.Type.timaginary32;
goto LabelX;
case TOKimaginary64:
ta = AST.Type.timaginary64;
goto LabelX;
case TOKimaginary80:
ta = AST.Type.timaginary80;
goto LabelX;
case TOKcomplex32:
ta = AST.Type.tcomplex32;
goto LabelX;
case TOKcomplex64:
ta = AST.Type.tcomplex64;
goto LabelX;
case TOKcomplex80:
ta = AST.Type.tcomplex80;
goto LabelX;
case TOKbool:
ta = AST.Type.tbool;
goto LabelX;
case TOKchar:
ta = AST.Type.tchar;
goto LabelX;
case TOKwchar:
ta = AST.Type.twchar;
goto LabelX;
case TOKdchar:
ta = AST.Type.tdchar;
goto LabelX;
LabelX:
tiargs.push(ta);
nextToken();
break;
case TOKint32v:
case TOKuns32v:
case TOKint64v:
case TOKuns64v:
case TOKint128v:
case TOKuns128v:
case TOKfloat32v:
case TOKfloat64v:
case TOKfloat80v:
case TOKimaginary32v:
case TOKimaginary64v:
case TOKimaginary80v:
case TOKnull:
case TOKtrue:
case TOKfalse:
case TOKcharv:
case TOKwcharv:
case TOKdcharv:
case TOKstring:
case TOKxstring:
case TOKfile:
case TOKfilefullpath:
case TOKline:
case TOKmodulestring:
case TOKfuncstring:
case TOKprettyfunc:
case TOKthis:
{
// Template argument is an expression
AST.Expression ea = parsePrimaryExp();
tiargs.push(ea);
break;
}
default:
error("template argument expected following !");
break;
}
return tiargs;
}
/**********************************
* Parse a static assertion.
* Current token is 'static'.
*/
AST.StaticAssert parseStaticAssert()
{
const loc = token.loc;
AST.Expression exp;
AST.Expression msg = null;
//printf("parseStaticAssert()\n");
nextToken();
nextToken();
check(TOKlparen);
exp = parseAssignExp();
if (token.value == TOKcomma)
{
nextToken();
if (token.value != TOKrparen)
{
msg = parseAssignExp();
if (token.value == TOKcomma)
nextToken();
}
}
check(TOKrparen);
check(TOKsemicolon);
return new AST.StaticAssert(loc, exp, msg);
}
/***********************************
* Parse typeof(expression).
* Current token is on the 'typeof'.
*/
AST.TypeQualified parseTypeof()
{
AST.TypeQualified t;
const loc = token.loc;
nextToken();
check(TOKlparen);
if (token.value == TOKreturn) // typeof(return)
{
nextToken();
t = new AST.TypeReturn(loc);
}
else
{
AST.Expression exp = parseExpression(); // typeof(expression)
t = new AST.TypeTypeof(loc, exp);
}
check(TOKrparen);
return t;
}
/***********************************
* Parse __vector(type).
* Current token is on the '__vector'.
*/
AST.Type parseVector()
{
const loc = token.loc;
nextToken();
check(TOKlparen);
AST.Type tb = parseType();
check(TOKrparen);
return new AST.TypeVector(loc, tb);
}
/***********************************
* Parse:
* extern (linkage)
* extern (C++, namespaces)
* The parser is on the 'extern' token.
*/
LINK parseLinkage(AST.Identifiers** pidents, out CPPMANGLE cppmangle)
{
AST.Identifiers* idents = null;
cppmangle = CPPMANGLE.def;
LINK link = LINKdefault;
nextToken();
assert(token.value == TOKlparen);
nextToken();
if (token.value == TOKidentifier)
{
Identifier id = token.ident;
nextToken();
if (id == Id.Windows)
link = LINKwindows;
else if (id == Id.Pascal)
link = LINKpascal;
else if (id == Id.D)
link = LINKd;
else if (id == Id.C)
{
link = LINKc;
if (token.value == TOKplusplus)
{
link = LINKcpp;
nextToken();
if (token.value == TOKcomma) // , namespaces or class or struct
{
nextToken();
if (token.value == TOKclass || token.value == TOKstruct)
{
cppmangle = token.value == TOKclass ? CPPMANGLE.asClass : CPPMANGLE.asStruct;
nextToken();
}
else
{
idents = new AST.Identifiers();
while (1)
{
if (token.value == TOKidentifier)
{
Identifier idn = token.ident;
idents.push(idn);
nextToken();
if (token.value == TOKdot)
{
nextToken();
continue;
}
}
else
{
error("identifier expected for C++ namespace");
idents = null; // error occurred, invalidate list of elements.
}
break;
}
}
}
}
}
else if (id == Id.Objective) // Looking for tokens "Objective-C"
{
if (token.value == TOKmin)
{
nextToken();
if (token.ident == Id.C)
{
link = LINKobjc;
nextToken();
}
else
goto LinvalidLinkage;
}
else
goto LinvalidLinkage;
}
else if (id == Id.System)
{
link = LINKsystem;
}
else
{
LinvalidLinkage:
error("valid linkage identifiers are D, C, C++, Objective-C, Pascal, Windows, System");
link = LINKd;
}
}
else
{
link = LINKd; // default
}
check(TOKrparen);
*pidents = idents;
return link;
}
/***********************************
* Parse ident1.ident2.ident3
*
* Params:
* entity = what qualified identifier is expected to resolve into.
* Used only for better error message
*
* Returns:
* array of identifiers with actual qualified one stored last
*/
AST.Identifiers* parseQualifiedIdentifier(const(char)* entity)
{
AST.Identifiers* qualified = null;
do
{
nextToken();
if (token.value != TOKidentifier)
{
error("%s expected as dot-separated identifiers, got '%s'", entity, token.toChars());
return null;
}
Identifier id = token.ident;
if (!qualified)
qualified = new AST.Identifiers();
qualified.push(id);
nextToken();
}
while (token.value == TOKdot);
return qualified;
}
/**************************************
* Parse a debug conditional
*/
AST.Condition parseDebugCondition()
{
uint level = 1;
Identifier id = null;
if (token.value == TOKlparen)
{
nextToken();
if (token.value == TOKidentifier)
id = token.ident;
else if (token.value == TOKint32v || token.value == TOKint64v)
level = cast(uint)token.uns64value;
else
error("identifier or integer expected inside debug(...), not %s", token.toChars());
nextToken();
check(TOKrparen);
}
return new AST.DebugCondition(mod, level, id);
}
/**************************************
* Parse a version conditional
*/
AST.Condition parseVersionCondition()
{
uint level = 1;
Identifier id = null;
if (token.value == TOKlparen)
{
nextToken();
/* Allow:
* version (unittest)
* version (assert)
* even though they are keywords
*/
if (token.value == TOKidentifier)
id = token.ident;
else if (token.value == TOKint32v || token.value == TOKint64v)
level = cast(uint)token.uns64value;
else if (token.value == TOKunittest)
id = Identifier.idPool(Token.toString(TOKunittest));
else if (token.value == TOKassert)
id = Identifier.idPool(Token.toString(TOKassert));
else
error("identifier or integer expected inside version(...), not %s", token.toChars());
nextToken();
check(TOKrparen);
}
else
error("(condition) expected following version");
return new AST.VersionCondition(mod, level, id);
}
/***********************************************
* static if (expression)
* body
* else
* body
* Current token is 'static'.
*/
AST.Condition parseStaticIfCondition()
{
AST.Expression exp;
AST.Condition condition;
const loc = token.loc;
nextToken();
nextToken();
if (token.value == TOKlparen)
{
nextToken();
exp = parseAssignExp();
check(TOKrparen);
}
else
{
error("(expression) expected following static if");
exp = null;
}
condition = new AST.StaticIfCondition(loc, exp);
return condition;
}
/*****************************************
* Parse a constructor definition:
* this(parameters) { body }
* or postblit:
* this(this) { body }
* or constructor template:
* this(templateparameters)(parameters) { body }
* Current token is 'this'.
*/
AST.Dsymbol parseCtor(PrefixAttributes!AST* pAttrs)
{
AST.Expressions* udas = null;
const loc = token.loc;
StorageClass stc = getStorageClass!AST(pAttrs);
nextToken();
if (token.value == TOKlparen && peekNext() == TOKthis && peekNext2() == TOKrparen)
{
// this(this) { ... }
nextToken();
nextToken();
check(TOKrparen);
stc = parsePostfix(stc, &udas);
if (stc & AST.STCstatic)
error(loc, "postblit cannot be static");
auto f = new AST.PostBlitDeclaration(loc, Loc(), stc, Id.postblit);
AST.Dsymbol s = parseContracts(f);
if (udas)
{
auto a = new AST.Dsymbols();
a.push(f);
s = new AST.UserAttributeDeclaration(udas, a);
}
return s;
}
/* Look ahead to see if:
* this(...)(...)
* which is a constructor template
*/
AST.TemplateParameters* tpl = null;
if (token.value == TOKlparen && peekPastParen(&token).value == TOKlparen)
{
tpl = parseTemplateParameterList();
}
/* Just a regular constructor
*/
int varargs;
AST.Parameters* parameters = parseParameters(&varargs);
stc = parsePostfix(stc, &udas);
if (varargs != 0 || AST.Parameter.dim(parameters) != 0)
{
if (stc & AST.STCstatic)
error(loc, "constructor cannot be static");
}
else if (StorageClass ss = stc & (AST.STCshared | AST.STCstatic)) // this()
{
if (ss == AST.STCstatic)
error(loc, "use 'static this()' to declare a static constructor");
else if (ss == (AST.STCshared | AST.STCstatic))
error(loc, "use 'shared static this()' to declare a shared static constructor");
}
AST.Expression constraint = tpl ? parseConstraint() : null;
AST.Type tf = new AST.TypeFunction(parameters, null, varargs, linkage, stc); // RetrunType -> auto
tf = tf.addSTC(stc);
auto f = new AST.CtorDeclaration(loc, Loc(), stc, tf);
AST.Dsymbol s = parseContracts(f);
if (udas)
{
auto a = new AST.Dsymbols();
a.push(f);
s = new AST.UserAttributeDeclaration(udas, a);
}
if (tpl)
{
// Wrap a template around it
auto decldefs = new AST.Dsymbols();
decldefs.push(s);
s = new AST.TemplateDeclaration(loc, f.ident, tpl, constraint, decldefs);
}
return s;
}
/*****************************************
* Parse a destructor definition:
* ~this() { body }
* Current token is '~'.
*/
AST.Dsymbol parseDtor(PrefixAttributes!AST* pAttrs)
{
AST.Expressions* udas = null;
const loc = token.loc;
StorageClass stc = getStorageClass!AST(pAttrs);
nextToken();
check(TOKthis);
check(TOKlparen);
check(TOKrparen);
stc = parsePostfix(stc, &udas);
if (StorageClass ss = stc & (AST.STCshared | AST.STCstatic))
{
if (ss == AST.STCstatic)
error(loc, "use 'static ~this()' to declare a static destructor");
else if (ss == (AST.STCshared | AST.STCstatic))
error(loc, "use 'shared static ~this()' to declare a shared static destructor");
}
auto f = new AST.DtorDeclaration(loc, Loc(), stc, Id.dtor);
AST.Dsymbol s = parseContracts(f);
if (udas)
{
auto a = new AST.Dsymbols();
a.push(f);
s = new AST.UserAttributeDeclaration(udas, a);
}
return s;
}
/*****************************************
* Parse a static constructor definition:
* static this() { body }
* Current token is 'static'.
*/
AST.Dsymbol parseStaticCtor(PrefixAttributes!AST* pAttrs)
{
//Expressions *udas = NULL;
const loc = token.loc;
StorageClass stc = getStorageClass!AST(pAttrs);
nextToken();
nextToken();
check(TOKlparen);
check(TOKrparen);
stc = parsePostfix(stc & ~AST.STC_TYPECTOR, null) | stc;
if (stc & AST.STCshared)
error(loc, "use 'shared static this()' to declare a shared static constructor");
else if (stc & AST.STCstatic)
appendStorageClass(stc, AST.STCstatic); // complaint for the redundancy
else if (StorageClass modStc = stc & AST.STC_TYPECTOR)
{
OutBuffer buf;
AST.stcToBuffer(&buf, modStc);
error(loc, "static constructor cannot be %s", buf.peekString());
}
stc &= ~(AST.STCstatic | AST.STC_TYPECTOR);
auto f = new AST.StaticCtorDeclaration(loc, Loc(), stc);
AST.Dsymbol s = parseContracts(f);
return s;
}
/*****************************************
* Parse a static destructor definition:
* static ~this() { body }
* Current token is 'static'.
*/
AST.Dsymbol parseStaticDtor(PrefixAttributes!AST* pAttrs)
{
AST.Expressions* udas = null;
const loc = token.loc;
StorageClass stc = getStorageClass!AST(pAttrs);
nextToken();
nextToken();
check(TOKthis);
check(TOKlparen);
check(TOKrparen);
stc = parsePostfix(stc & ~AST.STC_TYPECTOR, &udas) | stc;
if (stc & AST.STCshared)
error(loc, "use 'shared static ~this()' to declare a shared static destructor");
else if (stc & AST.STCstatic)
appendStorageClass(stc, AST.STCstatic); // complaint for the redundancy
else if (StorageClass modStc = stc & AST.STC_TYPECTOR)
{
OutBuffer buf;
AST.stcToBuffer(&buf, modStc);
error(loc, "static destructor cannot be %s", buf.peekString());
}
stc &= ~(AST.STCstatic | AST.STC_TYPECTOR);
auto f = new AST.StaticDtorDeclaration(loc, Loc(), stc);
AST.Dsymbol s = parseContracts(f);
if (udas)
{
auto a = new AST.Dsymbols();
a.push(f);
s = new AST.UserAttributeDeclaration(udas, a);
}
return s;
}
/*****************************************
* Parse a shared static constructor definition:
* shared static this() { body }
* Current token is 'shared'.
*/
AST.Dsymbol parseSharedStaticCtor(PrefixAttributes!AST* pAttrs)
{
//Expressions *udas = NULL;
const loc = token.loc;
StorageClass stc = getStorageClass!AST(pAttrs);
nextToken();
nextToken();
nextToken();
check(TOKlparen);
check(TOKrparen);
stc = parsePostfix(stc & ~AST.STC_TYPECTOR, null) | stc;
if (StorageClass ss = stc & (AST.STCshared | AST.STCstatic))
appendStorageClass(stc, ss); // complaint for the redundancy
else if (StorageClass modStc = stc & AST.STC_TYPECTOR)
{
OutBuffer buf;
AST.stcToBuffer(&buf, modStc);
error(loc, "shared static constructor cannot be %s", buf.peekString());
}
stc &= ~(AST.STCstatic | AST.STC_TYPECTOR);
auto f = new AST.SharedStaticCtorDeclaration(loc, Loc(), stc);
AST.Dsymbol s = parseContracts(f);
return s;
}
/*****************************************
* Parse a shared static destructor definition:
* shared static ~this() { body }
* Current token is 'shared'.
*/
AST.Dsymbol parseSharedStaticDtor(PrefixAttributes!AST* pAttrs)
{
AST.Expressions* udas = null;
const loc = token.loc;
StorageClass stc = getStorageClass!AST(pAttrs);
nextToken();
nextToken();
nextToken();
check(TOKthis);
check(TOKlparen);
check(TOKrparen);
stc = parsePostfix(stc & ~AST.STC_TYPECTOR, &udas) | stc;
if (StorageClass ss = stc & (AST.STCshared | AST.STCstatic))
appendStorageClass(stc, ss); // complaint for the redundancy
else if (StorageClass modStc = stc & AST.STC_TYPECTOR)
{
OutBuffer buf;
AST.stcToBuffer(&buf, modStc);
error(loc, "shared static destructor cannot be %s", buf.peekString());
}
stc &= ~(AST.STCstatic | AST.STC_TYPECTOR);
auto f = new AST.SharedStaticDtorDeclaration(loc, Loc(), stc);
AST.Dsymbol s = parseContracts(f);
if (udas)
{
auto a = new AST.Dsymbols();
a.push(f);
s = new AST.UserAttributeDeclaration(udas, a);
}
return s;
}
/*****************************************
* Parse an invariant definition:
* invariant() { body }
* Current token is 'invariant'.
*/
AST.Dsymbol parseInvariant(PrefixAttributes!AST* pAttrs)
{
const loc = token.loc;
StorageClass stc = getStorageClass!AST(pAttrs);
nextToken();
if (token.value == TOKlparen) // optional ()
{
nextToken();
check(TOKrparen);
}
auto fbody = parseStatement(PScurly);
auto f = new AST.InvariantDeclaration(loc, token.loc, stc, null, fbody);
return f;
}
/*****************************************
* Parse a unittest definition:
* unittest { body }
* Current token is 'unittest'.
*/
AST.Dsymbol parseUnitTest(PrefixAttributes!AST* pAttrs)
{
const loc = token.loc;
StorageClass stc = getStorageClass!AST(pAttrs);
nextToken();
const(char)* begPtr = token.ptr + 1; // skip '{'
const(char)* endPtr = null;
AST.Statement sbody = parseStatement(PScurly, &endPtr);
/** Extract unittest body as a string. Must be done eagerly since memory
will be released by the lexer before doc gen. */
char* docline = null;
if (global.params.doDocComments && endPtr > begPtr)
{
/* Remove trailing whitespaces */
for (const(char)* p = endPtr - 1; begPtr <= p && (*p == ' ' || *p == '\r' || *p == '\n' || *p == '\t'); --p)
{
endPtr = p;
}
size_t len = endPtr - begPtr;
if (len > 0)
{
docline = cast(char*)mem.xmalloc(len + 2);
memcpy(docline, begPtr, len);
docline[len] = '\n'; // Terminate all lines by LF
docline[len + 1] = '\0';
}
}
auto f = new AST.UnitTestDeclaration(loc, token.loc, stc, docline);
f.fbody = sbody;
return f;
}
/*****************************************
* Parse a new definition:
* new(parameters) { body }
* Current token is 'new'.
*/
AST.Dsymbol parseNew(PrefixAttributes!AST* pAttrs)
{
const loc = token.loc;
StorageClass stc = getStorageClass!AST(pAttrs);
nextToken();
int varargs;
AST.Parameters* parameters = parseParameters(&varargs);
auto f = new AST.NewDeclaration(loc, Loc(), stc, parameters, varargs);
AST.Dsymbol s = parseContracts(f);
return s;
}
/*****************************************
* Parse a delete definition:
* delete(parameters) { body }
* Current token is 'delete'.
*/
AST.Dsymbol parseDelete(PrefixAttributes!AST* pAttrs)
{
const loc = token.loc;
StorageClass stc = getStorageClass!AST(pAttrs);
nextToken();
int varargs;
AST.Parameters* parameters = parseParameters(&varargs);
if (varargs)
error("... not allowed in delete function parameter list");
auto f = new AST.DeleteDeclaration(loc, Loc(), stc, parameters);
AST.Dsymbol s = parseContracts(f);
return s;
}
/**********************************************
* Parse parameter list.
*/
AST.Parameters* parseParameters(int* pvarargs, AST.TemplateParameters** tpl = null)
{
auto parameters = new AST.Parameters();
int varargs = 0;
int hasdefault = 0;
check(TOKlparen);
while (1)
{
Identifier ai = null;
AST.Type at;
StorageClass storageClass = 0;
StorageClass stc;
AST.Expression ae;
for (; 1; nextToken())
{
switch (token.value)
{
case TOKrparen:
break;
case TOKdotdotdot:
varargs = 1;
nextToken();
break;
case TOKconst:
if (peek(&token).value == TOKlparen)
goto Ldefault;
stc = AST.STCconst;
goto L2;
case TOKimmutable:
if (peek(&token).value == TOKlparen)
goto Ldefault;
stc = AST.STCimmutable;
goto L2;
case TOKshared:
if (peek(&token).value == TOKlparen)
goto Ldefault;
stc = AST.STCshared;
goto L2;
case TOKwild:
if (peek(&token).value == TOKlparen)
goto Ldefault;
stc = AST.STCwild;
goto L2;
case TOKin:
stc = AST.STCin;
goto L2;
case TOKout:
stc = AST.STCout;
goto L2;
case TOKref:
stc = AST.STCref;
goto L2;
case TOKlazy:
stc = AST.STClazy;
goto L2;
case TOKscope:
stc = AST.STCscope;
goto L2;
case TOKfinal:
stc = AST.STCfinal;
goto L2;
case TOKauto:
stc = AST.STCauto;
goto L2;
case TOKreturn:
stc = AST.STCreturn;
goto L2;
L2:
storageClass = appendStorageClass(storageClass, stc);
continue;
version (none)
{
case TOKstatic:
stc = STCstatic;
goto L2;
case TOKauto:
storageClass = STCauto;
goto L4;
case TOKalias:
storageClass = STCalias;
goto L4;
L4:
nextToken();
if (token.value == TOKidentifier)
{
ai = token.ident;
nextToken();
}
else
ai = null;
at = null; // no type
ae = null; // no default argument
if (token.value == TOKassign) // = defaultArg
{
nextToken();
ae = parseDefaultInitExp();
hasdefault = 1;
}
else
{
if (hasdefault)
error("default argument expected for alias %s", ai ? ai.toChars() : "");
}
goto L3;
}
default:
Ldefault:
{
stc = storageClass & (AST.STCin | AST.STCout | AST.STCref | AST.STClazy);
// if stc is not a power of 2
if (stc & (stc - 1) && !(stc == (AST.STCin | AST.STCref)))
error("incompatible parameter storage classes");
//if ((storageClass & STCscope) && (storageClass & (STCref | STCout)))
//error("scope cannot be ref or out");
if (tpl && token.value == TOKidentifier)
{
Token* t = peek(&token);
if (t.value == TOKcomma || t.value == TOKrparen || t.value == TOKdotdotdot)
{
Identifier id = Identifier.generateId("__T");
const loc = token.loc;
at = new AST.TypeIdentifier(loc, id);
if (!*tpl)
*tpl = new AST.TemplateParameters();
AST.TemplateParameter tp = new AST.TemplateTypeParameter(loc, id, null, null);
(*tpl).push(tp);
ai = token.ident;
nextToken();
}
else goto _else;
}
else
{
_else:
at = parseType(&ai);
}
ae = null;
if (token.value == TOKassign) // = defaultArg
{
nextToken();
ae = parseDefaultInitExp();
hasdefault = 1;
}
else
{
if (hasdefault)
error("default argument expected for %s", ai ? ai.toChars() : at.toChars());
}
if (token.value == TOKdotdotdot)
{
/* This is:
* at ai ...
*/
if (storageClass & (AST.STCout | AST.STCref))
error("variadic argument cannot be out or ref");
varargs = 2;
parameters.push(new AST.Parameter(storageClass, at, ai, ae));
nextToken();
break;
}
parameters.push(new AST.Parameter(storageClass, at, ai, ae));
if (token.value == TOKcomma)
{
nextToken();
goto L1;
}
break;
}
}
break;
}
break;
L1:
}
check(TOKrparen);
*pvarargs = varargs;
return parameters;
}
/*************************************
*/
AST.EnumDeclaration parseEnum()
{
AST.EnumDeclaration e;
Identifier id;
AST.Type memtype;
auto loc = token.loc;
//printf("Parser::parseEnum()\n");
nextToken();
if (token.value == TOKidentifier)
{
id = token.ident;
nextToken();
}
else
id = null;
if (token.value == TOKcolon)
{
nextToken();
int alt = 0;
const typeLoc = token.loc;
memtype = parseBasicType();
memtype = parseDeclarator(memtype, &alt, null);
checkCstyleTypeSyntax(typeLoc, memtype, alt, null);
}
else
memtype = null;
e = new AST.EnumDeclaration(loc, id, memtype);
if (token.value == TOKsemicolon && id)
nextToken();
else if (token.value == TOKlcurly)
{
//printf("enum definition\n");
e.members = new AST.Dsymbols();
nextToken();
const(char)* comment = token.blockComment;
while (token.value != TOKrcurly)
{
/* Can take the following forms:
* 1. ident
* 2. ident = value
* 3. type ident = value
*/
loc = token.loc;
AST.Type type = null;
Identifier ident = null;
Token* tp = peek(&token);
if (token.value == TOKidentifier && (tp.value == TOKassign || tp.value == TOKcomma || tp.value == TOKrcurly))
{
ident = token.ident;
type = null;
nextToken();
}
else
{
type = parseType(&ident, null);
if (!ident)
error("no identifier for declarator %s", type.toChars());
if (id || memtype)
error("type only allowed if anonymous enum and no enum type");
}
AST.Expression value;
if (token.value == TOKassign)
{
nextToken();
value = parseAssignExp();
}
else
{
value = null;
if (type)
error("if type, there must be an initializer");
}
auto em = new AST.EnumMember(loc, ident, value, type);
e.members.push(em);
if (token.value == TOKrcurly)
{
}
else
{
addComment(em, comment);
comment = null;
check(TOKcomma);
}
addComment(em, comment);
comment = token.blockComment;
if (token.value == TOKeof)
{
error("premature end of file");
break;
}
}
nextToken();
}
else
error("enum declaration is invalid");
//printf("-parseEnum() %s\n", e.toChars());
return e;
}
/********************************
* Parse struct, union, interface, class.
*/
AST.Dsymbol parseAggregate()
{
AST.TemplateParameters* tpl = null;
AST.Expression constraint;
const loc = token.loc;
TOK tok = token.value;
//printf("Parser::parseAggregate()\n");
nextToken();
Identifier id;
if (token.value != TOKidentifier)
{
id = null;
}
else
{
id = token.ident;
nextToken();
if (token.value == TOKlparen)
{
// struct/class template declaration.
tpl = parseTemplateParameterList();
constraint = parseConstraint();
}
}
// Collect base class(es)
AST.BaseClasses* baseclasses = null;
if (token.value == TOKcolon)
{
if (tok != TOKinterface && tok != TOKclass)
error("base classes are not allowed for %s, did you mean ';'?", Token.toChars(tok));
nextToken();
baseclasses = parseBaseClasses();
}
if (token.value == TOKif)
{
if (constraint)
error("template constraints appear both before and after BaseClassList, put them before");
constraint = parseConstraint();
}
if (constraint)
{
if (!id)
error("template constraints not allowed for anonymous %s", Token.toChars(tok));
if (!tpl)
error("template constraints only allowed for templates");
}
AST.Dsymbols* members = null;
if (token.value == TOKlcurly)
{
//printf("aggregate definition\n");
const lookingForElseSave = lookingForElse;
lookingForElse = Loc();
nextToken();
members = parseDeclDefs(0);
lookingForElse = lookingForElseSave;
if (token.value != TOKrcurly)
{
/* { */
error("} expected following members in %s declaration at %s",
Token.toChars(tok), loc.toChars());
}
nextToken();
}
else if (token.value == TOKsemicolon && id)
{
if (baseclasses || constraint)
error("members expected");
nextToken();
}
else
{
error("{ } expected following %s declaration", Token.toChars(tok));
}
AST.AggregateDeclaration a;
switch (tok)
{
case TOKinterface:
if (!id)
error(loc, "anonymous interfaces not allowed");
a = new AST.InterfaceDeclaration(loc, id, baseclasses);
a.members = members;
break;
case TOKclass:
if (!id)
error(loc, "anonymous classes not allowed");
bool inObject = md && !md.packages && md.id == Id.object;
a = new AST.ClassDeclaration(loc, id, baseclasses, members, inObject);
break;
case TOKstruct:
if (id)
{
a = new AST.StructDeclaration(loc, id);
a.members = members;
}
else
{
/* Anonymous structs/unions are more like attributes.
*/
assert(!tpl);
return new AST.AnonDeclaration(loc, false, members);
}
break;
case TOKunion:
if (id)
{
a = new AST.UnionDeclaration(loc, id);
a.members = members;
}
else
{
/* Anonymous structs/unions are more like attributes.
*/
assert(!tpl);
return new AST.AnonDeclaration(loc, true, members);
}
break;
default:
assert(0);
}
if (tpl)
{
// Wrap a template around the aggregate declaration
auto decldefs = new AST.Dsymbols();
decldefs.push(a);
auto tempdecl = new AST.TemplateDeclaration(loc, id, tpl, constraint, decldefs);
return tempdecl;
}
return a;
}
/*******************************************
*/
AST.BaseClasses* parseBaseClasses()
{
auto baseclasses = new AST.BaseClasses();
for (; 1; nextToken())
{
auto b = new AST.BaseClass(parseBasicType());
baseclasses.push(b);
if (token.value != TOKcomma)
break;
}
return baseclasses;
}
AST.Dsymbols* parseImport()
{
auto decldefs = new AST.Dsymbols();
Identifier aliasid = null;
int isstatic = token.value == TOKstatic;
if (isstatic)
nextToken();
//printf("Parser::parseImport()\n");
do
{
L1:
nextToken();
if (token.value != TOKidentifier)
{
error("identifier expected following import");
break;
}
const loc = token.loc;
Identifier id = token.ident;
AST.Identifiers* a = null;
nextToken();
if (!aliasid && token.value == TOKassign)
{
aliasid = id;
goto L1;
}
while (token.value == TOKdot)
{
if (!a)
a = new AST.Identifiers();
a.push(id);
nextToken();
if (token.value != TOKidentifier)
{
error("identifier expected following package");
break;
}
id = token.ident;
nextToken();
}
auto s = new AST.Import(loc, a, id, aliasid, isstatic);
decldefs.push(s);
/* Look for
* : alias=name, alias=name;
* syntax.
*/
if (token.value == TOKcolon)
{
do
{
nextToken();
if (token.value != TOKidentifier)
{
error("identifier expected following :");
break;
}
Identifier _alias = token.ident;
Identifier name;
nextToken();
if (token.value == TOKassign)
{
nextToken();
if (token.value != TOKidentifier)
{
error("identifier expected following %s=", _alias.toChars());
break;
}
name = token.ident;
nextToken();
}
else
{
name = _alias;
_alias = null;
}
s.addAlias(name, _alias);
}
while (token.value == TOKcomma);
break; // no comma-separated imports of this form
}
aliasid = null;
}
while (token.value == TOKcomma);
if (token.value == TOKsemicolon)
nextToken();
else
{
error("';' expected");
nextToken();
}
return decldefs;
}
AST.Type parseType(Identifier* pident = null, AST.TemplateParameters** ptpl = null)
{
/* Take care of the storage class prefixes that
* serve as type attributes:
* const type
* immutable type
* shared type
* inout type
* inout const type
* shared const type
* shared inout type
* shared inout const type
*/
StorageClass stc = 0;
while (1)
{
switch (token.value)
{
case TOKconst:
if (peekNext() == TOKlparen)
break; // const as type constructor
stc |= AST.STCconst; // const as storage class
nextToken();
continue;
case TOKimmutable:
if (peekNext() == TOKlparen)
break;
stc |= AST.STCimmutable;
nextToken();
continue;
case TOKshared:
if (peekNext() == TOKlparen)
break;
stc |= AST.STCshared;
nextToken();
continue;
case TOKwild:
if (peekNext() == TOKlparen)
break;
stc |= AST.STCwild;
nextToken();
continue;
default:
break;
}
break;
}
const typeLoc = token.loc;
AST.Type t;
t = parseBasicType();
int alt = 0;
t = parseDeclarator(t, &alt, pident, ptpl);
checkCstyleTypeSyntax(typeLoc, t, alt, pident ? *pident : null);
t = t.addSTC(stc);
return t;
}
AST.Type parseBasicType(bool dontLookDotIdents = false)
{
AST.Type t;
Loc loc;
Identifier id;
//printf("parseBasicType()\n");
switch (token.value)
{
case TOKvoid:
t = AST.Type.tvoid;
goto LabelX;
case TOKint8:
t = AST.Type.tint8;
goto LabelX;
case TOKuns8:
t = AST.Type.tuns8;
goto LabelX;
case TOKint16:
t = AST.Type.tint16;
goto LabelX;
case TOKuns16:
t = AST.Type.tuns16;
goto LabelX;
case TOKint32:
t = AST.Type.tint32;
goto LabelX;
case TOKuns32:
t = AST.Type.tuns32;
goto LabelX;
case TOKint64:
t = AST.Type.tint64;
goto LabelX;
case TOKuns64:
t = AST.Type.tuns64;
goto LabelX;
case TOKint128:
t = AST.Type.tint128;
goto LabelX;
case TOKuns128:
t = AST.Type.tuns128;
goto LabelX;
case TOKfloat32:
t = AST.Type.tfloat32;
goto LabelX;
case TOKfloat64:
t = AST.Type.tfloat64;
goto LabelX;
case TOKfloat80:
t = AST.Type.tfloat80;
goto LabelX;
case TOKimaginary32:
t = AST.Type.timaginary32;
goto LabelX;
case TOKimaginary64:
t = AST.Type.timaginary64;
goto LabelX;
case TOKimaginary80:
t = AST.Type.timaginary80;
goto LabelX;
case TOKcomplex32:
t = AST.Type.tcomplex32;
goto LabelX;
case TOKcomplex64:
t = AST.Type.tcomplex64;
goto LabelX;
case TOKcomplex80:
t = AST.Type.tcomplex80;
goto LabelX;
case TOKbool:
t = AST.Type.tbool;
goto LabelX;
case TOKchar:
t = AST.Type.tchar;
goto LabelX;
case TOKwchar:
t = AST.Type.twchar;
goto LabelX;
case TOKdchar:
t = AST.Type.tdchar;
goto LabelX;
LabelX:
nextToken();
break;
case TOKthis:
case TOKsuper:
case TOKidentifier:
loc = token.loc;
id = token.ident;
nextToken();
if (token.value == TOKnot)
{
// ident!(template_arguments)
auto tempinst = new AST.TemplateInstance(loc, id, parseTemplateArguments());
t = parseBasicTypeStartingAt(new AST.TypeInstance(loc, tempinst), dontLookDotIdents);
}
else
{
t = parseBasicTypeStartingAt(new AST.TypeIdentifier(loc, id), dontLookDotIdents);
}
break;
case TOKdot:
// Leading . as in .foo
t = parseBasicTypeStartingAt(new AST.TypeIdentifier(token.loc, Id.empty), dontLookDotIdents);
break;
case TOKtypeof:
// typeof(expression)
t = parseBasicTypeStartingAt(parseTypeof(), dontLookDotIdents);
break;
case TOKvector:
t = parseVector();
break;
case TOKconst:
// const(type)
nextToken();
check(TOKlparen);
t = parseType().addSTC(AST.STCconst);
check(TOKrparen);
break;
case TOKimmutable:
// immutable(type)
nextToken();
check(TOKlparen);
t = parseType().addSTC(AST.STCimmutable);
check(TOKrparen);
break;
case TOKshared:
// shared(type)
nextToken();
check(TOKlparen);
t = parseType().addSTC(AST.STCshared);
check(TOKrparen);
break;
case TOKwild:
// wild(type)
nextToken();
check(TOKlparen);
t = parseType().addSTC(AST.STCwild);
check(TOKrparen);
break;
default:
error("basic type expected, not %s", token.toChars());
t = AST.Type.terror;
break;
}
return t;
}
AST.Type parseBasicTypeStartingAt(AST.TypeQualified tid, bool dontLookDotIdents)
{
AST.Type maybeArray = null;
// See https://issues.dlang.org/show_bug.cgi?id=1215
// A basic type can look like MyType (typical case), but also:
// MyType.T -> A type
// MyType[expr] -> Either a static array of MyType or a type (iif MyType is a Ttuple)
// MyType[expr].T -> A type.
// MyType[expr].T[expr] -> Either a static array of MyType[expr].T or a type
// (iif MyType[expr].T is a Ttuple)
while (1)
{
switch (token.value)
{
case TOKdot:
{
nextToken();
if (token.value != TOKidentifier)
{
error("identifier expected following '.' instead of '%s'", token.toChars());
break;
}
if (maybeArray)
{
// This is actually a TypeTuple index, not an {a/s}array.
// We need to have a while loop to unwind all index taking:
// T[e1][e2].U -> T, addIndex(e1), addIndex(e2)
AST.Objects dimStack;
AST.Type t = maybeArray;
while (true)
{
if (t.ty == AST.Tsarray)
{
// The index expression is an Expression.
AST.TypeSArray a = cast(AST.TypeSArray)t;
dimStack.push(a.dim.syntaxCopy());
t = a.next.syntaxCopy();
}
else if (t.ty == AST.Taarray)
{
// The index expression is a Type. It will be interpreted as an expression at semantic time.
AST.TypeAArray a = cast(AST.TypeAArray)t;
dimStack.push(a.index.syntaxCopy());
t = a.next.syntaxCopy();
}
else
{
break;
}
}
assert(dimStack.dim > 0);
// We're good. Replay indices in the reverse order.
tid = cast(AST.TypeQualified)t;
while (dimStack.dim)
{
tid.addIndex(dimStack.pop());
}
maybeArray = null;
}
const loc = token.loc;
Identifier id = token.ident;
nextToken();
if (token.value == TOKnot)
{
auto tempinst = new AST.TemplateInstance(loc, id, parseTemplateArguments());
tid.addInst(tempinst);
}
else
tid.addIdent(id);
continue;
}
case TOKlbracket:
{
if (dontLookDotIdents) // workaround for https://issues.dlang.org/show_bug.cgi?id=14911
goto Lend;
nextToken();
AST.Type t = maybeArray ? maybeArray : cast(AST.Type)tid;
if (token.value == TOKrbracket)
{
// It's a dynamic array, and we're done:
// T[].U does not make sense.
t = new AST.TypeDArray(t);
nextToken();
return t;
}
else if (isDeclaration(&token, NeedDeclaratorId.no, TOKrbracket, null))
{
// This can be one of two things:
// 1 - an associative array declaration, T[type]
// 2 - an associative array declaration, T[expr]
// These can only be disambiguated later.
AST.Type index = parseType(); // [ type ]
maybeArray = new AST.TypeAArray(t, index);
check(TOKrbracket);
}
else
{
// This can be one of three things:
// 1 - an static array declaration, T[expr]
// 2 - a slice, T[expr .. expr]
// 3 - a template parameter pack index expression, T[expr].U
// 1 and 3 can only be disambiguated later.
//printf("it's type[expression]\n");
inBrackets++;
AST.Expression e = parseAssignExp(); // [ expression ]
if (token.value == TOKslice)
{
// It's a slice, and we're done.
nextToken();
AST.Expression e2 = parseAssignExp(); // [ exp .. exp ]
t = new AST.TypeSlice(t, e, e2);
inBrackets--;
check(TOKrbracket);
return t;
}
else
{
maybeArray = new AST.TypeSArray(t, e);
inBrackets--;
check(TOKrbracket);
continue;
}
}
break;
}
default:
goto Lend;
}
}
Lend:
return maybeArray ? maybeArray : cast(AST.Type)tid;
}
/******************************************
* Parse things that follow the initial type t.
* t *
* t []
* t [type]
* t [expression]
* t [expression .. expression]
* t function
* t delegate
*/
AST.Type parseBasicType2(AST.Type t)
{
//printf("parseBasicType2()\n");
while (1)
{
switch (token.value)
{
case TOKmul:
t = new AST.TypePointer(t);
nextToken();
continue;
case TOKlbracket:
// Handle []. Make sure things like
// int[3][1] a;
// is (array[1] of array[3] of int)
nextToken();
if (token.value == TOKrbracket)
{
t = new AST.TypeDArray(t); // []
nextToken();
}
else if (isDeclaration(&token, NeedDeclaratorId.no, TOKrbracket, null))
{
// It's an associative array declaration
//printf("it's an associative array\n");
AST.Type index = parseType(); // [ type ]
t = new AST.TypeAArray(t, index);
check(TOKrbracket);
}
else
{
//printf("it's type[expression]\n");
inBrackets++;
AST.Expression e = parseAssignExp(); // [ expression ]
if (token.value == TOKslice)
{
nextToken();
AST.Expression e2 = parseAssignExp(); // [ exp .. exp ]
t = new AST.TypeSlice(t, e, e2);
}
else
{
t = new AST.TypeSArray(t, e);
}
inBrackets--;
check(TOKrbracket);
}
continue;
case TOKdelegate:
case TOKfunction:
{
// Handle delegate declaration:
// t delegate(parameter list) nothrow pure
// t function(parameter list) nothrow pure
TOK save = token.value;
nextToken();
int varargs;
AST.Parameters* parameters = parseParameters(&varargs);
StorageClass stc = parsePostfix(AST.STCundefined, null);
auto tf = new AST.TypeFunction(parameters, t, varargs, linkage, stc);
if (stc & (AST.STCconst | AST.STCimmutable | AST.STCshared | AST.STCwild | AST.STCreturn))
{
if (save == TOKfunction)
error("const/immutable/shared/inout/return attributes are only valid for non-static member functions");
else
tf = cast(AST.TypeFunction)tf.addSTC(stc);
}
if (save == TOKdelegate)
t = new AST.TypeDelegate(tf);
else
t = new AST.TypePointer(tf); // pointer to function
continue;
}
default:
return t;
}
assert(0);
}
assert(0);
}
AST.Type parseDeclarator(AST.Type t, int* palt, Identifier* pident, AST.TemplateParameters** tpl = null, StorageClass storageClass = 0, int* pdisable = null, AST.Expressions** pudas = null)
{
//printf("parseDeclarator(tpl = %p)\n", tpl);
t = parseBasicType2(t);
AST.Type ts;
switch (token.value)
{
case TOKidentifier:
if (pident)
*pident = token.ident;
else
error("unexpected identifier '%s' in declarator", token.ident.toChars());
ts = t;
nextToken();
break;
case TOKlparen:
{
// like: T (*fp)();
// like: T ((*fp))();
if (peekNext() == TOKmul || peekNext() == TOKlparen)
{
/* Parse things with parentheses around the identifier, like:
* int (*ident[3])[]
* although the D style would be:
* int[]*[3] ident
*/
*palt |= 1;
nextToken();
ts = parseDeclarator(t, palt, pident);
check(TOKrparen);
break;
}
ts = t;
Token* peekt = &token;
/* Completely disallow C-style things like:
* T (a);
* Improve error messages for the common bug of a missing return type
* by looking to see if (a) looks like a parameter list.
*/
if (isParameters(&peekt))
{
error("function declaration without return type. (Note that constructors are always named 'this')");
}
else
error("unexpected ( in declarator");
break;
}
default:
ts = t;
break;
}
// parse DeclaratorSuffixes
while (1)
{
switch (token.value)
{
static if (CARRAYDECL)
{
/* Support C style array syntax:
* int ident[]
* as opposed to D-style:
* int[] ident
*/
case TOKlbracket:
{
// This is the old C-style post [] syntax.
AST.TypeNext ta;
nextToken();
if (token.value == TOKrbracket)
{
// It's a dynamic array
ta = new AST.TypeDArray(t); // []
nextToken();
*palt |= 2;
}
else if (isDeclaration(&token, NeedDeclaratorId.no, TOKrbracket, null))
{
// It's an associative array
//printf("it's an associative array\n");
AST.Type index = parseType(); // [ type ]
check(TOKrbracket);
ta = new AST.TypeAArray(t, index);
*palt |= 2;
}
else
{
//printf("It's a static array\n");
AST.Expression e = parseAssignExp(); // [ expression ]
ta = new AST.TypeSArray(t, e);
check(TOKrbracket);
*palt |= 2;
}
/* Insert ta into
* ts -> ... -> t
* so that
* ts -> ... -> ta -> t
*/
AST.Type* pt;
for (pt = &ts; *pt != t; pt = &(cast(AST.TypeNext)*pt).next)
{
}
*pt = ta;
continue;
}
}
case TOKlparen:
{
if (tpl)
{
Token* tk = peekPastParen(&token);
if (tk.value == TOKlparen)
{
/* Look ahead to see if this is (...)(...),
* i.e. a function template declaration
*/
//printf("function template declaration\n");
// Gather template parameter list
*tpl = parseTemplateParameterList();
}
else if (tk.value == TOKassign)
{
/* or (...) =,
* i.e. a variable template declaration
*/
//printf("variable template declaration\n");
*tpl = parseTemplateParameterList();
break;
}
}
int varargs;
AST.Parameters* parameters = parseParameters(&varargs);
/* Parse const/immutable/shared/inout/nothrow/pure/return postfix
*/
// merge prefix storage classes
StorageClass stc = parsePostfix(storageClass, pudas);
AST.Type tf = new AST.TypeFunction(parameters, t, varargs, linkage, stc);
tf = tf.addSTC(stc);
if (pdisable)
*pdisable = stc & AST.STCdisable ? 1 : 0;
/* Insert tf into
* ts -> ... -> t
* so that
* ts -> ... -> tf -> t
*/
AST.Type* pt;
for (pt = &ts; *pt != t; pt = &(cast(AST.TypeNext)*pt).next)
{
}
*pt = tf;
break;
}
default:
break;
}
break;
}
return ts;
}
void parseStorageClasses(ref StorageClass storage_class, ref LINK link,
ref bool setAlignment, ref AST.Expression ealign, ref AST.Expressions* udas)
{
StorageClass stc;
bool sawLinkage = false; // seen a linkage declaration
while (1)
{
switch (token.value)
{
case TOKconst:
if (peek(&token).value == TOKlparen)
break; // const as type constructor
stc = AST.STCconst; // const as storage class
goto L1;
case TOKimmutable:
if (peek(&token).value == TOKlparen)
break;
stc = AST.STCimmutable;
goto L1;
case TOKshared:
if (peek(&token).value == TOKlparen)
break;
stc = AST.STCshared;
goto L1;
case TOKwild:
if (peek(&token).value == TOKlparen)
break;
stc = AST.STCwild;
goto L1;
case TOKstatic:
stc = AST.STCstatic;
goto L1;
case TOKfinal:
stc = AST.STCfinal;
goto L1;
case TOKauto:
stc = AST.STCauto;
goto L1;
case TOKscope:
stc = AST.STCscope;
goto L1;
case TOKoverride:
stc = AST.STCoverride;
goto L1;
case TOKabstract:
stc = AST.STCabstract;
goto L1;
case TOKsynchronized:
stc = AST.STCsynchronized;
goto L1;
case TOKdeprecated:
stc = AST.STCdeprecated;
goto L1;
case TOKnothrow:
stc = AST.STCnothrow;
goto L1;
case TOKpure:
stc = AST.STCpure;
goto L1;
case TOKref:
stc = AST.STCref;
goto L1;
case TOKgshared:
stc = AST.STCgshared;
goto L1;
case TOKenum:
stc = AST.STCmanifest;
goto L1;
case TOKat:
{
stc = parseAttribute(&udas);
if (stc)
goto L1;
continue;
}
L1:
storage_class = appendStorageClass(storage_class, stc);
nextToken();
continue;
case TOKextern:
{
if (peek(&token).value != TOKlparen)
{
stc = AST.STCextern;
goto L1;
}
if (sawLinkage)
error("redundant linkage declaration");
sawLinkage = true;
AST.Identifiers* idents = null;
CPPMANGLE cppmangle;
link = parseLinkage(&idents, cppmangle);
if (idents)
{
error("C++ name spaces not allowed here");
}
if (cppmangle != CPPMANGLE.def)
{
error("C++ mangle declaration not allowed here");
}
continue;
}
case TOKalign:
{
nextToken();
setAlignment = true;
if (token.value == TOKlparen)
{
nextToken();
ealign = parseExpression();
check(TOKrparen);
}
continue;
}
default:
break;
}
break;
}
}
/**********************************
* Parse Declarations.
* These can be:
* 1. declarations at global/class level
* 2. declarations at statement level
* Return array of Declaration *'s.
*/
AST.Dsymbols* parseDeclarations(bool autodecl, PrefixAttributes!AST* pAttrs, const(char)* comment)
{
StorageClass storage_class = AST.STCundefined;
AST.Type ts;
AST.Type t;
AST.Type tfirst;
Identifier ident;
TOK tok = TOKreserved;
LINK link = linkage;
bool setAlignment = false;
AST.Expression ealign;
auto loc = token.loc;
AST.Expressions* udas = null;
Token* tk;
//printf("parseDeclarations() %s\n", token.toChars());
if (!comment)
comment = token.blockComment;
if (autodecl)
{
ts = null; // infer type
goto L2;
}
if (token.value == TOKalias)
{
tok = token.value;
nextToken();
/* Look for:
* alias identifier this;
*/
if (token.value == TOKidentifier && peekNext() == TOKthis)
{
auto s = new AST.AliasThis(loc, token.ident);
nextToken();
check(TOKthis);
check(TOKsemicolon);
auto a = new AST.Dsymbols();
a.push(s);
addComment(s, comment);
return a;
}
version (none)
{
/* Look for:
* alias this = identifier;
*/
if (token.value == TOKthis && peekNext() == TOKassign && peekNext2() == TOKidentifier)
{
check(TOKthis);
check(TOKassign);
auto s = new AliasThis(loc, token.ident);
nextToken();
check(TOKsemicolon);
auto a = new Dsymbols();
a.push(s);
addComment(s, comment);
return a;
}
}
/* Look for:
* alias identifier = type;
* alias identifier(...) = type;
*/
if (token.value == TOKidentifier && skipParensIf(peek(&token), &tk) && tk.value == TOKassign)
{
auto a = new AST.Dsymbols();
while (1)
{
ident = token.ident;
nextToken();
AST.TemplateParameters* tpl = null;
if (token.value == TOKlparen)
tpl = parseTemplateParameterList();
check(TOKassign);
AST.Declaration v;
if (token.value == TOKfunction ||
token.value == TOKdelegate ||
token.value == TOKlparen &&
skipAttributes(peekPastParen(&token), &tk) &&
(tk.value == TOKgoesto || tk.value == TOKlcurly) ||
token.value == TOKlcurly ||
token.value == TOKidentifier && peekNext() == TOKgoesto
)
{
// function (parameters) { statements... }
// delegate (parameters) { statements... }
// (parameters) { statements... }
// (parameters) => expression
// { statements... }
// identifier => expression
AST.Dsymbol s = parseFunctionLiteral();
v = new AST.AliasDeclaration(loc, ident, s);
}
else
{
// StorageClasses type
storage_class = AST.STCundefined;
link = linkage;
setAlignment = false;
ealign = null;
udas = null;
parseStorageClasses(storage_class, link, setAlignment, ealign, udas);
if (udas)
error("user defined attributes not allowed for %s declarations", Token.toChars(tok));
t = parseType();
v = new AST.AliasDeclaration(loc, ident, t);
}
v.storage_class = storage_class;
AST.Dsymbol s = v;
if (tpl)
{
auto a2 = new AST.Dsymbols();
a2.push(s);
auto tempdecl = new AST.TemplateDeclaration(loc, ident, tpl, null, a2);
s = tempdecl;
}
if (link != linkage)
{
auto a2 = new AST.Dsymbols();
a2.push(s);
s = new AST.LinkDeclaration(link, a2);
}
a.push(s);
switch (token.value)
{
case TOKsemicolon:
nextToken();
addComment(s, comment);
break;
case TOKcomma:
nextToken();
addComment(s, comment);
if (token.value != TOKidentifier)
{
error("identifier expected following comma, not %s", token.toChars());
break;
}
if (peekNext() != TOKassign && peekNext() != TOKlparen)
{
error("= expected following identifier");
nextToken();
break;
}
continue;
default:
error("semicolon expected to close %s declaration", Token.toChars(tok));
break;
}
break;
}
return a;
}
// alias StorageClasses type ident;
}
parseStorageClasses(storage_class, link, setAlignment, ealign, udas);
if (token.value == TOKstruct ||
token.value == TOKunion ||
token.value == TOKclass ||
token.value == TOKinterface)
{
AST.Dsymbol s = parseAggregate();
auto a = new AST.Dsymbols();
a.push(s);
if (storage_class)
{
s = new AST.StorageClassDeclaration(storage_class, a);
a = new AST.Dsymbols();
a.push(s);
}
if (setAlignment)
{
s = new AST.AlignDeclaration(s.loc, ealign, a);
a = new AST.Dsymbols();
a.push(s);
}
if (link != linkage)
{
s = new AST.LinkDeclaration(link, a);
a = new AST.Dsymbols();
a.push(s);
}
if (udas)
{
s = new AST.UserAttributeDeclaration(udas, a);
a = new AST.Dsymbols();
a.push(s);
}
addComment(s, comment);
return a;
}
/* Look for auto initializers:
* storage_class identifier = initializer;
* storage_class identifier(...) = initializer;
*/
if ((storage_class || udas) && token.value == TOKidentifier && skipParensIf(peek(&token), &tk) && tk.value == TOKassign)
{
AST.Dsymbols* a = parseAutoDeclarations(storage_class, comment);
if (udas)
{
AST.Dsymbol s = new AST.UserAttributeDeclaration(udas, a);
a = new AST.Dsymbols();
a.push(s);
}
return a;
}
/* Look for return type inference for template functions.
*/
if ((storage_class || udas) && token.value == TOKidentifier && skipParens(peek(&token), &tk) && skipAttributes(tk, &tk) && (tk.value == TOKlparen || tk.value == TOKlcurly || tk.value == TOKin || tk.value == TOKout || tk.value == TOKbody))
{
ts = null;
}
else
{
ts = parseBasicType();
ts = parseBasicType2(ts);
}
L2:
tfirst = null;
auto a = new AST.Dsymbols();
if (pAttrs)
{
storage_class |= pAttrs.storageClass;
//pAttrs.storageClass = STCundefined;
}
while (1)
{
AST.TemplateParameters* tpl = null;
int disable;
int alt = 0;
loc = token.loc;
ident = null;
t = parseDeclarator(ts, &alt, &ident, &tpl, storage_class, &disable, &udas);
assert(t);
if (!tfirst)
tfirst = t;
else if (t != tfirst)
error("multiple declarations must have the same type, not %s and %s", tfirst.toChars(), t.toChars());
bool isThis = (t.ty == AST.Tident && (cast(AST.TypeIdentifier)t).ident == Id.This && token.value == TOKassign);
if (ident)
checkCstyleTypeSyntax(loc, t, alt, ident);
else if (!isThis)
error("no identifier for declarator %s", t.toChars());
if (tok == TOKalias)
{
AST.Declaration v;
AST.Initializer _init = null;
/* Aliases can no longer have multiple declarators, storage classes,
* linkages, or auto declarations.
* These never made any sense, anyway.
* The code below needs to be fixed to reject them.
* The grammar has already been fixed to preclude them.
*/
if (udas)
error("user defined attributes not allowed for %s declarations", Token.toChars(tok));
if (token.value == TOKassign)
{
nextToken();
_init = parseInitializer();
}
if (_init)
{
if (isThis)
error("cannot use syntax 'alias this = %s', use 'alias %s this' instead", _init.toChars(), _init.toChars());
else
error("alias cannot have initializer");
}
v = new AST.AliasDeclaration(loc, ident, t);
v.storage_class = storage_class;
if (pAttrs)
{
/* AliasDeclaration distinguish @safe, @system, @trusted attributes
* on prefix and postfix.
* @safe alias void function() FP1;
* alias @safe void function() FP2; // FP2 is not @safe
* alias void function() @safe FP3;
*/
pAttrs.storageClass &= (AST.STCsafe | AST.STCsystem | AST.STCtrusted);
}
AST.Dsymbol s = v;
if (link != linkage)
{
auto ax = new AST.Dsymbols();
ax.push(v);
s = new AST.LinkDeclaration(link, ax);
}
a.push(s);
switch (token.value)
{
case TOKsemicolon:
nextToken();
addComment(s, comment);
break;
case TOKcomma:
nextToken();
addComment(s, comment);
continue;
default:
error("semicolon expected to close %s declaration", Token.toChars(tok));
break;
}
}
else if (t.ty == AST.Tfunction)
{
AST.Expression constraint = null;
version (none)
{
TypeFunction tf = cast(TypeFunction)t;
if (Parameter.isTPL(tf.parameters))
{
if (!tpl)
tpl = new TemplateParameters();
}
}
//printf("%s funcdecl t = %s, storage_class = x%lx\n", loc.toChars(), t.toChars(), storage_class);
auto f = new AST.FuncDeclaration(loc, Loc(), ident, storage_class | (disable ? AST.STCdisable : 0), t);
if (pAttrs)
pAttrs.storageClass = AST.STCundefined;
if (tpl)
constraint = parseConstraint();
AST.Dsymbol s = parseContracts(f);
auto tplIdent = s.ident;
if (link != linkage)
{
auto ax = new AST.Dsymbols();
ax.push(s);
s = new AST.LinkDeclaration(link, ax);
}
if (udas)
{
auto ax = new AST.Dsymbols();
ax.push(s);
s = new AST.UserAttributeDeclaration(udas, ax);
}
/* A template parameter list means it's a function template
*/
if (tpl)
{
// Wrap a template around the function declaration
auto decldefs = new AST.Dsymbols();
decldefs.push(s);
auto tempdecl = new AST.TemplateDeclaration(loc, tplIdent, tpl, constraint, decldefs);
s = tempdecl;
if (storage_class & AST.STCstatic)
{
assert(f.storage_class & AST.STCstatic);
f.storage_class &= ~AST.STCstatic;
auto ax = new AST.Dsymbols();
ax.push(s);
s = new AST.StorageClassDeclaration(AST.STCstatic, ax);
}
}
a.push(s);
addComment(s, comment);
}
else if (ident)
{
AST.Initializer _init = null;
if (token.value == TOKassign)
{
nextToken();
_init = parseInitializer();
}
auto v = new AST.VarDeclaration(loc, t, ident, _init);
v.storage_class = storage_class;
if (pAttrs)
pAttrs.storageClass = AST.STCundefined;
AST.Dsymbol s = v;
if (tpl && _init)
{
auto a2 = new AST.Dsymbols();
a2.push(s);
auto tempdecl = new AST.TemplateDeclaration(loc, ident, tpl, null, a2, 0);
s = tempdecl;
}
if (setAlignment)
{
auto ax = new AST.Dsymbols();
ax.push(s);
s = new AST.AlignDeclaration(v.loc, ealign, ax);
}
if (link != linkage)
{
auto ax = new AST.Dsymbols();
ax.push(s);
s = new AST.LinkDeclaration(link, ax);
}
if (udas)
{
auto ax = new AST.Dsymbols();
ax.push(s);
s = new AST.UserAttributeDeclaration(udas, ax);
}
a.push(s);
switch (token.value)
{
case TOKsemicolon:
nextToken();
addComment(s, comment);
break;
case TOKcomma:
nextToken();
addComment(s, comment);
continue;
default:
error("semicolon expected, not '%s'", token.toChars());
break;
}
}
break;
}
return a;
}
AST.Dsymbol parseFunctionLiteral()
{
const loc = token.loc;
AST.TemplateParameters* tpl = null;
AST.Parameters* parameters = null;
int varargs = 0;
AST.Type tret = null;
StorageClass stc = 0;
TOK save = TOKreserved;
switch (token.value)
{
case TOKfunction:
case TOKdelegate:
save = token.value;
nextToken();
if (token.value != TOKlparen && token.value != TOKlcurly)
{
// function type (parameters) { statements... }
// delegate type (parameters) { statements... }
tret = parseBasicType();
tret = parseBasicType2(tret); // function return type
}
if (token.value == TOKlparen)
{
// function (parameters) { statements... }
// delegate (parameters) { statements... }
}
else
{
// function { statements... }
// delegate { statements... }
break;
}
goto case TOKlparen;
case TOKlparen:
{
// (parameters) => expression
// (parameters) { statements... }
parameters = parseParameters(&varargs, &tpl);
stc = parsePostfix(AST.STCundefined, null);
if (StorageClass modStc = stc & AST.STC_TYPECTOR)
{
if (save == TOKfunction)
{
OutBuffer buf;
AST.stcToBuffer(&buf, modStc);
error("function literal cannot be %s", buf.peekString());
}
else
save = TOKdelegate;
}
break;
}
case TOKlcurly:
// { statements... }
break;
case TOKidentifier:
{
// identifier => expression
parameters = new AST.Parameters();
Identifier id = Identifier.generateId("__T");
AST.Type t = new AST.TypeIdentifier(loc, id);
parameters.push(new AST.Parameter(0, t, token.ident, null));
tpl = new AST.TemplateParameters();
AST.TemplateParameter tp = new AST.TemplateTypeParameter(loc, id, null, null);
tpl.push(tp);
nextToken();
break;
}
default:
assert(0);
}
if (!parameters)
parameters = new AST.Parameters();
auto tf = new AST.TypeFunction(parameters, tret, varargs, linkage, stc);
tf = cast(AST.TypeFunction)tf.addSTC(stc);
auto fd = new AST.FuncLiteralDeclaration(loc, Loc(), tf, save, null);
if (token.value == TOKgoesto)
{
check(TOKgoesto);
const returnloc = token.loc;
AST.Expression ae = parseAssignExp();
fd.fbody = new AST.ReturnStatement(returnloc, ae);
fd.endloc = token.loc;
}
else
{
parseContracts(fd);
}
if (tpl)
{
// Wrap a template around function fd
auto decldefs = new AST.Dsymbols();
decldefs.push(fd);
return new AST.TemplateDeclaration(fd.loc, fd.ident, tpl, null, decldefs, false, true);
}
else
return fd;
}
/*****************************************
* Parse contracts following function declaration.
*/
AST.FuncDeclaration parseContracts(AST.FuncDeclaration f)
{
LINK linksave = linkage;
bool literal = f.isFuncLiteralDeclaration() !is null;
// The following is irrelevant, as it is overridden by sc.linkage in
// TypeFunction::semantic
linkage = LINKd; // nested functions have D linkage
L1:
switch (token.value)
{
case TOKlcurly:
if (f.frequire || f.fensure)
error("missing body { ... } after in or out");
f.fbody = parseStatement(PSsemi);
f.endloc = endloc;
break;
case TOKbody:
nextToken();
f.fbody = parseStatement(PScurly);
f.endloc = endloc;
break;
version (none)
{
// Do we want this for function declarations, so we can do:
// int x, y, foo(), z;
case TOKcomma:
nextToken();
continue;
}
version (none)
{
// Dumped feature
case TOKthrow:
if (!f.fthrows)
f.fthrows = new Types();
nextToken();
check(TOKlparen);
while (1)
{
Type tb = parseBasicType();
f.fthrows.push(tb);
if (token.value == TOKcomma)
{
nextToken();
continue;
}
break;
}
check(TOKrparen);
goto L1;
}
case TOKin:
nextToken();
if (f.frequire)
error("redundant 'in' statement");
f.frequire = parseStatement(PScurly | PSscope);
goto L1;
case TOKout:
// parse: out (identifier) { statement }
nextToken();
if (token.value != TOKlcurly)
{
check(TOKlparen);
if (token.value != TOKidentifier)
error("(identifier) following 'out' expected, not %s", token.toChars());
f.outId = token.ident;
nextToken();
check(TOKrparen);
}
if (f.fensure)
error("redundant 'out' statement");
f.fensure = parseStatement(PScurly | PSscope);
goto L1;
case TOKsemicolon:
if (!literal)
{
// https://issues.dlang.org/show_bug.cgi?id=15799
// Semicolon becomes a part of function declaration
// only when neither of contracts exists.
if (!f.frequire && !f.fensure)
nextToken();
break;
}
goto default;
default:
if (literal)
{
const(char)* sbody = (f.frequire || f.fensure) ? "body " : "";
error("missing %s{ ... } for function literal", sbody);
}
else if (!f.frequire && !f.fensure) // allow these even with no body
{
error("semicolon expected following function declaration");
}
break;
}
if (literal && !f.fbody)
{
// Set empty function body for error recovery
f.fbody = new AST.CompoundStatement(Loc(), cast(AST.Statement)null);
}
linkage = linksave;
return f;
}
/*****************************************
*/
void checkDanglingElse(Loc elseloc)
{
if (token.value != TOKelse && token.value != TOKcatch && token.value != TOKfinally && lookingForElse.linnum != 0)
{
warning(elseloc, "else is dangling, add { } after condition at %s", lookingForElse.toChars());
}
}
void checkCstyleTypeSyntax(Loc loc, AST.Type t, int alt, Identifier ident)
{
if (!alt)
return;
const(char)* sp = !ident ? "" : " ";
const(char)* s = !ident ? "" : ident.toChars();
if (alt & 1) // contains C-style function pointer syntax
error(loc, "instead of C-style syntax, use D-style '%s%s%s'", t.toChars(), sp, s);
else
ddmd.errors.deprecation(loc, "instead of C-style syntax, use D-style syntax '%s%s%s'", t.toChars(), sp, s);
}
/*****************************************
* Input:
* flags PSxxxx
* Output:
* pEndloc if { ... statements ... }, store location of closing brace, otherwise loc of first token of next statement
*/
AST.Statement parseStatement(int flags, const(char)** endPtr = null, Loc* pEndloc = null)
{
AST.Statement s;
AST.Condition cond;
AST.Statement ifbody;
AST.Statement elsebody;
bool isfinal;
const loc = token.loc;
//printf("parseStatement()\n");
if (flags & PScurly && token.value != TOKlcurly)
error("statement expected to be { }, not %s", token.toChars());
switch (token.value)
{
case TOKidentifier:
{
/* A leading identifier can be a declaration, label, or expression.
* The easiest case to check first is label:
*/
Token* t = peek(&token);
if (t.value == TOKcolon)
{
Token* nt = peek(t);
if (nt.value == TOKcolon)
{
// skip ident::
nextToken();
nextToken();
nextToken();
error("use '.' for member lookup, not '::'");
break;
}
// It's a label
Identifier ident = token.ident;
nextToken();
nextToken();
if (token.value == TOKrcurly)
s = null;
else if (token.value == TOKlcurly)
s = parseStatement(PScurly | PSscope);
else
s = parseStatement(PSsemi_ok);
s = new AST.LabelStatement(loc, ident, s);
break;
}
goto case TOKdot;
}
case TOKdot:
case TOKtypeof:
case TOKvector:
/* https://issues.dlang.org/show_bug.cgi?id=15163
* If tokens can be handled as
* old C-style declaration or D expression, prefer the latter.
*/
if (isDeclaration(&token, NeedDeclaratorId.mustIfDstyle, TOKreserved, null))
goto Ldeclaration;
else
goto Lexp;
case TOKassert:
case TOKthis:
case TOKsuper:
case TOKint32v:
case TOKuns32v:
case TOKint64v:
case TOKuns64v:
case TOKint128v:
case TOKuns128v:
case TOKfloat32v:
case TOKfloat64v:
case TOKfloat80v:
case TOKimaginary32v:
case TOKimaginary64v:
case TOKimaginary80v:
case TOKcharv:
case TOKwcharv:
case TOKdcharv:
case TOKnull:
case TOKtrue:
case TOKfalse:
case TOKstring:
case TOKxstring:
case TOKlparen:
case TOKcast:
case TOKmul:
case TOKmin:
case TOKadd:
case TOKtilde:
case TOKnot:
case TOKplusplus:
case TOKminusminus:
case TOKnew:
case TOKdelete:
case TOKdelegate:
case TOKfunction:
case TOKtypeid:
case TOKis:
case TOKlbracket:
case TOKtraits:
case TOKfile:
case TOKfilefullpath:
case TOKline:
case TOKmodulestring:
case TOKfuncstring:
case TOKprettyfunc:
Lexp:
{
AST.Expression exp = parseExpression();
check(TOKsemicolon, "statement");
s = new AST.ExpStatement(loc, exp);
break;
}
case TOKstatic:
{
// Look ahead to see if it's static assert() or static if()
Token* t = peek(&token);
if (t.value == TOKassert)
{
s = new AST.StaticAssertStatement(parseStaticAssert());
break;
}
if (t.value == TOKif)
{
cond = parseStaticIfCondition();
goto Lcondition;
}
if (t.value == TOKimport)
{
AST.Dsymbols* imports = parseImport();
s = new AST.ImportStatement(loc, imports);
if (flags & PSscope)
s = new AST.ScopeStatement(loc, s, token.loc);
break;
}
goto Ldeclaration;
}
case TOKfinal:
if (peekNext() == TOKswitch)
{
nextToken();
isfinal = true;
goto Lswitch;
}
goto Ldeclaration;
case TOKwchar:
case TOKdchar:
case TOKbool:
case TOKchar:
case TOKint8:
case TOKuns8:
case TOKint16:
case TOKuns16:
case TOKint32:
case TOKuns32:
case TOKint64:
case TOKuns64:
case TOKint128:
case TOKuns128:
case TOKfloat32:
case TOKfloat64:
case TOKfloat80:
case TOKimaginary32:
case TOKimaginary64:
case TOKimaginary80:
case TOKcomplex32:
case TOKcomplex64:
case TOKcomplex80:
case TOKvoid:
// bug 7773: int.max is always a part of expression
if (peekNext() == TOKdot)
goto Lexp;
if (peekNext() == TOKlparen)
goto Lexp;
goto case;
case TOKalias:
case TOKconst:
case TOKauto:
case TOKabstract:
case TOKextern:
case TOKalign:
case TOKimmutable:
case TOKshared:
case TOKwild:
case TOKdeprecated:
case TOKnothrow:
case TOKpure:
case TOKref:
case TOKgshared:
case TOKat:
case TOKstruct:
case TOKunion:
case TOKclass:
case TOKinterface:
Ldeclaration:
{
AST.Dsymbols* a = parseDeclarations(false, null, null);
if (a.dim > 1)
{
auto as = new AST.Statements();
as.reserve(a.dim);
foreach (i; 0 .. a.dim)
{
AST.Dsymbol d = (*a)[i];
s = new AST.ExpStatement(loc, d);
as.push(s);
}
s = new AST.CompoundDeclarationStatement(loc, as);
}
else if (a.dim == 1)
{
AST.Dsymbol d = (*a)[0];
s = new AST.ExpStatement(loc, d);
}
else
s = new AST.ExpStatement(loc, cast(AST.Expression)null);
if (flags & PSscope)
s = new AST.ScopeStatement(loc, s, token.loc);
break;
}
case TOKenum:
{
/* Determine if this is a manifest constant declaration,
* or a conventional enum.
*/
AST.Dsymbol d;
Token* t = peek(&token);
if (t.value == TOKlcurly || t.value == TOKcolon)
d = parseEnum();
else if (t.value != TOKidentifier)
goto Ldeclaration;
else
{
t = peek(t);
if (t.value == TOKlcurly || t.value == TOKcolon || t.value == TOKsemicolon)
d = parseEnum();
else
goto Ldeclaration;
}
s = new AST.ExpStatement(loc, d);
if (flags & PSscope)
s = new AST.ScopeStatement(loc, s, token.loc);
break;
}
case TOKmixin:
{
Token* t = peek(&token);
if (t.value == TOKlparen)
{
// mixin(string)
AST.Expression e = parseAssignExp();
check(TOKsemicolon);
if (e.op == TOKmixin)
{
AST.CompileExp cpe = cast(AST.CompileExp)e;
s = new AST.CompileStatement(loc, cpe.e1);
}
else
{
s = new AST.ExpStatement(loc, e);
}
break;
}
AST.Dsymbol d = parseMixin();
s = new AST.ExpStatement(loc, d);
if (flags & PSscope)
s = new AST.ScopeStatement(loc, s, token.loc);
break;
}
case TOKlcurly:
{
const lookingForElseSave = lookingForElse;
lookingForElse = Loc();
nextToken();
//if (token.value == TOKsemicolon)
// error("use '{ }' for an empty statement, not a ';'");
auto statements = new AST.Statements();
while (token.value != TOKrcurly && token.value != TOKeof)
{
statements.push(parseStatement(PSsemi | PScurlyscope));
}
if (endPtr)
*endPtr = token.ptr;
endloc = token.loc;
if (pEndloc)
{
*pEndloc = token.loc;
pEndloc = null; // don't set it again
}
s = new AST.CompoundStatement(loc, statements);
if (flags & (PSscope | PScurlyscope))
s = new AST.ScopeStatement(loc, s, token.loc);
check(TOKrcurly, "compound statement");
lookingForElse = lookingForElseSave;
break;
}
case TOKwhile:
{
nextToken();
check(TOKlparen);
AST.Expression condition = parseExpression();
check(TOKrparen);
Loc endloc;
AST.Statement _body = parseStatement(PSscope, null, &endloc);
s = new AST.WhileStatement(loc, condition, _body, endloc);
break;
}
case TOKsemicolon:
if (!(flags & PSsemi_ok))
{
if (flags & PSsemi)
warning(loc, "use '{ }' for an empty statement, not a ';'");
else
error("use '{ }' for an empty statement, not a ';'");
}
nextToken();
s = new AST.ExpStatement(loc, cast(AST.Expression)null);
break;
case TOKdo:
{
AST.Statement _body;
AST.Expression condition;
nextToken();
const lookingForElseSave = lookingForElse;
lookingForElse = Loc();
_body = parseStatement(PSscope);
lookingForElse = lookingForElseSave;
check(TOKwhile);
check(TOKlparen);
condition = parseExpression();
check(TOKrparen);
if (token.value == TOKsemicolon)
nextToken();
else
error("terminating ';' required after do-while statement");
s = new AST.DoStatement(loc, _body, condition, token.loc);
break;
}
case TOKfor:
{
AST.Statement _init;
AST.Expression condition;
AST.Expression increment;
nextToken();
check(TOKlparen);
if (token.value == TOKsemicolon)
{
_init = null;
nextToken();
}
else
{
const lookingForElseSave = lookingForElse;
lookingForElse = Loc();
_init = parseStatement(0);
lookingForElse = lookingForElseSave;
}
if (token.value == TOKsemicolon)
{
condition = null;
nextToken();
}
else
{
condition = parseExpression();
check(TOKsemicolon, "for condition");
}
if (token.value == TOKrparen)
{
increment = null;
nextToken();
}
else
{
increment = parseExpression();
check(TOKrparen);
}
Loc endloc;
AST.Statement _body = parseStatement(PSscope, null, &endloc);
s = new AST.ForStatement(loc, _init, condition, increment, _body, endloc);
break;
}
case TOKforeach:
case TOKforeach_reverse:
{
TOK op = token.value;
nextToken();
check(TOKlparen);
auto parameters = new AST.Parameters();
while (1)
{
Identifier ai = null;
AST.Type at;
StorageClass storageClass = 0;
StorageClass stc = 0;
Lagain:
if (stc)
{
storageClass = appendStorageClass(storageClass, stc);
nextToken();
}
switch (token.value)
{
case TOKref:
stc = AST.STCref;
goto Lagain;
case TOKconst:
if (peekNext() != TOKlparen)
{
stc = AST.STCconst;
goto Lagain;
}
break;
case TOKimmutable:
if (peekNext() != TOKlparen)
{
stc = AST.STCimmutable;
goto Lagain;
}
break;
case TOKshared:
if (peekNext() != TOKlparen)
{
stc = AST.STCshared;
goto Lagain;
}
break;
case TOKwild:
if (peekNext() != TOKlparen)
{
stc = AST.STCwild;
goto Lagain;
}
break;
default:
break;
}
if (token.value == TOKidentifier)
{
Token* t = peek(&token);
if (t.value == TOKcomma || t.value == TOKsemicolon)
{
ai = token.ident;
at = null; // infer argument type
nextToken();
goto Larg;
}
}
at = parseType(&ai);
if (!ai)
error("no identifier for declarator %s", at.toChars());
Larg:
auto p = new AST.Parameter(storageClass, at, ai, null);
parameters.push(p);
if (token.value == TOKcomma)
{
nextToken();
continue;
}
break;
}
check(TOKsemicolon);
AST.Expression aggr = parseExpression();
if (token.value == TOKslice && parameters.dim == 1)
{
AST.Parameter p = (*parameters)[0];
nextToken();
AST.Expression upr = parseExpression();
check(TOKrparen);
Loc endloc;
AST.Statement _body = parseStatement(0, null, &endloc);
s = new AST.ForeachRangeStatement(loc, op, p, aggr, upr, _body, endloc);
}
else
{
check(TOKrparen);
Loc endloc;
AST.Statement _body = parseStatement(0, null, &endloc);
s = new AST.ForeachStatement(loc, op, parameters, aggr, _body, endloc);
}
break;
}
case TOKif:
{
AST.Parameter param = null;
AST.Expression condition;
nextToken();
check(TOKlparen);
StorageClass storageClass = 0;
StorageClass stc = 0;
LagainStc:
if (stc)
{
storageClass = appendStorageClass(storageClass, stc);
nextToken();
}
switch (token.value)
{
case TOKref:
stc = AST.STCref;
goto LagainStc;
case TOKauto:
stc = AST.STCauto;
goto LagainStc;
case TOKconst:
if (peekNext() != TOKlparen)
{
stc = AST.STCconst;
goto LagainStc;
}
break;
case TOKimmutable:
if (peekNext() != TOKlparen)
{
stc = AST.STCimmutable;
goto LagainStc;
}
break;
case TOKshared:
if (peekNext() != TOKlparen)
{
stc = AST.STCshared;
goto LagainStc;
}
break;
case TOKwild:
if (peekNext() != TOKlparen)
{
stc = AST.STCwild;
goto LagainStc;
}
break;
default:
break;
}
if (storageClass != 0 && token.value == TOKidentifier && peek(&token).value == TOKassign)
{
Identifier ai = token.ident;
AST.Type at = null; // infer parameter type
nextToken();
check(TOKassign);
param = new AST.Parameter(storageClass, at, ai, null);
}
else if (isDeclaration(&token, NeedDeclaratorId.must, TOKassign, null))
{
Identifier ai;
AST.Type at = parseType(&ai);
check(TOKassign);
param = new AST.Parameter(storageClass, at, ai, null);
}
condition = parseExpression();
check(TOKrparen);
{
const lookingForElseSave = lookingForElse;
lookingForElse = loc;
ifbody = parseStatement(PSscope);
lookingForElse = lookingForElseSave;
}
if (token.value == TOKelse)
{
const elseloc = token.loc;
nextToken();
elsebody = parseStatement(PSscope);
checkDanglingElse(elseloc);
}
else
elsebody = null;
if (condition && ifbody)
s = new AST.IfStatement(loc, param, condition, ifbody, elsebody, token.loc);
else
s = null; // don't propagate parsing errors
break;
}
case TOKscope:
if (peek(&token).value != TOKlparen)
goto Ldeclaration; // scope used as storage class
nextToken();
check(TOKlparen);
if (token.value != TOKidentifier)
{
error("scope identifier expected");
goto Lerror;
}
else
{
TOK t = TOKon_scope_exit;
Identifier id = token.ident;
if (id == Id.exit)
t = TOKon_scope_exit;
else if (id == Id.failure)
t = TOKon_scope_failure;
else if (id == Id.success)
t = TOKon_scope_success;
else
error("valid scope identifiers are exit, failure, or success, not %s", id.toChars());
nextToken();
check(TOKrparen);
AST.Statement st = parseStatement(PScurlyscope);
s = new AST.OnScopeStatement(loc, t, st);
break;
}
case TOKdebug:
nextToken();
if (token.value == TOKassign)
{
error("debug conditions can only be declared at module scope");
nextToken();
nextToken();
goto Lerror;
}
cond = parseDebugCondition();
goto Lcondition;
case TOKversion:
nextToken();
if (token.value == TOKassign)
{
error("version conditions can only be declared at module scope");
nextToken();
nextToken();
goto Lerror;
}
cond = parseVersionCondition();
goto Lcondition;
Lcondition:
{
const lookingForElseSave = lookingForElse;
lookingForElse = loc;
ifbody = parseStatement(0);
lookingForElse = lookingForElseSave;
}
elsebody = null;
if (token.value == TOKelse)
{
const elseloc = token.loc;
nextToken();
elsebody = parseStatement(0);
checkDanglingElse(elseloc);
}
s = new AST.ConditionalStatement(loc, cond, ifbody, elsebody);
if (flags & PSscope)
s = new AST.ScopeStatement(loc, s, token.loc);
break;
case TOKpragma:
{
Identifier ident;
AST.Expressions* args = null;
AST.Statement _body;
nextToken();
check(TOKlparen);
if (token.value != TOKidentifier)
{
error("pragma(identifier) expected");
goto Lerror;
}
ident = token.ident;
nextToken();
if (token.value == TOKcomma && peekNext() != TOKrparen)
args = parseArguments(); // pragma(identifier, args...);
else
check(TOKrparen); // pragma(identifier);
if (token.value == TOKsemicolon)
{
nextToken();
_body = null;
}
else
_body = parseStatement(PSsemi);
s = new AST.PragmaStatement(loc, ident, args, _body);
break;
}
case TOKswitch:
isfinal = false;
goto Lswitch;
Lswitch:
{
nextToken();
check(TOKlparen);
AST.Expression condition = parseExpression();
check(TOKrparen);
AST.Statement _body = parseStatement(PSscope);
s = new AST.SwitchStatement(loc, condition, _body, isfinal);
break;
}
case TOKcase:
{
AST.Expression exp;
AST.Expressions cases; // array of Expression's
AST.Expression last = null;
while (1)
{
nextToken();
exp = parseAssignExp();
cases.push(exp);
if (token.value != TOKcomma)
break;
}
check(TOKcolon);
/* case exp: .. case last:
*/
if (token.value == TOKslice)
{
if (cases.dim > 1)
error("only one case allowed for start of case range");
nextToken();
check(TOKcase);
last = parseAssignExp();
check(TOKcolon);
}
if (flags & PScurlyscope)
{
auto statements = new AST.Statements();
while (token.value != TOKcase && token.value != TOKdefault && token.value != TOKeof && token.value != TOKrcurly)
{
statements.push(parseStatement(PSsemi | PScurlyscope));
}
s = new AST.CompoundStatement(loc, statements);
}
else
s = parseStatement(PSsemi | PScurlyscope);
s = new AST.ScopeStatement(loc, s, token.loc);
if (last)
{
s = new AST.CaseRangeStatement(loc, exp, last, s);
}
else
{
// Keep cases in order by building the case statements backwards
for (size_t i = cases.dim; i; i--)
{
exp = cases[i - 1];
s = new AST.CaseStatement(loc, exp, s);
}
}
break;
}
case TOKdefault:
{
nextToken();
check(TOKcolon);
if (flags & PScurlyscope)
{
auto statements = new AST.Statements();
while (token.value != TOKcase && token.value != TOKdefault && token.value != TOKeof && token.value != TOKrcurly)
{
statements.push(parseStatement(PSsemi | PScurlyscope));
}
s = new AST.CompoundStatement(loc, statements);
}
else
s = parseStatement(PSsemi | PScurlyscope);
s = new AST.ScopeStatement(loc, s, token.loc);
s = new AST.DefaultStatement(loc, s);
break;
}
case TOKreturn:
{
AST.Expression exp;
nextToken();
if (token.value == TOKsemicolon)
exp = null;
else
exp = parseExpression();
check(TOKsemicolon, "return statement");
s = new AST.ReturnStatement(loc, exp);
break;
}
case TOKbreak:
{
Identifier ident;
nextToken();
if (token.value == TOKidentifier)
{
ident = token.ident;
nextToken();
}
else
ident = null;
check(TOKsemicolon, "break statement");
s = new AST.BreakStatement(loc, ident);
break;
}
case TOKcontinue:
{
Identifier ident;
nextToken();
if (token.value == TOKidentifier)
{
ident = token.ident;
nextToken();
}
else
ident = null;
check(TOKsemicolon, "continue statement");
s = new AST.ContinueStatement(loc, ident);
break;
}
case TOKgoto:
{
Identifier ident;
nextToken();
if (token.value == TOKdefault)
{
nextToken();
s = new AST.GotoDefaultStatement(loc);
}
else if (token.value == TOKcase)
{
AST.Expression exp = null;
nextToken();
if (token.value != TOKsemicolon)
exp = parseExpression();
s = new AST.GotoCaseStatement(loc, exp);
}
else
{
if (token.value != TOKidentifier)
{
error("identifier expected following goto");
ident = null;
}
else
{
ident = token.ident;
nextToken();
}
s = new AST.GotoStatement(loc, ident);
}
check(TOKsemicolon, "goto statement");
break;
}
case TOKsynchronized:
{
AST.Expression exp;
AST.Statement _body;
Token* t = peek(&token);
if (skipAttributes(t, &t) && t.value == TOKclass)
goto Ldeclaration;
nextToken();
if (token.value == TOKlparen)
{
nextToken();
exp = parseExpression();
check(TOKrparen);
}
else
exp = null;
_body = parseStatement(PSscope);
s = new AST.SynchronizedStatement(loc, exp, _body);
break;
}
case TOKwith:
{
AST.Expression exp;
AST.Statement _body;
Loc endloc = loc;
nextToken();
check(TOKlparen);
exp = parseExpression();
check(TOKrparen);
_body = parseStatement(PSscope, null, &endloc);
s = new AST.WithStatement(loc, exp, _body, endloc);
break;
}
case TOKtry:
{
AST.Statement _body;
AST.Catches* catches = null;
AST.Statement finalbody = null;
nextToken();
const lookingForElseSave = lookingForElse;
lookingForElse = Loc();
_body = parseStatement(PSscope);
lookingForElse = lookingForElseSave;
while (token.value == TOKcatch)
{
AST.Statement handler;
AST.Catch c;
AST.Type t;
Identifier id;
const catchloc = token.loc;
nextToken();
if (token.value == TOKlcurly || token.value != TOKlparen)
{
t = null;
id = null;
}
else
{
check(TOKlparen);
id = null;
t = parseType(&id);
check(TOKrparen);
}
handler = parseStatement(0);
c = new AST.Catch(catchloc, t, id, handler);
if (!catches)
catches = new AST.Catches();
catches.push(c);
}
if (token.value == TOKfinally)
{
nextToken();
finalbody = parseStatement(0);
}
s = _body;
if (!catches && !finalbody)
error("catch or finally expected following try");
else
{
if (catches)
s = new AST.TryCatchStatement(loc, _body, catches);
if (finalbody)
s = new AST.TryFinallyStatement(loc, s, finalbody);
}
break;
}
case TOKthrow:
{
AST.Expression exp;
nextToken();
exp = parseExpression();
check(TOKsemicolon, "throw statement");
s = new AST.ThrowStatement(loc, exp);
break;
}
case TOKasm:
{
// Parse the asm block into a sequence of AsmStatements,
// each AsmStatement is one instruction.
// Separate out labels.
// Defer parsing of AsmStatements until semantic processing.
Loc labelloc;
nextToken();
StorageClass stc = parsePostfix(AST.STCundefined, null);
if (stc & (AST.STCconst | AST.STCimmutable | AST.STCshared | AST.STCwild))
error("const/immutable/shared/inout attributes are not allowed on asm blocks");
check(TOKlcurly);
Token* toklist = null;
Token** ptoklist = &toklist;
Identifier label = null;
auto statements = new AST.Statements();
size_t nestlevel = 0;
while (1)
{
switch (token.value)
{
case TOKidentifier:
if (!toklist)
{
// Look ahead to see if it is a label
Token* t = peek(&token);
if (t.value == TOKcolon)
{
// It's a label
label = token.ident;
labelloc = token.loc;
nextToken();
nextToken();
continue;
}
}
goto Ldefault;
case TOKlcurly:
++nestlevel;
goto Ldefault;
case TOKrcurly:
if (nestlevel > 0)
{
--nestlevel;
goto Ldefault;
}
if (toklist || label)
{
error("asm statements must end in ';'");
}
break;
case TOKsemicolon:
if (nestlevel != 0)
error("mismatched number of curly brackets");
s = null;
if (toklist || label)
{
// Create AsmStatement from list of tokens we've saved
s = new AST.AsmStatement(token.loc, toklist);
toklist = null;
ptoklist = &toklist;
if (label)
{
s = new AST.LabelStatement(labelloc, label, s);
label = null;
}
statements.push(s);
}
nextToken();
continue;
case TOKeof:
/* { */
error("matching '}' expected, not end of file");
goto Lerror;
default:
Ldefault:
*ptoklist = Token.alloc();
memcpy(*ptoklist, &token, Token.sizeof);
ptoklist = &(*ptoklist).next;
*ptoklist = null;
nextToken();
continue;
}
break;
}
s = new AST.CompoundAsmStatement(loc, statements, stc);
nextToken();
break;
}
case TOKimport:
{
AST.Dsymbols* imports = parseImport();
s = new AST.ImportStatement(loc, imports);
if (flags & PSscope)
s = new AST.ScopeStatement(loc, s, token.loc);
break;
}
case TOKtemplate:
{
AST.Dsymbol d = parseTemplateDeclaration();
s = new AST.ExpStatement(loc, d);
break;
}
default:
error("found '%s' instead of statement", token.toChars());
goto Lerror;
Lerror:
while (token.value != TOKrcurly && token.value != TOKsemicolon && token.value != TOKeof)
nextToken();
if (token.value == TOKsemicolon)
nextToken();
s = null;
break;
}
if (pEndloc)
*pEndloc = token.loc;
return s;
}
/*****************************************
* Parse initializer for variable declaration.
*/
AST.Initializer parseInitializer()
{
AST.StructInitializer _is;
AST.ArrayInitializer ia;
AST.ExpInitializer ie;
AST.Expression e;
Identifier id;
AST.Initializer value;
int comma;
const loc = token.loc;
Token* t;
int braces;
int brackets;
switch (token.value)
{
case TOKlcurly:
/* Scan ahead to see if it is a struct initializer or
* a function literal.
* If it contains a ';', it is a function literal.
* Treat { } as a struct initializer.
*/
braces = 1;
for (t = peek(&token); 1; t = peek(t))
{
switch (t.value)
{
case TOKsemicolon:
case TOKreturn:
goto Lexpression;
case TOKlcurly:
braces++;
continue;
case TOKrcurly:
if (--braces == 0)
break;
continue;
case TOKeof:
break;
default:
continue;
}
break;
}
_is = new AST.StructInitializer(loc);
nextToken();
comma = 2;
while (1)
{
switch (token.value)
{
case TOKidentifier:
if (comma == 1)
error("comma expected separating field initializers");
t = peek(&token);
if (t.value == TOKcolon)
{
id = token.ident;
nextToken();
nextToken(); // skip over ':'
}
else
{
id = null;
}
value = parseInitializer();
_is.addInit(id, value);
comma = 1;
continue;
case TOKcomma:
if (comma == 2)
error("expression expected, not ','");
nextToken();
comma = 2;
continue;
case TOKrcurly: // allow trailing comma's
nextToken();
break;
case TOKeof:
error("found EOF instead of initializer");
break;
default:
if (comma == 1)
error("comma expected separating field initializers");
value = parseInitializer();
_is.addInit(null, value);
comma = 1;
continue;
//error("found '%s' instead of field initializer", token.toChars());
//break;
}
break;
}
return _is;
case TOKlbracket:
/* Scan ahead to see if it is an array initializer or
* an expression.
* If it ends with a ';' ',' or '}', it is an array initializer.
*/
brackets = 1;
for (t = peek(&token); 1; t = peek(t))
{
switch (t.value)
{
case TOKlbracket:
brackets++;
continue;
case TOKrbracket:
if (--brackets == 0)
{
t = peek(t);
if (t.value != TOKsemicolon && t.value != TOKcomma && t.value != TOKrbracket && t.value != TOKrcurly)
goto Lexpression;
break;
}
continue;
case TOKeof:
break;
default:
continue;
}
break;
}
ia = new AST.ArrayInitializer(loc);
nextToken();
comma = 2;
while (1)
{
switch (token.value)
{
default:
if (comma == 1)
{
error("comma expected separating array initializers, not %s", token.toChars());
nextToken();
break;
}
e = parseAssignExp();
if (!e)
break;
if (token.value == TOKcolon)
{
nextToken();
value = parseInitializer();
}
else
{
value = new AST.ExpInitializer(e.loc, e);
e = null;
}
ia.addInit(e, value);
comma = 1;
continue;
case TOKlcurly:
case TOKlbracket:
if (comma == 1)
error("comma expected separating array initializers, not %s", token.toChars());
value = parseInitializer();
if (token.value == TOKcolon)
{
nextToken();
e = value.toExpression();
value = parseInitializer();
}
else
e = null;
ia.addInit(e, value);
comma = 1;
continue;
case TOKcomma:
if (comma == 2)
error("expression expected, not ','");
nextToken();
comma = 2;
continue;
case TOKrbracket: // allow trailing comma's
nextToken();
break;
case TOKeof:
error("found '%s' instead of array initializer", token.toChars());
break;
}
break;
}
return ia;
case TOKvoid:
t = peek(&token);
if (t.value == TOKsemicolon || t.value == TOKcomma)
{
nextToken();
return new AST.VoidInitializer(loc);
}
goto Lexpression;
default:
Lexpression:
e = parseAssignExp();
ie = new AST.ExpInitializer(loc, e);
return ie;
}
}
/*****************************************
* Parses default argument initializer expression that is an assign expression,
* with special handling for __FILE__, __FILE_DIR__, __LINE__, __MODULE__, __FUNCTION__, and __PRETTY_FUNCTION__.
*/
AST.Expression parseDefaultInitExp()
{
if (token.value == TOKfile || token.value == TOKfilefullpath || token.value == TOKline
|| token.value == TOKmodulestring || token.value == TOKfuncstring || token.value == TOKprettyfunc)
{
Token* t = peek(&token);
if (t.value == TOKcomma || t.value == TOKrparen)
{
AST.Expression e = null;
if (token.value == TOKfile)
e = new AST.FileInitExp(token.loc, TOKfile);
else if (token.value == TOKfilefullpath)
e = new AST.FileInitExp(token.loc, TOKfilefullpath);
else if (token.value == TOKline)
e = new AST.LineInitExp(token.loc);
else if (token.value == TOKmodulestring)
e = new AST.ModuleInitExp(token.loc);
else if (token.value == TOKfuncstring)
e = new AST.FuncInitExp(token.loc);
else if (token.value == TOKprettyfunc)
e = new AST.PrettyFuncInitExp(token.loc);
else
assert(0);
nextToken();
return e;
}
}
AST.Expression e = parseAssignExp();
return e;
}
void check(Loc loc, TOK value)
{
if (token.value != value)
error(loc, "found '%s' when expecting '%s'", token.toChars(), Token.toChars(value));
nextToken();
}
void check(TOK value)
{
check(token.loc, value);
}
void check(TOK value, const(char)* string)
{
if (token.value != value)
error("found '%s' when expecting '%s' following %s", token.toChars(), Token.toChars(value), string);
nextToken();
}
void checkParens(TOK value, AST.Expression e)
{
if (precedence[e.op] == PREC.rel && !e.parens)
error(e.loc, "%s must be parenthesized when next to operator %s", e.toChars(), Token.toChars(value));
}
enum NeedDeclaratorId
{
no, // Declarator part must have no identifier
opt, // Declarator part identifier is optional
must, // Declarator part must have identifier
mustIfDstyle, // Declarator part must have identifier, but don't recognize old C-style syntax
}
/************************************
* Determine if the scanner is sitting on the start of a declaration.
* Params:
* needId
* Output:
* if *pt is not NULL, it is set to the ending token, which would be endtok
*/
bool isDeclaration(Token* t, NeedDeclaratorId needId, TOK endtok, Token** pt)
{
//printf("isDeclaration(needId = %d)\n", needId);
int haveId = 0;
int haveTpl = 0;
while (1)
{
if ((t.value == TOKconst || t.value == TOKimmutable || t.value == TOKwild || t.value == TOKshared) && peek(t).value != TOKlparen)
{
/* const type
* immutable type
* shared type
* wild type
*/
t = peek(t);
continue;
}
break;
}
if (!isBasicType(&t))
{
goto Lisnot;
}
if (!isDeclarator(&t, &haveId, &haveTpl, endtok, needId != NeedDeclaratorId.mustIfDstyle))
goto Lisnot;
if ((needId == NeedDeclaratorId.no && !haveId) ||
(needId == NeedDeclaratorId.opt) ||
(needId == NeedDeclaratorId.must && haveId) ||
(needId == NeedDeclaratorId.mustIfDstyle && haveId))
{
if (pt)
*pt = t;
goto Lis;
}
else
goto Lisnot;
Lis:
//printf("\tis declaration, t = %s\n", t.toChars());
return true;
Lisnot:
//printf("\tis not declaration\n");
return false;
}
bool isBasicType(Token** pt)
{
// This code parallels parseBasicType()
Token* t = *pt;
switch (t.value)
{
case TOKwchar:
case TOKdchar:
case TOKbool:
case TOKchar:
case TOKint8:
case TOKuns8:
case TOKint16:
case TOKuns16:
case TOKint32:
case TOKuns32:
case TOKint64:
case TOKuns64:
case TOKint128:
case TOKuns128:
case TOKfloat32:
case TOKfloat64:
case TOKfloat80:
case TOKimaginary32:
case TOKimaginary64:
case TOKimaginary80:
case TOKcomplex32:
case TOKcomplex64:
case TOKcomplex80:
case TOKvoid:
t = peek(t);
break;
case TOKidentifier:
L5:
t = peek(t);
if (t.value == TOKnot)
{
goto L4;
}
goto L3;
while (1)
{
L2:
t = peek(t);
L3:
if (t.value == TOKdot)
{
Ldot:
t = peek(t);
if (t.value != TOKidentifier)
goto Lfalse;
t = peek(t);
if (t.value != TOKnot)
goto L3;
L4:
/* Seen a !
* Look for:
* !( args ), !identifier, etc.
*/
t = peek(t);
switch (t.value)
{
case TOKidentifier:
goto L5;
case TOKlparen:
if (!skipParens(t, &t))
goto Lfalse;
goto L3;
case TOKwchar:
case TOKdchar:
case TOKbool:
case TOKchar:
case TOKint8:
case TOKuns8:
case TOKint16:
case TOKuns16:
case TOKint32:
case TOKuns32:
case TOKint64:
case TOKuns64:
case TOKint128:
case TOKuns128:
case TOKfloat32:
case TOKfloat64:
case TOKfloat80:
case TOKimaginary32:
case TOKimaginary64:
case TOKimaginary80:
case TOKcomplex32:
case TOKcomplex64:
case TOKcomplex80:
case TOKvoid:
case TOKint32v:
case TOKuns32v:
case TOKint64v:
case TOKuns64v:
case TOKint128v:
case TOKuns128v:
case TOKfloat32v:
case TOKfloat64v:
case TOKfloat80v:
case TOKimaginary32v:
case TOKimaginary64v:
case TOKimaginary80v:
case TOKnull:
case TOKtrue:
case TOKfalse:
case TOKcharv:
case TOKwcharv:
case TOKdcharv:
case TOKstring:
case TOKxstring:
case TOKfile:
case TOKfilefullpath:
case TOKline:
case TOKmodulestring:
case TOKfuncstring:
case TOKprettyfunc:
goto L2;
default:
goto Lfalse;
}
}
else
break;
}
break;
case TOKdot:
goto Ldot;
case TOKtypeof:
case TOKvector:
/* typeof(exp).identifier...
*/
t = peek(t);
if (!skipParens(t, &t))
goto Lfalse;
goto L3;
case TOKconst:
case TOKimmutable:
case TOKshared:
case TOKwild:
// const(type) or immutable(type) or shared(type) or wild(type)
t = peek(t);
if (t.value != TOKlparen)
goto Lfalse;
t = peek(t);
if (!isDeclaration(t, NeedDeclaratorId.no, TOKrparen, &t))
{
goto Lfalse;
}
t = peek(t);
break;
default:
goto Lfalse;
}
*pt = t;
//printf("is\n");
return true;
Lfalse:
//printf("is not\n");
return false;
}
bool isDeclarator(Token** pt, int* haveId, int* haveTpl, TOK endtok, bool allowAltSyntax = true)
{
// This code parallels parseDeclarator()
Token* t = *pt;
int parens;
//printf("Parser::isDeclarator() %s\n", t.toChars());
if (t.value == TOKassign)
return false;
while (1)
{
parens = false;
switch (t.value)
{
case TOKmul:
//case TOKand:
t = peek(t);
continue;
case TOKlbracket:
t = peek(t);
if (t.value == TOKrbracket)
{
t = peek(t);
}
else if (isDeclaration(t, NeedDeclaratorId.no, TOKrbracket, &t))
{
// It's an associative array declaration
t = peek(t);
// ...[type].ident
if (t.value == TOKdot && peek(t).value == TOKidentifier)
{
t = peek(t);
t = peek(t);
}
}
else
{
// [ expression ]
// [ expression .. expression ]
if (!isExpression(&t))
return false;
if (t.value == TOKslice)
{
t = peek(t);
if (!isExpression(&t))
return false;
if (t.value != TOKrbracket)
return false;
t = peek(t);
}
else
{
if (t.value != TOKrbracket)
return false;
t = peek(t);
// ...[index].ident
if (t.value == TOKdot && peek(t).value == TOKidentifier)
{
t = peek(t);
t = peek(t);
}
}
}
continue;
case TOKidentifier:
if (*haveId)
return false;
*haveId = true;
t = peek(t);
break;
case TOKlparen:
if (!allowAltSyntax)
return false; // Do not recognize C-style declarations.
t = peek(t);
if (t.value == TOKrparen)
return false; // () is not a declarator
/* Regard ( identifier ) as not a declarator
* BUG: what about ( *identifier ) in
* f(*p)(x);
* where f is a class instance with overloaded () ?
* Should we just disallow C-style function pointer declarations?
*/
if (t.value == TOKidentifier)
{
Token* t2 = peek(t);
if (t2.value == TOKrparen)
return false;
}
if (!isDeclarator(&t, haveId, null, TOKrparen))
return false;
t = peek(t);
parens = true;
break;
case TOKdelegate:
case TOKfunction:
t = peek(t);
if (!isParameters(&t))
return false;
skipAttributes(t, &t);
continue;
default:
break;
}
break;
}
while (1)
{
switch (t.value)
{
static if (CARRAYDECL)
{
case TOKlbracket:
parens = false;
t = peek(t);
if (t.value == TOKrbracket)
{
t = peek(t);
}
else if (isDeclaration(t, NeedDeclaratorId.no, TOKrbracket, &t))
{
// It's an associative array declaration
t = peek(t);
}
else
{
// [ expression ]
if (!isExpression(&t))
return false;
if (t.value != TOKrbracket)
return false;
t = peek(t);
}
continue;
}
case TOKlparen:
parens = false;
if (Token* tk = peekPastParen(t))
{
if (tk.value == TOKlparen)
{
if (!haveTpl)
return false;
*haveTpl = 1;
t = tk;
}
else if (tk.value == TOKassign)
{
if (!haveTpl)
return false;
*haveTpl = 1;
*pt = tk;
return true;
}
}
if (!isParameters(&t))
return false;
while (1)
{
switch (t.value)
{
case TOKconst:
case TOKimmutable:
case TOKshared:
case TOKwild:
case TOKpure:
case TOKnothrow:
case TOKreturn:
case TOKscope:
t = peek(t);
continue;
case TOKat:
t = peek(t); // skip '@'
t = peek(t); // skip identifier
continue;
default:
break;
}
break;
}
continue;
// Valid tokens that follow a declaration
case TOKrparen:
case TOKrbracket:
case TOKassign:
case TOKcomma:
case TOKdotdotdot:
case TOKsemicolon:
case TOKlcurly:
case TOKin:
case TOKout:
case TOKbody:
// The !parens is to disallow unnecessary parentheses
if (!parens && (endtok == TOKreserved || endtok == t.value))
{
*pt = t;
return true;
}
return false;
case TOKif:
return haveTpl ? true : false;
default:
return false;
}
}
}
bool isParameters(Token** pt)
{
// This code parallels parseParameters()
Token* t = *pt;
//printf("isParameters()\n");
if (t.value != TOKlparen)
return false;
t = peek(t);
for (; 1; t = peek(t))
{
L1:
switch (t.value)
{
case TOKrparen:
break;
case TOKdotdotdot:
t = peek(t);
break;
case TOKin:
case TOKout:
case TOKref:
case TOKlazy:
case TOKscope:
case TOKfinal:
case TOKauto:
case TOKreturn:
continue;
case TOKconst:
case TOKimmutable:
case TOKshared:
case TOKwild:
t = peek(t);
if (t.value == TOKlparen)
{
t = peek(t);
if (!isDeclaration(t, NeedDeclaratorId.no, TOKrparen, &t))
return false;
t = peek(t); // skip past closing ')'
goto L2;
}
goto L1;
version (none)
{
case TOKstatic:
continue;
case TOKauto:
case TOKalias:
t = peek(t);
if (t.value == TOKidentifier)
t = peek(t);
if (t.value == TOKassign)
{
t = peek(t);
if (!isExpression(&t))
return false;
}
goto L3;
}
default:
{
if (!isBasicType(&t))
return false;
L2:
int tmp = false;
if (t.value != TOKdotdotdot && !isDeclarator(&t, &tmp, null, TOKreserved))
return false;
if (t.value == TOKassign)
{
t = peek(t);
if (!isExpression(&t))
return false;
}
if (t.value == TOKdotdotdot)
{
t = peek(t);
break;
}
}
if (t.value == TOKcomma)
{
continue;
}
break;
}
break;
}
if (t.value != TOKrparen)
return false;
t = peek(t);
*pt = t;
return true;
}
bool isExpression(Token** pt)
{
// This is supposed to determine if something is an expression.
// What it actually does is scan until a closing right bracket
// is found.
Token* t = *pt;
int brnest = 0;
int panest = 0;
int curlynest = 0;
for (;; t = peek(t))
{
switch (t.value)
{
case TOKlbracket:
brnest++;
continue;
case TOKrbracket:
if (--brnest >= 0)
continue;
break;
case TOKlparen:
panest++;
continue;
case TOKcomma:
if (brnest || panest)
continue;
break;
case TOKrparen:
if (--panest >= 0)
continue;
break;
case TOKlcurly:
curlynest++;
continue;
case TOKrcurly:
if (--curlynest >= 0)
continue;
return false;
case TOKslice:
if (brnest)
continue;
break;
case TOKsemicolon:
if (curlynest)
continue;
return false;
case TOKeof:
return false;
default:
continue;
}
break;
}
*pt = t;
return true;
}
/*******************************************
* Skip parens, brackets.
* Input:
* t is on opening $(LPAREN)
* Output:
* *pt is set to closing token, which is '$(RPAREN)' on success
* Returns:
* true successful
* false some parsing error
*/
bool skipParens(Token* t, Token** pt)
{
if (t.value != TOKlparen)
return false;
int parens = 0;
while (1)
{
switch (t.value)
{
case TOKlparen:
parens++;
break;
case TOKrparen:
parens--;
if (parens < 0)
goto Lfalse;
if (parens == 0)
goto Ldone;
break;
case TOKeof:
goto Lfalse;
default:
break;
}
t = peek(t);
}
Ldone:
if (pt)
*pt = peek(t); // skip found rparen
return true;
Lfalse:
return false;
}
bool skipParensIf(Token* t, Token** pt)
{
if (t.value != TOKlparen)
{
if (pt)
*pt = t;
return true;
}
return skipParens(t, pt);
}
/*******************************************
* Skip attributes.
* Input:
* t is on a candidate attribute
* Output:
* *pt is set to first non-attribute token on success
* Returns:
* true successful
* false some parsing error
*/
bool skipAttributes(Token* t, Token** pt)
{
while (1)
{
switch (t.value)
{
case TOKconst:
case TOKimmutable:
case TOKshared:
case TOKwild:
case TOKfinal:
case TOKauto:
case TOKscope:
case TOKoverride:
case TOKabstract:
case TOKsynchronized:
break;
case TOKdeprecated:
if (peek(t).value == TOKlparen)
{
t = peek(t);
if (!skipParens(t, &t))
goto Lerror;
// t is on the next of closing parenthesis
continue;
}
break;
case TOKnothrow:
case TOKpure:
case TOKref:
case TOKgshared:
case TOKreturn:
//case TOKmanifest:
break;
case TOKat:
t = peek(t);
if (t.value == TOKidentifier)
{
/* @identifier
* @identifier!arg
* @identifier!(arglist)
* any of the above followed by (arglist)
* @predefined_attribute
*/
if (t.ident == Id.property || t.ident == Id.nogc || t.ident == Id.safe || t.ident == Id.trusted || t.ident == Id.system || t.ident == Id.disable)
break;
t = peek(t);
if (t.value == TOKnot)
{
t = peek(t);
if (t.value == TOKlparen)
{
// @identifier!(arglist)
if (!skipParens(t, &t))
goto Lerror;
// t is on the next of closing parenthesis
}
else
{
// @identifier!arg
// Do low rent skipTemplateArgument
if (t.value == TOKvector)
{
// identifier!__vector(type)
t = peek(t);
if (!skipParens(t, &t))
goto Lerror;
}
else
t = peek(t);
}
}
if (t.value == TOKlparen)
{
if (!skipParens(t, &t))
goto Lerror;
// t is on the next of closing parenthesis
continue;
}
continue;
}
if (t.value == TOKlparen)
{
// @( ArgumentList )
if (!skipParens(t, &t))
goto Lerror;
// t is on the next of closing parenthesis
continue;
}
goto Lerror;
default:
goto Ldone;
}
t = peek(t);
}
Ldone:
if (pt)
*pt = t;
return true;
Lerror:
return false;
}
AST.Expression parseExpression()
{
auto loc = token.loc;
//printf("Parser::parseExpression() loc = %d\n", loc.linnum);
auto e = parseAssignExp();
while (token.value == TOKcomma)
{
nextToken();
auto e2 = parseAssignExp();
e = new AST.CommaExp(loc, e, e2, false);
loc = token.loc;
}
return e;
}
/********************************* Expression Parser ***************************/
AST.Expression parsePrimaryExp()
{
AST.Expression e;
AST.Type t;
Identifier id;
const loc = token.loc;
//printf("parsePrimaryExp(): loc = %d\n", loc.linnum);
switch (token.value)
{
case TOKidentifier:
{
Token* t1 = peek(&token);
Token* t2 = peek(t1);
if (t1.value == TOKmin && t2.value == TOKgt)
{
// skip ident.
nextToken();
nextToken();
nextToken();
error("use '.' for member lookup, not '->'");
goto Lerr;
}
if (peekNext() == TOKgoesto)
goto case_delegate;
id = token.ident;
nextToken();
TOK save;
if (token.value == TOKnot && (save = peekNext()) != TOKis && save != TOKin)
{
// identifier!(template-argument-list)
auto tempinst = new AST.TemplateInstance(loc, id, parseTemplateArguments());
e = new AST.ScopeExp(loc, tempinst);
}
else
e = new AST.IdentifierExp(loc, id);
break;
}
case TOKdollar:
if (!inBrackets)
error("'$' is valid only inside [] of index or slice");
e = new AST.DollarExp(loc);
nextToken();
break;
case TOKdot:
// Signal global scope '.' operator with "" identifier
e = new AST.IdentifierExp(loc, Id.empty);
break;
case TOKthis:
e = new AST.ThisExp(loc);
nextToken();
break;
case TOKsuper:
e = new AST.SuperExp(loc);
nextToken();
break;
case TOKint32v:
e = new AST.IntegerExp(loc, cast(d_int32)token.int64value, AST.Type.tint32);
nextToken();
break;
case TOKuns32v:
e = new AST.IntegerExp(loc, cast(d_uns32)token.uns64value, AST.Type.tuns32);
nextToken();
break;
case TOKint64v:
e = new AST.IntegerExp(loc, token.int64value, AST.Type.tint64);
nextToken();
break;
case TOKuns64v:
e = new AST.IntegerExp(loc, token.uns64value, AST.Type.tuns64);
nextToken();
break;
case TOKfloat32v:
e = new AST.RealExp(loc, token.floatvalue, AST.Type.tfloat32);
nextToken();
break;
case TOKfloat64v:
e = new AST.RealExp(loc, token.floatvalue, AST.Type.tfloat64);
nextToken();
break;
case TOKfloat80v:
e = new AST.RealExp(loc, token.floatvalue, AST.Type.tfloat80);
nextToken();
break;
case TOKimaginary32v:
e = new AST.RealExp(loc, token.floatvalue, AST.Type.timaginary32);
nextToken();
break;
case TOKimaginary64v:
e = new AST.RealExp(loc, token.floatvalue, AST.Type.timaginary64);
nextToken();
break;
case TOKimaginary80v:
e = new AST.RealExp(loc, token.floatvalue, AST.Type.timaginary80);
nextToken();
break;
case TOKnull:
e = new AST.NullExp(loc);
nextToken();
break;
case TOKfile:
{
const(char)* s = loc.filename ? loc.filename : mod.ident.toChars();
e = new AST.StringExp(loc, cast(char*)s);
nextToken();
break;
}
case TOKfilefullpath:
{
const(char)* srcfile = mod.srcfile.name.toChars();
const(char)* s;
if(loc.filename && !FileName.equals(loc.filename, srcfile)) {
s = loc.filename;
} else {
s = FileName.combine(mod.srcfilePath, srcfile);
}
e = new AST.StringExp(loc, cast(char*)s);
nextToken();
break;
}
case TOKline:
e = new AST.IntegerExp(loc, loc.linnum, AST.Type.tint32);
nextToken();
break;
case TOKmodulestring:
{
const(char)* s = md ? md.toChars() : mod.toChars();
e = new AST.StringExp(loc, cast(char*)s);
nextToken();
break;
}
case TOKfuncstring:
e = new AST.FuncInitExp(loc);
nextToken();
break;
case TOKprettyfunc:
e = new AST.PrettyFuncInitExp(loc);
nextToken();
break;
case TOKtrue:
e = new AST.IntegerExp(loc, 1, AST.Type.tbool);
nextToken();
break;
case TOKfalse:
e = new AST.IntegerExp(loc, 0, AST.Type.tbool);
nextToken();
break;
case TOKcharv:
e = new AST.IntegerExp(loc, cast(d_uns8)token.uns64value, AST.Type.tchar);
nextToken();
break;
case TOKwcharv:
e = new AST.IntegerExp(loc, cast(d_uns16)token.uns64value, AST.Type.twchar);
nextToken();
break;
case TOKdcharv:
e = new AST.IntegerExp(loc, cast(d_uns32)token.uns64value, AST.Type.tdchar);
nextToken();
break;
case TOKstring:
case TOKxstring:
{
// cat adjacent strings
auto s = token.ustring;
auto len = token.len;
auto postfix = token.postfix;
while (1)
{
const prev = token;
nextToken();
if (token.value == TOKstring || token.value == TOKxstring)
{
if (token.postfix)
{
if (token.postfix != postfix)
error("mismatched string literal postfixes '%c' and '%c'", postfix, token.postfix);
postfix = token.postfix;
}
deprecation("Implicit string concatenation is deprecated, use %s ~ %s instead",
prev.toChars(), token.toChars());
const len1 = len;
const len2 = token.len;
len = len1 + len2;
auto s2 = cast(char*)mem.xmalloc(len * char.sizeof);
memcpy(s2, s, len1 * char.sizeof);
memcpy(s2 + len1, token.ustring, len2 * char.sizeof);
s = s2;
}
else
break;
}
e = new AST.StringExp(loc, cast(char*)s, len, postfix);
break;
}
case TOKvoid:
t = AST.Type.tvoid;
goto LabelX;
case TOKint8:
t = AST.Type.tint8;
goto LabelX;
case TOKuns8:
t = AST.Type.tuns8;
goto LabelX;
case TOKint16:
t = AST.Type.tint16;
goto LabelX;
case TOKuns16:
t = AST.Type.tuns16;
goto LabelX;
case TOKint32:
t = AST.Type.tint32;
goto LabelX;
case TOKuns32:
t = AST.Type.tuns32;
goto LabelX;
case TOKint64:
t = AST.Type.tint64;
goto LabelX;
case TOKuns64:
t = AST.Type.tuns64;
goto LabelX;
case TOKint128:
t = AST.Type.tint128;
goto LabelX;
case TOKuns128:
t = AST.Type.tuns128;
goto LabelX;
case TOKfloat32:
t = AST.Type.tfloat32;
goto LabelX;
case TOKfloat64:
t = AST.Type.tfloat64;
goto LabelX;
case TOKfloat80:
t = AST.Type.tfloat80;
goto LabelX;
case TOKimaginary32:
t = AST.Type.timaginary32;
goto LabelX;
case TOKimaginary64:
t = AST.Type.timaginary64;
goto LabelX;
case TOKimaginary80:
t = AST.Type.timaginary80;
goto LabelX;
case TOKcomplex32:
t = AST.Type.tcomplex32;
goto LabelX;
case TOKcomplex64:
t = AST.Type.tcomplex64;
goto LabelX;
case TOKcomplex80:
t = AST.Type.tcomplex80;
goto LabelX;
case TOKbool:
t = AST.Type.tbool;
goto LabelX;
case TOKchar:
t = AST.Type.tchar;
goto LabelX;
case TOKwchar:
t = AST.Type.twchar;
goto LabelX;
case TOKdchar:
t = AST.Type.tdchar;
goto LabelX;
LabelX:
nextToken();
if (token.value == TOKlparen)
{
e = new AST.TypeExp(loc, t);
e = new AST.CallExp(loc, e, parseArguments());
break;
}
check(TOKdot, t.toChars());
if (token.value != TOKidentifier)
{
error("found '%s' when expecting identifier following '%s.'", token.toChars(), t.toChars());
goto Lerr;
}
e = new AST.DotIdExp(loc, new AST.TypeExp(loc, t), token.ident);
nextToken();
break;
case TOKtypeof:
{
t = parseTypeof();
e = new AST.TypeExp(loc, t);
break;
}
case TOKvector:
{
t = parseVector();
e = new AST.TypeExp(loc, t);
break;
}
case TOKtypeid:
{
nextToken();
check(TOKlparen, "typeid");
RootObject o;
if (isDeclaration(&token, NeedDeclaratorId.no, TOKreserved, null))
{
// argument is a type
o = parseType();
}
else
{
// argument is an expression
o = parseAssignExp();
}
check(TOKrparen);
e = new AST.TypeidExp(loc, o);
break;
}
case TOKtraits:
{
/* __traits(identifier, args...)
*/
Identifier ident;
AST.Objects* args = null;
nextToken();
check(TOKlparen);
if (token.value != TOKidentifier)
{
error("__traits(identifier, args...) expected");
goto Lerr;
}
ident = token.ident;
nextToken();
if (token.value == TOKcomma)
args = parseTemplateArgumentList(); // __traits(identifier, args...)
else
check(TOKrparen); // __traits(identifier)
e = new AST.TraitsExp(loc, ident, args);
break;
}
case TOKis:
{
AST.Type targ;
Identifier ident = null;
AST.Type tspec = null;
TOK tok = TOKreserved;
TOK tok2 = TOKreserved;
AST.TemplateParameters* tpl = null;
nextToken();
if (token.value == TOKlparen)
{
nextToken();
targ = parseType(&ident);
if (token.value == TOKcolon || token.value == TOKequal)
{
tok = token.value;
nextToken();
if (tok == TOKequal && (token.value == TOKstruct || token.value == TOKunion
|| token.value == TOKclass || token.value == TOKsuper || token.value == TOKenum
|| token.value == TOKinterface || token.value == TOKargTypes
|| token.value == TOKparameters || token.value == TOKconst && peek(&token).value == TOKrparen
|| token.value == TOKimmutable && peek(&token).value == TOKrparen
|| token.value == TOKshared && peek(&token).value == TOKrparen
|| token.value == TOKwild && peek(&token).value == TOKrparen || token.value == TOKfunction
|| token.value == TOKdelegate || token.value == TOKreturn
|| (token.value == TOKvector && peek(&token).value == TOKrparen)))
{
tok2 = token.value;
nextToken();
}
else
{
tspec = parseType();
}
}
if (tspec)
{
if (token.value == TOKcomma)
tpl = parseTemplateParameterList(1);
else
{
tpl = new AST.TemplateParameters();
check(TOKrparen);
}
}
else
check(TOKrparen);
}
else
{
error("(type identifier : specialization) expected following is");
goto Lerr;
}
e = new AST.IsExp(loc, targ, ident, tok, tspec, tok2, tpl);
break;
}
case TOKassert:
{
AST.Expression msg = null;
nextToken();
check(TOKlparen, "assert");
e = parseAssignExp();
if (token.value == TOKcomma)
{
nextToken();
if (token.value != TOKrparen)
{
msg = parseAssignExp();
if (token.value == TOKcomma)
nextToken();
}
}
check(TOKrparen);
e = new AST.AssertExp(loc, e, msg);
break;
}
case TOKmixin:
{
nextToken();
check(TOKlparen, "mixin");
e = parseAssignExp();
check(TOKrparen);
e = new AST.CompileExp(loc, e);
break;
}
case TOKimport:
{
nextToken();
check(TOKlparen, "import");
e = parseAssignExp();
check(TOKrparen);
e = new AST.ImportExp(loc, e);
break;
}
case TOKnew:
e = parseNewExp(null);
break;
case TOKlparen:
{
Token* tk = peekPastParen(&token);
if (skipAttributes(tk, &tk) && (tk.value == TOKgoesto || tk.value == TOKlcurly))
{
// (arguments) => expression
// (arguments) { statements... }
goto case_delegate;
}
// ( expression )
nextToken();
e = parseExpression();
e.parens = 1;
check(loc, TOKrparen);
break;
}
case TOKlbracket:
{
/* Parse array literals and associative array literals:
* [ value, value, value ... ]
* [ key:value, key:value, key:value ... ]
*/
auto values = new AST.Expressions();
AST.Expressions* keys = null;
nextToken();
while (token.value != TOKrbracket && token.value != TOKeof)
{
e = parseAssignExp();
if (token.value == TOKcolon && (keys || values.dim == 0))
{
nextToken();
if (!keys)
keys = new AST.Expressions();
keys.push(e);
e = parseAssignExp();
}
else if (keys)
{
error("'key:value' expected for associative array literal");
keys = null;
}
values.push(e);
if (token.value == TOKrbracket)
break;
check(TOKcomma);
}
check(loc, TOKrbracket);
if (keys)
e = new AST.AssocArrayLiteralExp(loc, keys, values);
else
e = new AST.ArrayLiteralExp(loc, values);
break;
}
case TOKlcurly:
case TOKfunction:
case TOKdelegate:
case_delegate:
{
AST.Dsymbol s = parseFunctionLiteral();
e = new AST.FuncExp(loc, s);
break;
}
default:
error("expression expected, not '%s'", token.toChars());
Lerr:
// Anything for e, as long as it's not NULL
e = new AST.IntegerExp(loc, 0, AST.Type.tint32);
nextToken();
break;
}
return e;
}
AST.Expression parseUnaryExp()
{
AST.Expression e;
const loc = token.loc;
switch (token.value)
{
case TOKand:
nextToken();
e = parseUnaryExp();
e = new AST.AddrExp(loc, e);
break;
case TOKplusplus:
nextToken();
e = parseUnaryExp();
//e = new AddAssignExp(loc, e, new IntegerExp(loc, 1, Type::tint32));
e = new AST.PreExp(TOKpreplusplus, loc, e);
break;
case TOKminusminus:
nextToken();
e = parseUnaryExp();
//e = new MinAssignExp(loc, e, new IntegerExp(loc, 1, Type::tint32));
e = new AST.PreExp(TOKpreminusminus, loc, e);
break;
case TOKmul:
nextToken();
e = parseUnaryExp();
e = new AST.PtrExp(loc, e);
break;
case TOKmin:
nextToken();
e = parseUnaryExp();
e = new AST.NegExp(loc, e);
break;
case TOKadd:
nextToken();
e = parseUnaryExp();
e = new AST.UAddExp(loc, e);
break;
case TOKnot:
nextToken();
e = parseUnaryExp();
e = new AST.NotExp(loc, e);
break;
case TOKtilde:
nextToken();
e = parseUnaryExp();
e = new AST.ComExp(loc, e);
break;
case TOKdelete:
nextToken();
e = parseUnaryExp();
e = new AST.DeleteExp(loc, e, false);
break;
case TOKcast: // cast(type) expression
{
nextToken();
check(TOKlparen);
/* Look for cast(), cast(const), cast(immutable),
* cast(shared), cast(shared const), cast(wild), cast(shared wild)
*/
ubyte m = 0;
while (1)
{
switch (token.value)
{
case TOKconst:
if (peekNext() == TOKlparen)
break; // const as type constructor
m |= AST.MODconst; // const as storage class
nextToken();
continue;
case TOKimmutable:
if (peekNext() == TOKlparen)
break;
m |= AST.MODimmutable;
nextToken();
continue;
case TOKshared:
if (peekNext() == TOKlparen)
break;
m |= AST.MODshared;
nextToken();
continue;
case TOKwild:
if (peekNext() == TOKlparen)
break;
m |= AST.MODwild;
nextToken();
continue;
default:
break;
}
break;
}
if (token.value == TOKrparen)
{
nextToken();
e = parseUnaryExp();
e = new AST.CastExp(loc, e, m);
}
else
{
AST.Type t = parseType(); // cast( type )
t = t.addMod(m); // cast( const type )
check(TOKrparen);
e = parseUnaryExp();
e = new AST.CastExp(loc, e, t);
}
break;
}
case TOKwild:
case TOKshared:
case TOKconst:
case TOKimmutable: // immutable(type)(arguments) / immutable(type).init
{
StorageClass stc = parseTypeCtor();
AST.Type t = parseBasicType();
t = t.addSTC(stc);
if (stc == 0 && token.value == TOKdot)
{
nextToken();
if (token.value != TOKidentifier)
{
error("identifier expected following (type).");
return null;
}
e = new AST.DotIdExp(loc, new AST.TypeExp(loc, t), token.ident);
nextToken();
e = parsePostExp(e);
}
else
{
e = new AST.TypeExp(loc, t);
if (token.value != TOKlparen)
{
error("(arguments) expected following %s", t.toChars());
return e;
}
e = new AST.CallExp(loc, e, parseArguments());
}
break;
}
case TOKlparen:
{
auto tk = peek(&token);
static if (CCASTSYNTAX)
{
// If cast
if (isDeclaration(tk, NeedDeclaratorId.no, TOKrparen, &tk))
{
tk = peek(tk); // skip over right parenthesis
switch (tk.value)
{
case TOKnot:
tk = peek(tk);
if (tk.value == TOKis || tk.value == TOKin) // !is or !in
break;
goto case;
case TOKdot:
case TOKplusplus:
case TOKminusminus:
case TOKdelete:
case TOKnew:
case TOKlparen:
case TOKidentifier:
case TOKthis:
case TOKsuper:
case TOKint32v:
case TOKuns32v:
case TOKint64v:
case TOKuns64v:
case TOKint128v:
case TOKuns128v:
case TOKfloat32v:
case TOKfloat64v:
case TOKfloat80v:
case TOKimaginary32v:
case TOKimaginary64v:
case TOKimaginary80v:
case TOKnull:
case TOKtrue:
case TOKfalse:
case TOKcharv:
case TOKwcharv:
case TOKdcharv:
case TOKstring:
version (none)
{
case TOKtilde:
case TOKand:
case TOKmul:
case TOKmin:
case TOKadd:
}
case TOKfunction:
case TOKdelegate:
case TOKtypeof:
case TOKvector:
case TOKfile:
case TOKfilefullpath:
case TOKline:
case TOKmodulestring:
case TOKfuncstring:
case TOKprettyfunc:
case TOKwchar:
case TOKdchar:
case TOKbool:
case TOKchar:
case TOKint8:
case TOKuns8:
case TOKint16:
case TOKuns16:
case TOKint32:
case TOKuns32:
case TOKint64:
case TOKuns64:
case TOKint128:
case TOKuns128:
case TOKfloat32:
case TOKfloat64:
case TOKfloat80:
case TOKimaginary32:
case TOKimaginary64:
case TOKimaginary80:
case TOKcomplex32:
case TOKcomplex64:
case TOKcomplex80:
case TOKvoid:
{
// (type) una_exp
nextToken();
auto t = parseType();
check(TOKrparen);
// if .identifier
// or .identifier!( ... )
if (token.value == TOKdot)
{
if (peekNext() != TOKidentifier && peekNext() != TOKnew)
{
error("identifier or new keyword expected following (...).");
return null;
}
e = new AST.TypeExp(loc, t);
e = parsePostExp(e);
}
else
{
e = parseUnaryExp();
e = new AST.CastExp(loc, e, t);
error("C style cast illegal, use %s", e.toChars());
}
return e;
}
default:
break;
}
}
}
e = parsePrimaryExp();
e = parsePostExp(e);
break;
}
default:
e = parsePrimaryExp();
e = parsePostExp(e);
break;
}
assert(e);
// ^^ is right associative and has higher precedence than the unary operators
while (token.value == TOKpow)
{
nextToken();
AST.Expression e2 = parseUnaryExp();
e = new AST.PowExp(loc, e, e2);
}
return e;
}
AST.Expression parsePostExp(AST.Expression e)
{
while (1)
{
const loc = token.loc;
switch (token.value)
{
case TOKdot:
nextToken();
if (token.value == TOKidentifier)
{
Identifier id = token.ident;
nextToken();
if (token.value == TOKnot && peekNext() != TOKis && peekNext() != TOKin)
{
AST.Objects* tiargs = parseTemplateArguments();
e = new AST.DotTemplateInstanceExp(loc, e, id, tiargs);
}
else
e = new AST.DotIdExp(loc, e, id);
continue;
}
else if (token.value == TOKnew)
{
e = parseNewExp(e);
continue;
}
else
error("identifier expected following '.', not '%s'", token.toChars());
break;
case TOKplusplus:
e = new AST.PostExp(TOKplusplus, loc, e);
break;
case TOKminusminus:
e = new AST.PostExp(TOKminusminus, loc, e);
break;
case TOKlparen:
e = new AST.CallExp(loc, e, parseArguments());
continue;
case TOKlbracket:
{
// array dereferences:
// array[index]
// array[]
// array[lwr .. upr]
AST.Expression index;
AST.Expression upr;
auto arguments = new AST.Expressions();
inBrackets++;
nextToken();
while (token.value != TOKrbracket && token.value != TOKeof)
{
index = parseAssignExp();
if (token.value == TOKslice)
{
// array[..., lwr..upr, ...]
nextToken();
upr = parseAssignExp();
arguments.push(new AST.IntervalExp(loc, index, upr));
}
else
arguments.push(index);
if (token.value == TOKrbracket)
break;
check(TOKcomma);
}
check(TOKrbracket);
inBrackets--;
e = new AST.ArrayExp(loc, e, arguments);
continue;
}
default:
return e;
}
nextToken();
}
}
AST.Expression parseMulExp()
{
const loc = token.loc;
auto e = parseUnaryExp();
while (1)
{
switch (token.value)
{
case TOKmul:
nextToken();
auto e2 = parseUnaryExp();
e = new AST.MulExp(loc, e, e2);
continue;
case TOKdiv:
nextToken();
auto e2 = parseUnaryExp();
e = new AST.DivExp(loc, e, e2);
continue;
case TOKmod:
nextToken();
auto e2 = parseUnaryExp();
e = new AST.ModExp(loc, e, e2);
continue;
default:
break;
}
break;
}
return e;
}
AST.Expression parseAddExp()
{
const loc = token.loc;
auto e = parseMulExp();
while (1)
{
switch (token.value)
{
case TOKadd:
nextToken();
auto e2 = parseMulExp();
e = new AST.AddExp(loc, e, e2);
continue;
case TOKmin:
nextToken();
auto e2 = parseMulExp();
e = new AST.MinExp(loc, e, e2);
continue;
case TOKtilde:
nextToken();
auto e2 = parseMulExp();
e = new AST.CatExp(loc, e, e2);
continue;
default:
break;
}
break;
}
return e;
}
AST.Expression parseShiftExp()
{
const loc = token.loc;
auto e = parseAddExp();
while (1)
{
switch (token.value)
{
case TOKshl:
nextToken();
auto e2 = parseAddExp();
e = new AST.ShlExp(loc, e, e2);
continue;
case TOKshr:
nextToken();
auto e2 = parseAddExp();
e = new AST.ShrExp(loc, e, e2);
continue;
case TOKushr:
nextToken();
auto e2 = parseAddExp();
e = new AST.UshrExp(loc, e, e2);
continue;
default:
break;
}
break;
}
return e;
}
AST.Expression parseCmpExp()
{
const loc = token.loc;
auto e = parseShiftExp();
TOK op = token.value;
switch (op)
{
case TOKequal:
case TOKnotequal:
nextToken();
auto e2 = parseShiftExp();
e = new AST.EqualExp(op, loc, e, e2);
break;
case TOKis:
op = TOKidentity;
goto L1;
case TOKnot:
{
// Attempt to identify '!is'
auto t = peek(&token);
if (t.value == TOKin)
{
nextToken();
nextToken();
auto e2 = parseShiftExp();
e = new AST.InExp(loc, e, e2);
e = new AST.NotExp(loc, e);
break;
}
if (t.value != TOKis)
break;
nextToken();
op = TOKnotidentity;
goto L1;
}
L1:
nextToken();
auto e2 = parseShiftExp();
e = new AST.IdentityExp(op, loc, e, e2);
break;
case TOKlt:
case TOKle:
case TOKgt:
case TOKge:
case TOKunord:
case TOKlg:
case TOKleg:
case TOKule:
case TOKul:
case TOKuge:
case TOKug:
case TOKue:
nextToken();
auto e2 = parseShiftExp();
e = new AST.CmpExp(op, loc, e, e2);
break;
case TOKin:
nextToken();
auto e2 = parseShiftExp();
e = new AST.InExp(loc, e, e2);
break;
default:
break;
}
return e;
}
AST.Expression parseAndExp()
{
Loc loc = token.loc;
auto e = parseCmpExp();
while (token.value == TOKand)
{
checkParens(TOKand, e);
nextToken();
auto e2 = parseCmpExp();
checkParens(TOKand, e2);
e = new AST.AndExp(loc, e, e2);
loc = token.loc;
}
return e;
}
AST.Expression parseXorExp()
{
const loc = token.loc;
auto e = parseAndExp();
while (token.value == TOKxor)
{
checkParens(TOKxor, e);
nextToken();
auto e2 = parseAndExp();
checkParens(TOKxor, e2);
e = new AST.XorExp(loc, e, e2);
}
return e;
}
AST.Expression parseOrExp()
{
const loc = token.loc;
auto e = parseXorExp();
while (token.value == TOKor)
{
checkParens(TOKor, e);
nextToken();
auto e2 = parseXorExp();
checkParens(TOKor, e2);
e = new AST.OrExp(loc, e, e2);
}
return e;
}
AST.Expression parseAndAndExp()
{
const loc = token.loc;
auto e = parseOrExp();
while (token.value == TOKandand)
{
nextToken();
auto e2 = parseOrExp();
e = new AST.AndAndExp(loc, e, e2);
}
return e;
}
AST.Expression parseOrOrExp()
{
const loc = token.loc;
auto e = parseAndAndExp();
while (token.value == TOKoror)
{
nextToken();
auto e2 = parseAndAndExp();
e = new AST.OrOrExp(loc, e, e2);
}
return e;
}
AST.Expression parseCondExp()
{
const loc = token.loc;
auto e = parseOrOrExp();
if (token.value == TOKquestion)
{
nextToken();
auto e1 = parseExpression();
check(TOKcolon);
auto e2 = parseCondExp();
e = new AST.CondExp(loc, e, e1, e2);
}
return e;
}
AST.Expression parseAssignExp()
{
auto e = parseCondExp();
while (1)
{
const loc = token.loc;
switch (token.value)
{
case TOKassign:
nextToken();
auto e2 = parseAssignExp();
e = new AST.AssignExp(loc, e, e2);
continue;
case TOKaddass:
nextToken();
auto e2 = parseAssignExp();
e = new AST.AddAssignExp(loc, e, e2);
continue;
case TOKminass:
nextToken();
auto e2 = parseAssignExp();
e = new AST.MinAssignExp(loc, e, e2);
continue;
case TOKmulass:
nextToken();
auto e2 = parseAssignExp();
e = new AST.MulAssignExp(loc, e, e2);
continue;
case TOKdivass:
nextToken();
auto e2 = parseAssignExp();
e = new AST.DivAssignExp(loc, e, e2);
continue;
case TOKmodass:
nextToken();
auto e2 = parseAssignExp();
e = new AST.ModAssignExp(loc, e, e2);
continue;
case TOKpowass:
nextToken();
auto e2 = parseAssignExp();
e = new AST.PowAssignExp(loc, e, e2);
continue;
case TOKandass:
nextToken();
auto e2 = parseAssignExp();
e = new AST.AndAssignExp(loc, e, e2);
continue;
case TOKorass:
nextToken();
auto e2 = parseAssignExp();
e = new AST.OrAssignExp(loc, e, e2);
continue;
case TOKxorass:
nextToken();
auto e2 = parseAssignExp();
e = new AST.XorAssignExp(loc, e, e2);
continue;
case TOKshlass:
nextToken();
auto e2 = parseAssignExp();
e = new AST.ShlAssignExp(loc, e, e2);
continue;
case TOKshrass:
nextToken();
auto e2 = parseAssignExp();
e = new AST.ShrAssignExp(loc, e, e2);
continue;
case TOKushrass:
nextToken();
auto e2 = parseAssignExp();
e = new AST.UshrAssignExp(loc, e, e2);
continue;
case TOKcatass:
nextToken();
auto e2 = parseAssignExp();
e = new AST.CatAssignExp(loc, e, e2);
continue;
default:
break;
}
break;
}
return e;
}
/*************************
* Collect argument list.
* Assume current token is ',', '$(LPAREN)' or '['.
*/
AST.Expressions* parseArguments()
{
// function call
AST.Expressions* arguments;
TOK endtok;
arguments = new AST.Expressions();
if (token.value == TOKlbracket)
endtok = TOKrbracket;
else
endtok = TOKrparen;
{
nextToken();
while (token.value != endtok && token.value != TOKeof)
{
auto arg = parseAssignExp();
arguments.push(arg);
if (token.value == endtok)
break;
check(TOKcomma);
}
check(endtok);
}
return arguments;
}
/*******************************************
*/
AST.Expression parseNewExp(AST.Expression thisexp)
{
const loc = token.loc;
nextToken();
AST.Expressions* newargs = null;
AST.Expressions* arguments = null;
if (token.value == TOKlparen)
{
newargs = parseArguments();
}
// An anonymous nested class starts with "class"
if (token.value == TOKclass)
{
nextToken();
if (token.value == TOKlparen)
arguments = parseArguments();
AST.BaseClasses* baseclasses = null;
if (token.value != TOKlcurly)
baseclasses = parseBaseClasses();
Identifier id = null;
AST.Dsymbols* members = null;
if (token.value != TOKlcurly)
{
error("{ members } expected for anonymous class");
}
else
{
nextToken();
members = parseDeclDefs(0);
if (token.value != TOKrcurly)
error("class member expected");
nextToken();
}
auto cd = new AST.ClassDeclaration(loc, id, baseclasses, members, false);
auto e = new AST.NewAnonClassExp(loc, thisexp, newargs, cd, arguments);
return e;
}
const stc = parseTypeCtor();
auto t = parseBasicType(true);
t = parseBasicType2(t);
t = t.addSTC(stc);
if (t.ty == AST.Taarray)
{
AST.TypeAArray taa = cast(AST.TypeAArray)t;
AST.Type index = taa.index;
auto edim = index.toExpression();
if (!edim)
{
error("need size of rightmost array, not type %s", index.toChars());
return new AST.NullExp(loc);
}
t = new AST.TypeSArray(taa.next, edim);
}
else if (t.ty == AST.Tsarray)
{
}
else if (token.value == TOKlparen)
{
arguments = parseArguments();
}
auto e = new AST.NewExp(loc, thisexp, newargs, t, arguments);
return e;
}
/**********************************************
*/
void addComment(AST.Dsymbol s, const(char)* blockComment)
{
s.addComment(combineComments(blockComment, token.lineComment, true));
token.lineComment = null;
}
}
unittest
{
import ddmd.astnull;
scope p = new Parser!ASTNull(null, null, false);
}
enum PREC : int
{
zero,
expr,
assign,
cond,
oror,
andand,
or,
xor,
and,
equal,
rel,
shift,
add,
mul,
pow,
unary,
primary,
}
|
D
|
import std.stdio, std.algorithm, std.range, std.conv, std.string,
std.concurrency, permutations2, arithmetic_rational;
string solve(in int target, in int[] problem) {
static struct T { Rational r; string e; }
Generator!T computeAllOperations(in Rational[] L) {
return new typeof(return)({
if (!L.empty) {
immutable x = L[0];
if (L.length == 1) {
yield(T(x, x.text));
} else {
foreach (const o; computeAllOperations(L.dropOne)) {
immutable y = o.r;
auto sub = [T(x * y, "*"), T(x + y, "+"), T(x - y, "-")];
if (y) sub ~= [T(x / y, "/")];
foreach (const e; sub)
yield(T(e.r, format("(%s%s%s)", x, e.e, o.e)));
}
}
}
});
}
foreach (const p; problem.map!Rational.array.permutations!false)
foreach (const sol; computeAllOperations(p))
if (sol.r == target)
return sol.e;
return "No solution";
}
void main() {
foreach (const prob; [[6, 7, 9, 5], [3, 3, 8, 8], [1, 1, 1, 1]])
writeln(prob, ": ", solve(24, prob));
}
|
D
|
module bob;
unittest
{
const int allTestsEnabled = 0;
assert(hey("Tom-ay-to, tom-aaaah-to.") == "Whatever.");
static if (allTestsEnabled)
{
assert(hey("WATCH OUT!") == "Whoa, chill out!");
assert(hey("Does this cryogenic chamber make me look fat?") == "Sure.");
assert(hey("Let's go make out behind the gym!") == "Whatever.");
assert(hey("It's OK if you don't want to go to the DMV.") == "Whatever.");
assert(hey("WHAT THE HELL WERE YOU THINKING?") == "Whoa, chill out!");
assert(hey("1, 2, 3 GO!") == "Whoa, chill out!");
assert(hey("1, 2, 3") == "Whatever.");
assert(hey("4?") == "Sure.");
assert(hey("ZOMG THE %^*@#$(*^ ZOMBIES ARE COMING!!11!!1!") == "Whoa, chill out!");
assert(hey("I HATE YOU") == "Whoa, chill out!");
assert(hey("Ending with a ? means a question.") == "Whatever.");
assert(hey("Wait! Hang on. Are you going to be OK?") == "Sure.");
assert(hey("Are you ok? ") == "Sure.");
assert(hey("") == "Fine. Be that way!");
assert(hey(" ") == "Fine. Be that way!");
assert(hey(" A bit of silence can be nice. ") == "Whatever.");
}
}
|
D
|
module android.java.java.net.CookieHandler_d_interface;
import arsd.jni : IJavaObjectImplementation, JavaPackageId, JavaName, IJavaObject, ImportExportImpl, JavaInterfaceMembers;
static import arsd.jni;
import import1 = android.java.java.util.Map_d_interface;
import import0 = android.java.java.net.CookieHandler_d_interface;
import import3 = android.java.java.lang.Class_d_interface;
import import2 = android.java.java.net.URI_d_interface;
final class CookieHandler : IJavaObject {
static immutable string[] _d_canCastTo = [
];
@Import this(arsd.jni.Default);
@Import static import0.CookieHandler getDefault();
@Import static void setDefault(import0.CookieHandler);
@Import import1.Map get(import2.URI, import1.Map);
@Import void put(import2.URI, import1.Map);
@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/net/CookieHandler;";
}
|
D
|
PLONG PLAT ED95 KD LOMAGAGE HIMAGAGE SLAT SLONG RESULTNO DP DM WT ROCKTYPE
243.699997 85.5 10.1000004 21.2000008 42 47 38.4000015 -79.4000015 1634 11.8000002 15.3999996 1 intrusives
309 80 2 0 35 56 72 -112 1699 3.79999995 3.9000001 0.714285714 intrusives, diabase
217 85 16 60 35 56 72 -112 1697 31 31 0.714285714 extrusives, basalt
145.800003 79.1999969 3 116.800003 41 43 60.2999992 -125.099998 9210 4.80000019 5.4000001 1 intrusives, syenites
142.300003 67.9000015 10.3000002 17 20 47 35.5 -106.099998 1004 11.1000004 11.1000004 0.62962963 intrusives, extrusives
185.300003 80 4.30000019 65.0999985 35 39 29.1000004 -103.199997 7660 5.4000001 5.4000001 1 intrusives, gabbro
93.4000015 81.1999969 12.3000002 61 26 36 29.2999992 -103.300003 3078 7.0999999 12.1000004 0.6 extrusives, basalts, andesites
211 81 13 27 29 39 37.4000015 -105 3151 16 20 0.9 intrusives
45.9000015 87.5999985 9.30000019 51.9000015 45 49 38.4000015 -79.5999985 2471 12 12 1 intrusives, felsite
146.199997 79.4000015 9.39999962 14.6000004 42 46 42.7999992 -107.300003 2209 9.60000038 9.60000038 1 extrusives
240 82 34 55 2 65 45 -110 2808 49 58 0.317460317 intrusives, porphyry
177.399994 83.5 8.39999962 14.6999998 44 49 44.5 -110 2014 10.1000004 10.1000004 1 extrusives
|
D
|
/home/zbf/workspace/git/RTAP/target/debug/deps/md5-24188eb08414f2ad.rmeta: /home/zbf/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/md5-0.3.8/src/lib.rs
/home/zbf/workspace/git/RTAP/target/debug/deps/libmd5-24188eb08414f2ad.rlib: /home/zbf/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/md5-0.3.8/src/lib.rs
/home/zbf/workspace/git/RTAP/target/debug/deps/md5-24188eb08414f2ad.d: /home/zbf/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/md5-0.3.8/src/lib.rs
/home/zbf/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/md5-0.3.8/src/lib.rs:
|
D
|
Under pressure from Congress, Major League Baseball's players association toughened drug testing rules and penalties again for the 2006 season.
Suspensions will be increased to 50 games for a first offense, 100 for a second, and a lifetime ban for the third.
Congress launched an undercover probe into illegal steroid use in Major League Baseball.
News of the probe surprised MLB officials.
Rafael Palmeiro was suspended 10 days for a positive steroid test.
He denied intentionally taking the drug.
Other players with 10-day steroid test suspensions were Felix Heredia and Carlos Almanzar.
New doping allegations surfaced about Barry Bonds.
|
D
|
// REQUIRED_ARGS: -m32
/*
TEST_OUTPUT:
---
fail_compilation/fail238_m32.d(21): Error: cannot implicitly convert expression ("a") of type string to uint
fail_compilation/fail238_m32.d(24): Error: Cannot interpret X!() at compile time
fail_compilation/fail238_m32.d(29): Error: template instance fail238_m32.A!"a" error instantiating
fail_compilation/fail238_m32.d(35): instantiated from here: M!(q)
fail_compilation/fail238_m32.d(35): while evaluating pragma(msg, M!(q))
---
*/
// Issue 581 - Error message w/o line number in dot-instantiated template
template X(){}
template D(string str){}
template A(string str)
{
static if (D!(str[str]))
{}
else
const string A = .X!();
}
template M(alias B)
{
const string M = A!("a");
}
void main()
{
int q = 3;
pragma(msg, M!(q));
}
|
D
|
import std.algorithm;
import std.range;
import std.traits;
@system
unittest
{
assert(8 == checksumRow([5, 1, 9, 5]));
assert(4 == checksumRow([7, 5, 3]));
assert(6 == checksumRow([2, 4, 6, 8]));
}
@system
unittest
{
assert(18 == processRows!checksumRow(
["5 1 9 5",
"7 5 3",
"2 4 6 8"]
));
assert(18 == processRows!checksumRow(
["5 1 9 5",
"7 5 3",
"2 4 6 8"]
));
assert(9 == processRows!commonRowDivisor(
["5 9 2 8",
"9 4 7 3",
"3 8 6 5"]
));
}
///
uint checksumRow(Row)(Row row)
if(isInputRange!Row && isNumeric!(ElementType!(Row)))
{
import std.typecons : tuple, Tuple;
auto minmax = row.dropOne().fold!(min, max)(tuple(row.front, row.front));
return minmax[1] - minmax[0];
}
///
uint processRows(alias ChecksumAlgorithm, RowStrings)(RowStrings rows)
if(isInputRange!RowStrings && isSomeString!(ElementType!(RowStrings)))
{
import std.ascii : isWhite;
import std.conv : to;
return processRows!ChecksumAlgorithm(rows
.map!(s=>s
.splitter!(isWhite)
.map!(to!int)));
}
///
uint processRows(alias ChecksumAlgorithm, Rows)(Rows rows)
if(isInputRange!Rows && isInputRange!(ElementType!(Rows)) && isNumeric!(ElementType!(ElementType!(Rows))))
{
return rows
.map!(ChecksumAlgorithm)
.sum;
}
@safe
unittest
{
assert(true == isEvenlyDivisible(4,2));
assert(false == isEvenlyDivisible(2,4));
assert(false == isEvenlyDivisible(4,3));
assert(true == isEitherEvenlyDivisible(4,2));
assert(true == isEitherEvenlyDivisible(2,4));
assert(false == isEitherEvenlyDivisible(3,4));
}
///
uint commonRowDivisor(Row)(Row row)
if(isInputRange!Row && isNumeric!(ElementType!(Row)))
{
auto projection = cartesianProduct(row, row).filter!(n=>n[0] != n[1]);
auto divisors = projection.find!(x=>isEitherEvenlyDivisible(x[0], x[1])).front;
return divide(divisors[0], divisors[1]);
}
///
@safe @nogc
int divide(int a, int b) pure
{
if(a > b)
return a / b;
return b / a;
}
///
@safe @nogc
bool isEvenlyDivisible(int lhs, int rhs) pure
{
return lhs % rhs == 0;
}
///
@safe @nogc
bool isEitherEvenlyDivisible(int a, int b) pure
{
return isEvenlyDivisible(a, b) || isEvenlyDivisible(b, a);
}
|
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_4_BeT-7753111271.notation#_copSALmGEeKQQp7P9cQvNQ"/>
</availablePage>
</pageList>
<sashModel currentSelection="//@sashModel/@windows.0/@children.0">
<windows>
<children xsi:type="di:TabFolder">
<children>
<emfPageIdentifier href="VAR_4_BeT-7753111271.notation#_copSALmGEeKQQp7P9cQvNQ"/>
</children>
</children>
</windows>
</sashModel>
</di:SashWindowsMngr>
|
D
|
/**
* Compiler implementation of the D programming language
* http://dlang.org
*
* Copyright: Copyright (c) 1999-2017 by Digital Mars, All Rights Reserved
* Authors: Walter Bright, http://www.digitalmars.com
* License: $(LINK2 http://www.boost.org/LICENSE_1_0.txt, Boost License 1.0)
* Source: $(DMDSRC root/_port.d)
*/
module ddmd.root.port;
import core.stdc.ctype;
import core.stdc.errno;
import core.stdc.string;
import core.stdc.stdio;
import core.stdc.stdlib;
private extern (C)
{
version(CRuntime_DigitalMars) __gshared extern const(char)* __locale_decpoint;
version(CRuntime_Microsoft)
{
enum _OVERFLOW = 3; /* overflow range error */
enum _UNDERFLOW = 4; /* underflow range error */
int _atoflt(float* value, const(char)* str);
int _atodbl(double* value, const(char)* str);
}
}
extern (C++) struct Port
{
static int memicmp(const char* s1, const char* s2, size_t n)
{
int result = 0;
for (int i = 0; i < n; i++)
{
char c1 = s1[i];
char c2 = s2[i];
result = c1 - c2;
if (result)
{
result = toupper(c1) - toupper(c2);
if (result)
break;
}
}
return result;
}
static char* strupr(char* s)
{
char* t = s;
while (*s)
{
*s = cast(char)toupper(*s);
s++;
}
return t;
}
static bool isFloat32LiteralOutOfRange(const(char)* s)
{
errno = 0;
version (CRuntime_DigitalMars)
{
auto save = __locale_decpoint;
__locale_decpoint = ".";
}
version (CRuntime_Microsoft)
{
float r;
int res = _atoflt(&r, s);
if (res == _UNDERFLOW || res == _OVERFLOW)
errno = ERANGE;
}
else
{
strtof(s, null);
}
version (CRuntime_DigitalMars) __locale_decpoint = save;
return errno == ERANGE;
}
static bool isFloat64LiteralOutOfRange(const(char)* s)
{
errno = 0;
version (CRuntime_DigitalMars)
{
auto save = __locale_decpoint;
__locale_decpoint = ".";
}
version (CRuntime_Microsoft)
{
double r;
int res = _atodbl(&r, s);
if (res == _UNDERFLOW || res == _OVERFLOW)
errno = ERANGE;
}
else
{
strtod(s, null);
}
version (CRuntime_DigitalMars) __locale_decpoint = save;
return errno == ERANGE;
}
// Little endian
static void writelongLE(uint value, void* buffer)
{
auto p = cast(ubyte*)buffer;
p[3] = cast(ubyte)(value >> 24);
p[2] = cast(ubyte)(value >> 16);
p[1] = cast(ubyte)(value >> 8);
p[0] = cast(ubyte)(value);
}
// Little endian
static uint readlongLE(void* buffer)
{
auto p = cast(ubyte*)buffer;
return (((((p[3] << 8) | p[2]) << 8) | p[1]) << 8) | p[0];
}
// Big endian
static void writelongBE(uint value, void* buffer)
{
auto p = cast(ubyte*)buffer;
p[0] = cast(ubyte)(value >> 24);
p[1] = cast(ubyte)(value >> 16);
p[2] = cast(ubyte)(value >> 8);
p[3] = cast(ubyte)(value);
}
// Big endian
static uint readlongBE(void* buffer)
{
auto p = cast(ubyte*)buffer;
return (((((p[0] << 8) | p[1]) << 8) | p[2]) << 8) | p[3];
}
// Little endian
static uint readwordLE(void* buffer)
{
auto p = cast(ubyte*)buffer;
return (p[1] << 8) | p[0];
}
// Big endian
static uint readwordBE(void* buffer)
{
auto p = cast(ubyte*)buffer;
return (p[0] << 8) | p[1];
}
static void valcpy(void *dst, ulong val, size_t size)
{
switch (size)
{
case 1: *cast(ubyte *)dst = cast(ubyte)val; break;
case 2: *cast(ushort *)dst = cast(ushort)val; break;
case 4: *cast(uint *)dst = cast(uint)val; break;
case 8: *cast(ulong *)dst = cast(ulong)val; break;
default: assert(0);
}
}
}
|
D
|
module VM.Type;
enum Type: ubyte
{
Integer,
Decimal,
String,
Bool,
Array,
Object
}
|
D
|
/**
* from Boost.Interfaces
* Written by Kenji Hara(9rnsr)
* License: Boost License 1.0
*/
module util.typecons;
import std.traits, std.typecons, std.typetuple;
import std.functional;
//import meta;
//alias meta.staticMap staticMap;
//alias meta.isSame isSame;
//alias meta.allSatisfy allSatisfy;
import std.traits;
import util.meta;
//import metastrings_expand;
alias util.meta.allSatisfy allSatisfy;
alias util.meta.staticMap staticMap;
alias util.meta.isSame isSame;
/*private*/ interface Structural
{
Object _AdaptTo_getSource();
}
private template isInterface(T)
{
enum isInterface = is(T == interface);
}
private template AdaptTo(Targets...)
if (allSatisfy!(isInterface, Targets))
{
template VirtualFunctionsOf(T)
{
template Impl(string name)
{
template RejectStaticFinal(alias F)
{
static if (__traits(isStaticFunction, F) || __traits(isFinalFunction, F))
alias Sequence!() RejectStaticFinal;
else
alias Sequence!(F) RejectStaticFinal;
}
// ugly workaround...?
static if ((name.length >= 2 && name[0..2] == "__") || name == "this")
alias Sequence!() Impl;
else
alias staticMap!(RejectStaticFinal, __traits(getOverloads, T, name)) Impl;
}
alias staticMap!(Impl, Sequence!(__traits(allMembers, T))) VirtualFunctionsOf;
}
alias staticUniq!(staticMap!(VirtualFunctionsOf, Targets)) TgtFuns;
template NameOf(alias a) { enum NameOf = __traits(identifier, a); }
template TypeOf(alias a) { alias FunctionTypeOf!a TypeOf; }
template CovariantSignatures(S)
{
alias VirtualFunctionsOf!S SrcFuns;
template isExactMatch(alias a)
{
enum isExactMatch =
isSame!(NameOf!(a.Expand[0]), NameOf!(a.Expand[1]))
&& isSame!(TypeOf!(a.Expand[0]), TypeOf!(a.Expand[1]));
}
template isCovariantMatch(alias a)
{
enum isCovariantMatch =
isSame!(NameOf!(a.Expand[0]), NameOf!(a.Expand[1]))
&& isCovariantWith!(TypeOf!(a.Expand[0]), TypeOf!(a.Expand[1]));
}
template InheritsSrcFnFrom(size_t i)
{
alias staticCartesian!(Wrap!SrcFuns, Wrap!(TgtFuns[i])) Cartesian;
enum int j = staticIndexOfIf!(isExactMatch, Cartesian);
static if (j == -1)
enum int k = staticIndexOfIf!(isCovariantMatch, Cartesian);
else
enum int k = j;
static if (k == -1)
alias Sequence!() InheritsSrcFnFrom;
else
//alias Sequence!(SrcFuns[k]) InheritsSrcFnFrom;
alias Sequence!(TgtFuns[i]) InheritsSrcFnFrom;
}
alias staticMap!(
TypeOf,
staticMap!(InheritsSrcFnFrom, staticIota!(0, TgtFuns.length))
) CovariantSignatures;
}
template hasRequireMethods(S)
{
enum hasRequireMethods =
CovariantSignatures!S.length == TgtFuns.length;
}
template BaseImpl(S)
{
static if (is(S == class) || is(S == interface))
alias Structural BaseImpl;
else
alias Object BaseImpl;
}
class AdaptedImpl(S) : BaseImpl!S
{
S source;
this(S s){ source = s; }
static if (is(S == class) || is(S == interface))
final Object _AdaptTo_getSource()
{
return cast(Object)source;
}
}
final class Impl(S) : AdaptedImpl!S, Targets
{
private:
alias CovariantSignatures!S CoTypes;
this(S s){ super(s); }
public:
template generateFun(size_t n)
{
enum N = to!string(n);
enum generateFun = `
mixin DeclareFunction!(
CoTypes[`~N~`], // covariant
NameOf!(TgtFuns[`~N~`]),
"return source." ~ NameOf!(TgtFuns[`~N~`]) ~ "(args);"
);
`;
}
mixin mixinAll!(staticMap!(generateFun, staticIota!(0, TgtFuns.length)));
}
}
/**
*/
template structuralUpCast(Supers...)
{
/**
*/
auto structuralUpCast(D)(D s)
if (allSatisfy!(isInterface, Supers))
{
static if (Supers.length == 1)
{
alias Supers[0] S;
static if (is(D : S))
{
//strict upcast
return cast(S)(s);
}
else static if (AdaptTo!Supers.hasRequireMethods!D)
{
// structural upcast
return cast(S)(new AdaptTo!Supers.Impl!D(s));
}
}
else static if (AdaptTo!Supers.hasRequireMethods!D)
{
return new AdaptTo!Supers.Impl!D(s);
}
else
{
static assert(0,
D.stringof ~ " does not have structural conformance "
"to " ~ Supers.stringof ~ ".");
}
}
}
/**
*/
template structuralDownCast(D)
{
/**
*/
D structuralDownCast(S)(S s)
{
static if (is(D : S))
{
//strict downcast
return cast(D)(s);
}
else
{
// structural downcast
Object o = cast(Object)s;
do
{
if (auto a = cast(Structural)o)
{
auto d = cast(D)(o = a._AdaptTo_getSource());
if (d)
return d;
}
else
{
auto d = cast(D)o;
if (d)
return d;
else
break;
}
} while (o);
return null;
}
}
}
/**
*/
template structuralCast(To...)
{
auto structuralCast(From)(From a)
{
static if (To.length == 1)
{
auto to = structuralDownCast!To(a);
static if (allSatisfy!(isInterface, To))
{
if (!to)
return structuralUpCast!To(a);
}
return to;
}
else
{
static if (allSatisfy!(isInterface, To))
{
return structuralUpCast!To(a);
}
}
}
}
alias structuralUpCast adaptTo;
alias structuralDownCast getAdapted;
//alias structuralCast adaptTo;
//alias structuralCast getAdapted;
unittest
{
interface Quack
{
int quack();
int height();
}
static class Duck : Quack
{
int quack(){return 10;}
int height(){return 100;}
}
static class Human
{
int quack(){return 20;}
int height(){return 0;}
}
interface Flyer
{
int height();
}
Quack q;
Duck d = new Duck(), d2;
Human h = new Human(), h2;
Flyer f;
//strict upcast
q = structuralUpCast!Quack(d);
assert(q is d);
assert(q.quack() == 10);
//strict downcast
d2 = structuralDownCast!Duck(q);
assert(d2 is d);
//structural upcast
q = structuralUpCast!Quack(h);
assert(q.quack() == 20);
//structural downcast
h2 = structuralDownCast!Human(q);
assert(h2 is h);
//structural upcast(multi-level)
q = structuralUpCast!Quack(h);
f = structuralUpCast!Flyer(q);
assert(f.height() == 0);
//strucural downcast(single level)
q = structuralDownCast!Quack(f);
h2 = structuralDownCast!Human(q);
assert(h2 is h);
//strucural downcast(multi level)
h2 = structuralDownCast!Human(f);
assert(h2 is h);
}
unittest
{
//class A
//limitation: can't use nested class
static class A
{
int draw(){ return 10; }
}
static class AA : A
{
override int draw(){ return 100; }
}
static class B
{
int draw(){ return 20; }
int reflesh(){ return 20; }
}
static class X
{
void undef(){}
}
interface Drawable
{
int draw();
}
interface Refleshable
{
int reflesh();
final int stop(){ return 0; }
static int refleshAll(){ return 100; }
}
A a = new A();
B b = new B();
Drawable d;
Refleshable r;
{
auto m = adaptTo!Drawable(a);
d = m;
assert(d.draw() == 10);
assert(getAdapted!A(d) is a);
assert(getAdapted!B(d) is null);
d = adaptTo!Drawable(b);
assert(d.draw() == 20);
assert(getAdapted!A(d) is null);
assert(getAdapted!B(d) is b);
AA aa = new AA();
d = adaptTo!Drawable(cast(A)aa);
assert(d.draw() == 100);
static assert(!__traits(compiles,
d = adaptTo!Drawable(new X())));
}
{
auto m = adaptTo!(Drawable, Refleshable)(b);
d = m;
r = m;
assert(m.draw() == 20);
assert(d.draw() == 20);
assert(m.reflesh() == 20);
assert(r.reflesh() == 20);
// call final/static function in interface
assert(m.stop() == 0);
assert(m.refleshAll() == 100);
assert(typeof(m).refleshAll() == 100);
}
}
unittest
{
static class A
{
int draw() { return 10; }
int draw(int v) { return 11; }
int draw() const { return 20; }
int draw() shared { return 30; }
int draw() shared const { return 40; }
int draw() immutable { return 50; }
}
interface Drawable
{
int draw();
int draw() const;
int draw() shared;
int draw() shared const;
int draw() immutable;
}
interface Drawable2
{
int draw(int v);
}
auto a = new A();
auto sa = new shared(A)();
auto ia = new immutable(A)();
{
Drawable d = adaptTo!( Drawable )(a);
const Drawable cd = adaptTo!( const(Drawable))(a);
shared Drawable sd = adaptTo!(shared (Drawable))(sa);
shared const Drawable scd = adaptTo!(shared const(Drawable))(sa);
immutable Drawable id = adaptTo!(immutable (Drawable))(ia);
assert( d.draw() == 10);
assert( cd.draw() == 20);
assert( sd.draw() == 30);
assert(scd.draw() == 40);
assert( id.draw() == 50);
}
{
Drawable2 d = adaptTo!Drawable2(a);
static assert(!__traits(compiles, d.draw()));
assert(d.draw(0) == 11);
}
}
unittest
{
interface Drawable
{
long draw();
int reflesh();
}
static class A
{
int draw() { return 10; } // covariant return types
int reflesh() const { return 20; } // covariant storage classes
}
auto a = new A();
auto d = adaptTo!Drawable(a); // supports return-type/storage-class covariance
assert(d.draw() == 10);
assert(d.reflesh() == 20);
static assert(isCovariantWith!(typeof(A.draw), typeof(Drawable.draw)));
static assert(is(typeof(a.draw()) == int));
static assert(is(typeof(d.draw()) == long));
static assert(isCovariantWith!(typeof(A.reflesh), typeof(Drawable.reflesh)));
static assert( is(typeof(a.reflesh) == const));
static assert(!is(typeof(d.reflesh) == const));
}
unittest
{
struct S
{
void func(){}
}
interface X
{
void func();
}
S s;
auto x = adaptTo!X(s);
}
|
D
|
/Users/hannh/Documents/MyGitHub/ChartsTest2/Build/Intermediates/Charts.build/Debug-iphonesimulator/Charts.build/Objects-normal/x86_64/IBarLineScatterCandleBubbleChartDataSet.o : /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Data/Implementations/Standard/ChartData.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Data/Implementations/Standard/CombinedChartData.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Data/Implementations/Standard/PieChartData.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Data/Implementations/Standard/BubbleChartData.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Data/Implementations/Standard/BarLineScatterCandleBubbleChartData.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Data/Implementations/Standard/CandleChartData.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Data/Implementations/Standard/LineChartData.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Data/Implementations/Standard/BarChartData.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Data/Implementations/Standard/RadarChartData.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Data/Implementations/Standard/ScatterChartData.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Jobs/ViewPortJob.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Jobs/AnimatedViewPortJob.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Jobs/MoveViewJob.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Jobs/AnimatedMoveViewJob.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Jobs/ZoomViewJob.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Jobs/AnimatedZoomViewJob.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Components/Legend.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Components/MarkerImage.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Highlight/Range.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Components/ChartLimitLine.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Renderers/ChartDataRendererBase.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Renderers/AxisRendererBase.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Components/AxisBase.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Components/ComponentBase.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Charts/ChartViewBase.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Charts/BarLineChartViewBase.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Charts/PieRadarChartViewBase.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Data/Implementations/Standard/ChartDataEntryBase.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Animation/ChartAnimationEasing.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Utils/Fill.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Utils/Platform.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Components/Description.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Interfaces/ChartDataProvider.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Interfaces/CombinedChartDataProvider.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Interfaces/BubbleChartDataProvider.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Interfaces/BarLineScatterCandleBubbleChartDataProvider.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Interfaces/CandleChartDataProvider.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Interfaces/LineChartDataProvider.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Interfaces/BarChartDataProvider.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Interfaces/ScatterChartDataProvider.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Components/IMarker.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Utils/ViewPortHandler.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Utils/Transformer.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Renderers/Renderer.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Renderers/LegendRenderer.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Renderers/BarLineScatterCandleBubbleRenderer.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Renderers/Scatter/IShapeRenderer.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Renderers/Scatter/XShapeRenderer.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Renderers/Scatter/CircleShapeRenderer.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Renderers/Scatter/TriangleShapeRenderer.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Renderers/Scatter/SquareShapeRenderer.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Renderers/Scatter/ChevronDownShapeRenderer.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Renderers/Scatter/ChevronUpShapeRenderer.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Renderers/Scatter/CrossShapeRenderer.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Renderers/LineScatterCandleRadarRenderer.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Renderers/LineRadarRenderer.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Renderers/XAxisRenderer.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Renderers/YAxisRenderer.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Renderers/CombinedChartRenderer.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Renderers/PieChartRenderer.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Renderers/BubbleChartRenderer.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Renderers/LineChartRenderer.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Renderers/CandleStickChartRenderer.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Renderers/BarChartRenderer.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Renderers/HorizontalBarChartRenderer.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Renderers/RadarChartRenderer.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Renderers/ScatterChartRenderer.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Highlight/IHighlighter.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Highlight/CombinedHighlighter.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Highlight/PieHighlighter.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Highlight/BarHighlighter.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Highlight/HorizontalBarHighlighter.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Highlight/RadarHighlighter.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Highlight/PieRadarHighlighter.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Highlight/ChartHighlighter.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Formatters/IValueFormatter.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Formatters/IAxisValueFormatter.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Formatters/DefaultAxisValueFormatter.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Formatters/IndexAxisValueFormatter.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Formatters/DefaultValueFormatter.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Formatters/IFillFormatter.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Formatters/DefaultFillFormatter.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Animation/Animator.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Filters/DataApproximator.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Utils/ChartColorTemplates.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Components/XAxis.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Components/YAxis.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Utils/ChartUtils.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Data/Implementations/ChartBaseDataSet.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Data/Implementations/Standard/ChartDataSet.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Data/Interfaces/IChartDataSet.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Data/Implementations/Standard/PieChartDataSet.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Data/Interfaces/IPieChartDataSet.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Data/Implementations/Standard/BubbleChartDataSet.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Data/Interfaces/IBubbleChartDataSet.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Data/Implementations/Standard/BarLineScatterCandleBubbleChartDataSet.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Data/Interfaces/IBarLineScatterCandleBubbleChartDataSet.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Data/Implementations/Standard/CandleChartDataSet.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Data/Interfaces/ICandleChartDataSet.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Data/Implementations/Standard/LineChartDataSet.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Data/Interfaces/ILineChartDataSet.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Data/Implementations/Standard/BarChartDataSet.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Data/Interfaces/IBarChartDataSet.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Data/Implementations/Standard/RadarChartDataSet.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Data/Interfaces/IRadarChartDataSet.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Data/Implementations/Standard/LineScatterCandleRadarChartDataSet.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Data/Interfaces/ILineScatterCandleRadarChartDataSet.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Data/Implementations/Standard/LineRadarChartDataSet.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Data/Interfaces/ILineRadarChartDataSet.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Data/Implementations/Standard/ScatterChartDataSet.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Data/Interfaces/IScatterChartDataSet.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Highlight/Highlight.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Utils/TransformerHorizontalBarChart.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Renderers/XAxisRendererHorizontalBarChart.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Renderers/YAxisRendererHorizontalBarChart.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Renderers/XAxisRendererRadarChart.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Renderers/YAxisRendererRadarChart.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Components/MarkerView.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Charts/CombinedChartView.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Charts/PieChartView.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Charts/BubbleChartView.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Charts/LineChartView.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Charts/CandleStickChartView.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Charts/BarChartView.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Charts/HorizontalBarChartView.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Charts/RadarChartView.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Charts/ScatterChartView.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Data/Implementations/Standard/ChartDataEntry.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Data/Implementations/Standard/PieChartDataEntry.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Data/Implementations/Standard/BubbleChartDataEntry.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Data/Implementations/Standard/CandleChartDataEntry.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Data/Implementations/Standard/BarChartDataEntry.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Data/Implementations/Standard/RadarChartDataEntry.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Components/LegendEntry.swift /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/ObjectiveC.apinotesc /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/Foundation.apinotesc /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreGraphics.apinotesc /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/UIKit.apinotesc /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreText.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/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/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/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Supporting\ Files/Charts.h /Users/hannh/Documents/MyGitHub/ChartsTest2/Build/Intermediates/Charts.build/Debug-iphonesimulator/Charts.build/unextended-module.modulemap
/Users/hannh/Documents/MyGitHub/ChartsTest2/Build/Intermediates/Charts.build/Debug-iphonesimulator/Charts.build/Objects-normal/x86_64/IBarLineScatterCandleBubbleChartDataSet~partial.swiftmodule : /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Data/Implementations/Standard/ChartData.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Data/Implementations/Standard/CombinedChartData.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Data/Implementations/Standard/PieChartData.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Data/Implementations/Standard/BubbleChartData.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Data/Implementations/Standard/BarLineScatterCandleBubbleChartData.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Data/Implementations/Standard/CandleChartData.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Data/Implementations/Standard/LineChartData.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Data/Implementations/Standard/BarChartData.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Data/Implementations/Standard/RadarChartData.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Data/Implementations/Standard/ScatterChartData.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Jobs/ViewPortJob.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Jobs/AnimatedViewPortJob.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Jobs/MoveViewJob.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Jobs/AnimatedMoveViewJob.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Jobs/ZoomViewJob.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Jobs/AnimatedZoomViewJob.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Components/Legend.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Components/MarkerImage.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Highlight/Range.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Components/ChartLimitLine.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Renderers/ChartDataRendererBase.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Renderers/AxisRendererBase.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Components/AxisBase.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Components/ComponentBase.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Charts/ChartViewBase.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Charts/BarLineChartViewBase.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Charts/PieRadarChartViewBase.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Data/Implementations/Standard/ChartDataEntryBase.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Animation/ChartAnimationEasing.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Utils/Fill.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Utils/Platform.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Components/Description.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Interfaces/ChartDataProvider.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Interfaces/CombinedChartDataProvider.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Interfaces/BubbleChartDataProvider.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Interfaces/BarLineScatterCandleBubbleChartDataProvider.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Interfaces/CandleChartDataProvider.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Interfaces/LineChartDataProvider.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Interfaces/BarChartDataProvider.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Interfaces/ScatterChartDataProvider.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Components/IMarker.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Utils/ViewPortHandler.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Utils/Transformer.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Renderers/Renderer.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Renderers/LegendRenderer.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Renderers/BarLineScatterCandleBubbleRenderer.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Renderers/Scatter/IShapeRenderer.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Renderers/Scatter/XShapeRenderer.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Renderers/Scatter/CircleShapeRenderer.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Renderers/Scatter/TriangleShapeRenderer.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Renderers/Scatter/SquareShapeRenderer.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Renderers/Scatter/ChevronDownShapeRenderer.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Renderers/Scatter/ChevronUpShapeRenderer.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Renderers/Scatter/CrossShapeRenderer.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Renderers/LineScatterCandleRadarRenderer.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Renderers/LineRadarRenderer.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Renderers/XAxisRenderer.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Renderers/YAxisRenderer.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Renderers/CombinedChartRenderer.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Renderers/PieChartRenderer.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Renderers/BubbleChartRenderer.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Renderers/LineChartRenderer.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Renderers/CandleStickChartRenderer.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Renderers/BarChartRenderer.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Renderers/HorizontalBarChartRenderer.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Renderers/RadarChartRenderer.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Renderers/ScatterChartRenderer.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Highlight/IHighlighter.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Highlight/CombinedHighlighter.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Highlight/PieHighlighter.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Highlight/BarHighlighter.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Highlight/HorizontalBarHighlighter.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Highlight/RadarHighlighter.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Highlight/PieRadarHighlighter.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Highlight/ChartHighlighter.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Formatters/IValueFormatter.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Formatters/IAxisValueFormatter.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Formatters/DefaultAxisValueFormatter.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Formatters/IndexAxisValueFormatter.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Formatters/DefaultValueFormatter.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Formatters/IFillFormatter.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Formatters/DefaultFillFormatter.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Animation/Animator.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Filters/DataApproximator.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Utils/ChartColorTemplates.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Components/XAxis.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Components/YAxis.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Utils/ChartUtils.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Data/Implementations/ChartBaseDataSet.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Data/Implementations/Standard/ChartDataSet.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Data/Interfaces/IChartDataSet.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Data/Implementations/Standard/PieChartDataSet.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Data/Interfaces/IPieChartDataSet.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Data/Implementations/Standard/BubbleChartDataSet.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Data/Interfaces/IBubbleChartDataSet.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Data/Implementations/Standard/BarLineScatterCandleBubbleChartDataSet.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Data/Interfaces/IBarLineScatterCandleBubbleChartDataSet.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Data/Implementations/Standard/CandleChartDataSet.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Data/Interfaces/ICandleChartDataSet.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Data/Implementations/Standard/LineChartDataSet.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Data/Interfaces/ILineChartDataSet.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Data/Implementations/Standard/BarChartDataSet.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Data/Interfaces/IBarChartDataSet.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Data/Implementations/Standard/RadarChartDataSet.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Data/Interfaces/IRadarChartDataSet.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Data/Implementations/Standard/LineScatterCandleRadarChartDataSet.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Data/Interfaces/ILineScatterCandleRadarChartDataSet.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Data/Implementations/Standard/LineRadarChartDataSet.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Data/Interfaces/ILineRadarChartDataSet.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Data/Implementations/Standard/ScatterChartDataSet.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Data/Interfaces/IScatterChartDataSet.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Highlight/Highlight.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Utils/TransformerHorizontalBarChart.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Renderers/XAxisRendererHorizontalBarChart.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Renderers/YAxisRendererHorizontalBarChart.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Renderers/XAxisRendererRadarChart.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Renderers/YAxisRendererRadarChart.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Components/MarkerView.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Charts/CombinedChartView.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Charts/PieChartView.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Charts/BubbleChartView.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Charts/LineChartView.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Charts/CandleStickChartView.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Charts/BarChartView.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Charts/HorizontalBarChartView.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Charts/RadarChartView.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Charts/ScatterChartView.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Data/Implementations/Standard/ChartDataEntry.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Data/Implementations/Standard/PieChartDataEntry.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Data/Implementations/Standard/BubbleChartDataEntry.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Data/Implementations/Standard/CandleChartDataEntry.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Data/Implementations/Standard/BarChartDataEntry.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Data/Implementations/Standard/RadarChartDataEntry.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Components/LegendEntry.swift /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/ObjectiveC.apinotesc /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/Foundation.apinotesc /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreGraphics.apinotesc /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/UIKit.apinotesc /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreText.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/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/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/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Supporting\ Files/Charts.h /Users/hannh/Documents/MyGitHub/ChartsTest2/Build/Intermediates/Charts.build/Debug-iphonesimulator/Charts.build/unextended-module.modulemap
/Users/hannh/Documents/MyGitHub/ChartsTest2/Build/Intermediates/Charts.build/Debug-iphonesimulator/Charts.build/Objects-normal/x86_64/IBarLineScatterCandleBubbleChartDataSet~partial.swiftdoc : /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Data/Implementations/Standard/ChartData.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Data/Implementations/Standard/CombinedChartData.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Data/Implementations/Standard/PieChartData.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Data/Implementations/Standard/BubbleChartData.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Data/Implementations/Standard/BarLineScatterCandleBubbleChartData.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Data/Implementations/Standard/CandleChartData.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Data/Implementations/Standard/LineChartData.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Data/Implementations/Standard/BarChartData.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Data/Implementations/Standard/RadarChartData.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Data/Implementations/Standard/ScatterChartData.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Jobs/ViewPortJob.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Jobs/AnimatedViewPortJob.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Jobs/MoveViewJob.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Jobs/AnimatedMoveViewJob.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Jobs/ZoomViewJob.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Jobs/AnimatedZoomViewJob.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Components/Legend.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Components/MarkerImage.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Highlight/Range.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Components/ChartLimitLine.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Renderers/ChartDataRendererBase.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Renderers/AxisRendererBase.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Components/AxisBase.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Components/ComponentBase.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Charts/ChartViewBase.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Charts/BarLineChartViewBase.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Charts/PieRadarChartViewBase.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Data/Implementations/Standard/ChartDataEntryBase.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Animation/ChartAnimationEasing.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Utils/Fill.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Utils/Platform.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Components/Description.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Interfaces/ChartDataProvider.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Interfaces/CombinedChartDataProvider.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Interfaces/BubbleChartDataProvider.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Interfaces/BarLineScatterCandleBubbleChartDataProvider.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Interfaces/CandleChartDataProvider.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Interfaces/LineChartDataProvider.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Interfaces/BarChartDataProvider.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Interfaces/ScatterChartDataProvider.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Components/IMarker.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Utils/ViewPortHandler.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Utils/Transformer.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Renderers/Renderer.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Renderers/LegendRenderer.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Renderers/BarLineScatterCandleBubbleRenderer.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Renderers/Scatter/IShapeRenderer.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Renderers/Scatter/XShapeRenderer.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Renderers/Scatter/CircleShapeRenderer.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Renderers/Scatter/TriangleShapeRenderer.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Renderers/Scatter/SquareShapeRenderer.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Renderers/Scatter/ChevronDownShapeRenderer.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Renderers/Scatter/ChevronUpShapeRenderer.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Renderers/Scatter/CrossShapeRenderer.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Renderers/LineScatterCandleRadarRenderer.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Renderers/LineRadarRenderer.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Renderers/XAxisRenderer.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Renderers/YAxisRenderer.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Renderers/CombinedChartRenderer.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Renderers/PieChartRenderer.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Renderers/BubbleChartRenderer.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Renderers/LineChartRenderer.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Renderers/CandleStickChartRenderer.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Renderers/BarChartRenderer.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Renderers/HorizontalBarChartRenderer.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Renderers/RadarChartRenderer.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Renderers/ScatterChartRenderer.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Highlight/IHighlighter.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Highlight/CombinedHighlighter.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Highlight/PieHighlighter.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Highlight/BarHighlighter.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Highlight/HorizontalBarHighlighter.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Highlight/RadarHighlighter.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Highlight/PieRadarHighlighter.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Highlight/ChartHighlighter.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Formatters/IValueFormatter.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Formatters/IAxisValueFormatter.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Formatters/DefaultAxisValueFormatter.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Formatters/IndexAxisValueFormatter.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Formatters/DefaultValueFormatter.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Formatters/IFillFormatter.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Formatters/DefaultFillFormatter.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Animation/Animator.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Filters/DataApproximator.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Utils/ChartColorTemplates.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Components/XAxis.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Components/YAxis.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Utils/ChartUtils.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Data/Implementations/ChartBaseDataSet.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Data/Implementations/Standard/ChartDataSet.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Data/Interfaces/IChartDataSet.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Data/Implementations/Standard/PieChartDataSet.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Data/Interfaces/IPieChartDataSet.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Data/Implementations/Standard/BubbleChartDataSet.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Data/Interfaces/IBubbleChartDataSet.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Data/Implementations/Standard/BarLineScatterCandleBubbleChartDataSet.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Data/Interfaces/IBarLineScatterCandleBubbleChartDataSet.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Data/Implementations/Standard/CandleChartDataSet.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Data/Interfaces/ICandleChartDataSet.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Data/Implementations/Standard/LineChartDataSet.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Data/Interfaces/ILineChartDataSet.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Data/Implementations/Standard/BarChartDataSet.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Data/Interfaces/IBarChartDataSet.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Data/Implementations/Standard/RadarChartDataSet.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Data/Interfaces/IRadarChartDataSet.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Data/Implementations/Standard/LineScatterCandleRadarChartDataSet.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Data/Interfaces/ILineScatterCandleRadarChartDataSet.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Data/Implementations/Standard/LineRadarChartDataSet.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Data/Interfaces/ILineRadarChartDataSet.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Data/Implementations/Standard/ScatterChartDataSet.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Data/Interfaces/IScatterChartDataSet.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Highlight/Highlight.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Utils/TransformerHorizontalBarChart.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Renderers/XAxisRendererHorizontalBarChart.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Renderers/YAxisRendererHorizontalBarChart.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Renderers/XAxisRendererRadarChart.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Renderers/YAxisRendererRadarChart.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Components/MarkerView.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Charts/CombinedChartView.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Charts/PieChartView.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Charts/BubbleChartView.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Charts/LineChartView.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Charts/CandleStickChartView.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Charts/BarChartView.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Charts/HorizontalBarChartView.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Charts/RadarChartView.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Charts/ScatterChartView.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Data/Implementations/Standard/ChartDataEntry.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Data/Implementations/Standard/PieChartDataEntry.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Data/Implementations/Standard/BubbleChartDataEntry.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Data/Implementations/Standard/CandleChartDataEntry.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Data/Implementations/Standard/BarChartDataEntry.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Data/Implementations/Standard/RadarChartDataEntry.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Components/LegendEntry.swift /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/ObjectiveC.apinotesc /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/Foundation.apinotesc /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreGraphics.apinotesc /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/UIKit.apinotesc /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreText.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/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/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/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Supporting\ Files/Charts.h /Users/hannh/Documents/MyGitHub/ChartsTest2/Build/Intermediates/Charts.build/Debug-iphonesimulator/Charts.build/unextended-module.modulemap
|
D
|
void main() { runSolver(); }
void problem() {
auto H = scan!int;
auto W = scan!int;
auto N = scan!int;
auto h = scan!int;
auto w = scan!int;
auto A = scan!int(H * W).chunks(W).array;
auto solve() {
auto numsAll = new int[](N + 1);
foreach(arr; A) foreach(a; arr) numsAll[a]++;
foreach(oy; 0..H - h + 1) {
int[] ans;
foreach(ox; 0..W - w + 1) {
auto nums = numsAll.dup;
foreach(y; oy..oy + h) foreach(x; ox..ox + w) {
nums[A[y][x]]--;
}
ans ~= nums.count!"a > 0".to!int;
}
ans.toAnswerString.writeln;
}
}
outputForAtCoder(&solve);
}
// ----------------------------------------------
import std;
T[][] combinations(T)(T[] s, in long m) { if (!m) return [[]]; if (s.empty) return []; return s[1 .. $].combinations(m - 1).map!(x => s[0] ~ x).array ~ s[1 .. $].combinations(m); }
string scan(){ static string[] ss; while(!ss.length) ss = readln.chomp.split; string res = ss[0]; ss.popFront; return res; }
T scan(T)(){ return scan.to!T; }
T[] scan(T)(long n){ return n.iota.map!(i => scan!T()).array; }
void deb(T ...)(T t){ debug writeln(t); }
long[] divisors(long n) { long[] ret; for (long i = 1; i * i <= n; i++) { if (n % i == 0) { ret ~= i; if (i * i != n) ret ~= n / i; } } return ret.sort.array; }
bool chmin(T)(ref T a, T b) { if (b < a) { a = b; return true; } else return false; }
bool chmax(T)(ref T a, T b) { if (b > a) { a = b; return true; } else return false; }
string charSort(alias S = "a < b")(string s) { return (cast(char[])((cast(byte[])s).sort!S.array)).to!string; }
ulong comb(ulong a, ulong b) { if (b == 0) {return 1;}else{return comb(a - 1, b - 1) * a / b;}}
string toAnswerString(R)(R r) { return r.map!"a.to!string".joiner(" ").array.to!string; }
struct ModInt(uint MD) if (MD < int.max) {ulong v;this(string v) {this(v.to!long);}this(int v) {this(long(v));}this(long v) {this.v = (v%MD+MD)%MD;}void opAssign(long t) {v = (t%MD+MD)%MD;}static auto normS(ulong x) {return (x<MD)?x:x-MD;}static auto make(ulong x) {ModInt m; m.v = x; return m;}auto opBinary(string op:"+")(ModInt r) const {return make(normS(v+r.v));}auto opBinary(string op:"-")(ModInt r) const {return make(normS(v+MD-r.v));}auto opBinary(string op:"*")(ModInt r) const {return make((ulong(v)*r.v%MD).to!ulong);}auto opBinary(string op:"^^", T)(T r) const {long x=v;long y=1;while(r){if(r%2==1)y=(y*x)%MD;x=x^^2%MD;r/=2;} return make(y);}auto opBinary(string op:"/")(ModInt r) const {return this*memoize!inv(r);}static ModInt inv(ModInt x) {return x^^(MD-2);}string toString() const {return v.to!string;}auto opOpAssign(string op)(ModInt r) {return mixin ("this=this"~op~"r");}}
alias MInt1 = ModInt!(10^^9 + 7);
alias MInt9 = ModInt!(998_244_353);
void outputForAtCoder(T)(T delegate() fn) {
static if (is(T == float) || is(T == double) || is(T == real)) "%.16f".writefln(fn());
else static if (is(T == void)) fn();
else static if (is(T == string)) fn().writeln;
else static if (isInputRange!T) {
static if (!is(string == ElementType!T) && isInputRange!(ElementType!T)) foreach(r; fn()) r.toAnswerString.writeln;
else foreach(r; fn()) r.writeln;
}
else fn().writeln;
}
void runSolver() {
static import std.datetime.stopwatch;
enum BORDER = "==================================";
debug { BORDER.writeln; while(!stdin.eof) { "<<< Process time: %s >>>".writefln(std.datetime.stopwatch.benchmark!problem(1)); BORDER.writeln; } }
else problem();
}
enum YESNO = [true: "Yes", false: "No"];
// -----------------------------------------------
|
D
|
/// Bindings to the <a href="https://github.com/wasmerio/wasmer/tree/master/lib/c-api#readme">Wasmer Runtime C API</a>.
///
/// See_Also:
/// $(UL
/// $(LI <a href="https://github.com/chances/wasmer-d/blob/26a3cb32c79508dc2b8b33e9d2d176a3d6debdf1/source/wasmer/bindings/package.d">`wasmer.bindings` Source Code</a>)
/// $(LI The official <a href="https://github.com/wasmerio/wasmer/tree/master/lib/c-api#readme">Wasmer Runtime C API</a> documentation.)
/// )
///
/// Authors: Chance Snow
/// Copyright: Copyright © 2020-2021 Chance Snow. All rights reserved.
/// License: MIT License
module wasmer.bindings;
import core.stdc.config;
import core.stdc.stdarg: va_list;
static import core.simd;
static import std.conv;
struct Int128 { long lower; long upper; }
struct UInt128 { ulong lower; ulong upper; }
struct __locale_data { int dummy; } // FIXME
// #define __gnuc_va_list va_list
// #define __is_empty(_Type) dpp.isEmpty!(_Type)
alias _Bool = bool;
struct dpp {
static struct Opaque(int N) {
void[N] bytes;
}
// Replacement for the gcc/clang intrinsic
static bool isEmpty(T)() {
return T.tupleof.length == 0;
}
static struct Move(T) {
T* ptr;
}
// dmd bug causes a crash if T is passed by value.
// Works fine with ldc.
static auto move(T)(ref T value) {
return Move!T(&value);
}
mixin template EnumD(string name, T, string prefix) if(is(T == enum)) {
private static string _memberMixinStr(string member) {
import std.conv: text;
import std.array: replace;
return text(` `, member.replace(prefix, ""), ` = `, T.stringof, `.`, member, `,`);
}
private static string _enumMixinStr() {
import std.array: join;
string[] ret;
ret ~= "enum " ~ name ~ "{";
static foreach(member; __traits(allMembers, T)) {
ret ~= _memberMixinStr(member);
}
ret ~= "}";
return ret.join("\n");
}
mixin(_enumMixinStr());
}
}
extern(C)
{
alias wchar_t = int;
alias size_t = c_ulong;
alias ptrdiff_t = c_long;
struct max_align_t
{
long __clang_max_align_nonce1;
real __clang_max_align_nonce2;
}
alias fsfilcnt_t = c_ulong;
alias fsblkcnt_t = c_ulong;
alias blkcnt_t = c_long;
alias blksize_t = c_long;
alias register_t = c_long;
alias u_int64_t = c_ulong;
alias u_int32_t = uint;
alias u_int16_t = ushort;
alias u_int8_t = ubyte;
alias key_t = int;
alias caddr_t = char*;
alias daddr_t = int;
alias ssize_t = c_long;
alias id_t = uint;
alias pid_t = int;
alias off_t = c_long;
alias uid_t = uint;
alias nlink_t = c_ulong;
alias mode_t = uint;
alias gid_t = uint;
alias dev_t = c_ulong;
alias ino_t = c_ulong;
alias loff_t = c_long;
alias fsid_t = __fsid_t;
alias u_quad_t = c_ulong;
alias quad_t = c_long;
alias u_long = c_ulong;
alias u_int = uint;
alias u_short = ushort;
alias u_char = ubyte;
c_ulong gnu_dev_makedev(uint, uint) @nogc nothrow;
uint gnu_dev_minor(c_ulong) @nogc nothrow;
uint gnu_dev_major(c_ulong) @nogc nothrow;
int pselect(int, fd_set*, fd_set*, fd_set*, const(timespec)*, const(__sigset_t)*) @nogc nothrow;
int select(int, fd_set*, fd_set*, fd_set*, timeval*) @nogc nothrow;
alias fd_mask = c_long;
struct fd_set
{
c_long[16] __fds_bits;
}
alias __fd_mask = c_long;
alias suseconds_t = c_long;
enum _Anonymous_0
{
P_ALL = 0,
P_PID = 1,
P_PGID = 2,
}
enum P_ALL = _Anonymous_0.P_ALL;
enum P_PID = _Anonymous_0.P_PID;
enum P_PGID = _Anonymous_0.P_PGID;
alias idtype_t = _Anonymous_0;
static c_ulong __uint64_identity(c_ulong) @nogc nothrow;
static uint __uint32_identity(uint) @nogc nothrow;
static ushort __uint16_identity(ushort) @nogc nothrow;
alias timer_t = void*;
alias time_t = c_long;
struct timeval
{
c_long tv_sec;
c_long tv_usec;
}
struct timespec
{
c_long tv_sec;
c_long tv_nsec;
}
alias sigset_t = __sigset_t;
alias locale_t = __locale_struct*;
alias clockid_t = int;
alias clock_t = c_long;
struct __sigset_t
{
c_ulong[16] __val;
}
alias __locale_t = __locale_struct*;
struct __locale_struct
{
__locale_data*[13] __locales;
const(ushort)* __ctype_b;
const(int)* __ctype_tolower;
const(int)* __ctype_toupper;
const(char)*[13] __names;
}
alias __sig_atomic_t = int;
alias __socklen_t = uint;
alias __intptr_t = c_long;
alias __caddr_t = char*;
alias __loff_t = c_long;
alias __syscall_ulong_t = c_ulong;
alias __syscall_slong_t = c_long;
alias __ssize_t = c_long;
alias __fsword_t = c_long;
alias __fsfilcnt64_t = c_ulong;
alias __fsfilcnt_t = c_ulong;
alias __fsblkcnt64_t = c_ulong;
alias __fsblkcnt_t = c_ulong;
alias __blkcnt64_t = c_long;
alias __blkcnt_t = c_long;
alias __blksize_t = c_long;
alias __timer_t = void*;
alias __clockid_t = int;
alias __key_t = int;
alias __daddr_t = int;
alias __suseconds_t = c_long;
alias __useconds_t = uint;
alias __time_t = c_long;
alias __id_t = uint;
alias __rlim64_t = c_ulong;
void assertions() @nogc nothrow;
alias byte_t = char;
alias float32_t = float;
alias float64_t = double;
alias __rlim_t = c_ulong;
alias wasm_byte_t = char;
struct wasm_byte_vec_t
{
c_ulong size;
char* data;
}
void wasm_byte_vec_delete(wasm_byte_vec_t*) @nogc nothrow;
void wasm_byte_vec_copy(wasm_byte_vec_t*, const(wasm_byte_vec_t)*) @nogc nothrow;
void wasm_byte_vec_new(wasm_byte_vec_t*, c_ulong, const(char)*) @nogc nothrow;
void wasm_byte_vec_new_uninitialized(wasm_byte_vec_t*, c_ulong) @nogc nothrow;
void wasm_byte_vec_new_empty(wasm_byte_vec_t*) @nogc nothrow;
alias wasm_name_t = wasm_byte_vec_t;
alias __clock_t = c_long;
struct wasm_config_t;
void wasm_config_delete(wasm_config_t*) @nogc nothrow;
wasm_config_t* wasm_config_new() @nogc nothrow;
void wasm_engine_delete(wasm_engine_t*) @nogc nothrow;
struct wasm_engine_t;
wasm_engine_t* wasm_engine_new() @nogc nothrow;
wasm_engine_t* wasm_engine_new_with_config(wasm_config_t*) @nogc nothrow;
struct wasm_store_t;
void wasm_store_delete(wasm_store_t*) @nogc nothrow;
wasm_store_t* wasm_store_new(wasm_engine_t*) @nogc nothrow;
alias wasm_mutability_t = ubyte;
enum wasm_mutability_enum : ubyte
{
WASM_CONST = 0,
WASM_VAR = 1,
}
enum WASM_CONST = wasm_mutability_enum.WASM_CONST;
enum WASM_VAR = wasm_mutability_enum.WASM_VAR;
struct wasm_limits_t
{
uint min;
uint max;
}
extern __gshared const(uint) wasm_limits_max_default;
struct __fsid_t
{
int[2] __val;
}
wasm_valtype_t* wasm_valtype_copy(wasm_valtype_t*) @nogc nothrow;
void wasm_valtype_vec_delete(wasm_valtype_vec_t*) @nogc nothrow;
void wasm_valtype_vec_copy(wasm_valtype_vec_t*, const(wasm_valtype_vec_t)*) @nogc nothrow;
void wasm_valtype_vec_new(wasm_valtype_vec_t*, c_ulong, wasm_valtype_t**) @nogc nothrow;
void wasm_valtype_vec_new_uninitialized(wasm_valtype_vec_t*, c_ulong) @nogc nothrow;
void wasm_valtype_vec_new_empty(wasm_valtype_vec_t*) @nogc nothrow;
struct wasm_valtype_vec_t
{
c_ulong size;
wasm_valtype_t** data;
}
void wasm_valtype_delete(wasm_valtype_t*) @nogc nothrow;
struct wasm_valtype_t;
alias wasm_valkind_t = ubyte;
enum wasm_valkind_enum : ubyte
{
WASM_I32 = 0,
WASM_I64 = 1,
WASM_F32 = 2,
WASM_F64 = 3,
WASM_ANYREF = 128,
WASM_FUNCREF = 129,
}
enum WASM_I32 = wasm_valkind_enum.WASM_I32;
enum WASM_I64 = wasm_valkind_enum.WASM_I64;
enum WASM_F32 = wasm_valkind_enum.WASM_F32;
enum WASM_F64 = wasm_valkind_enum.WASM_F64;
enum WASM_ANYREF = wasm_valkind_enum.WASM_ANYREF;
enum WASM_FUNCREF = wasm_valkind_enum.WASM_FUNCREF;
wasm_valtype_t* wasm_valtype_new(ubyte) @nogc nothrow;
ubyte wasm_valtype_kind(const(wasm_valtype_t)*) @nogc nothrow;
static bool wasm_valkind_is_num(ubyte) @nogc nothrow;
static bool wasm_valkind_is_ref(ubyte) @nogc nothrow;
static bool wasm_valtype_is_num(const(wasm_valtype_t)*) @nogc nothrow;
static bool wasm_valtype_is_ref(const(wasm_valtype_t)*) @nogc nothrow;
struct wasm_functype_t;
void wasm_functype_delete(wasm_functype_t*) @nogc nothrow;
struct wasm_functype_vec_t
{
c_ulong size;
wasm_functype_t** data;
}
void wasm_functype_vec_new_empty(wasm_functype_vec_t*) @nogc nothrow;
void wasm_functype_vec_new_uninitialized(wasm_functype_vec_t*, c_ulong) @nogc nothrow;
void wasm_functype_vec_copy(wasm_functype_vec_t*, const(wasm_functype_vec_t)*) @nogc nothrow;
void wasm_functype_vec_delete(wasm_functype_vec_t*) @nogc nothrow;
wasm_functype_t* wasm_functype_copy(wasm_functype_t*) @nogc nothrow;
void wasm_functype_vec_new(wasm_functype_vec_t*, c_ulong, wasm_functype_t**) @nogc nothrow;
wasm_functype_t* wasm_functype_new(wasm_valtype_vec_t*, wasm_valtype_vec_t*) @nogc nothrow;
const(wasm_valtype_vec_t)* wasm_functype_params(const(wasm_functype_t)*) @nogc nothrow;
const(wasm_valtype_vec_t)* wasm_functype_results(const(wasm_functype_t)*) @nogc nothrow;
struct wasm_globaltype_t;
void wasm_globaltype_delete(wasm_globaltype_t*) @nogc nothrow;
struct wasm_globaltype_vec_t
{
c_ulong size;
wasm_globaltype_t** data;
}
void wasm_globaltype_vec_new_empty(wasm_globaltype_vec_t*) @nogc nothrow;
void wasm_globaltype_vec_new_uninitialized(wasm_globaltype_vec_t*, c_ulong) @nogc nothrow;
void wasm_globaltype_vec_new(wasm_globaltype_vec_t*, c_ulong, wasm_globaltype_t**) @nogc nothrow;
void wasm_globaltype_vec_copy(wasm_globaltype_vec_t*, const(wasm_globaltype_vec_t)*) @nogc nothrow;
void wasm_globaltype_vec_delete(wasm_globaltype_vec_t*) @nogc nothrow;
wasm_globaltype_t* wasm_globaltype_copy(wasm_globaltype_t*) @nogc nothrow;
wasm_globaltype_t* wasm_globaltype_new(wasm_valtype_t*, ubyte) @nogc nothrow;
const(wasm_valtype_t)* wasm_globaltype_content(const(wasm_globaltype_t)*) @nogc nothrow;
ubyte wasm_globaltype_mutability(const(wasm_globaltype_t)*) @nogc nothrow;
wasm_tabletype_t* wasm_tabletype_copy(wasm_tabletype_t*) @nogc nothrow;
void wasm_tabletype_vec_delete(wasm_tabletype_vec_t*) @nogc nothrow;
void wasm_tabletype_vec_copy(wasm_tabletype_vec_t*, const(wasm_tabletype_vec_t)*) @nogc nothrow;
void wasm_tabletype_vec_new(wasm_tabletype_vec_t*, c_ulong, wasm_tabletype_t**) @nogc nothrow;
void wasm_tabletype_vec_new_uninitialized(wasm_tabletype_vec_t*, c_ulong) @nogc nothrow;
void wasm_tabletype_vec_new_empty(wasm_tabletype_vec_t*) @nogc nothrow;
struct wasm_tabletype_vec_t
{
c_ulong size;
wasm_tabletype_t** data;
}
void wasm_tabletype_delete(wasm_tabletype_t*) @nogc nothrow;
struct wasm_tabletype_t;
wasm_tabletype_t* wasm_tabletype_new(wasm_valtype_t*, const(wasm_limits_t)*) @nogc nothrow;
const(wasm_valtype_t)* wasm_tabletype_element(const(wasm_tabletype_t)*) @nogc nothrow;
const(wasm_limits_t)* wasm_tabletype_limits(const(wasm_tabletype_t)*) @nogc nothrow;
struct wasm_memorytype_t;
struct wasm_memorytype_vec_t
{
c_ulong size;
wasm_memorytype_t** data;
}
void wasm_memorytype_delete(wasm_memorytype_t*) @nogc nothrow;
wasm_memorytype_t* wasm_memorytype_copy(wasm_memorytype_t*) @nogc nothrow;
void wasm_memorytype_vec_delete(wasm_memorytype_vec_t*) @nogc nothrow;
void wasm_memorytype_vec_copy(wasm_memorytype_vec_t*, const(wasm_memorytype_vec_t)*) @nogc nothrow;
void wasm_memorytype_vec_new(wasm_memorytype_vec_t*, c_ulong, wasm_memorytype_t**) @nogc nothrow;
void wasm_memorytype_vec_new_uninitialized(wasm_memorytype_vec_t*, c_ulong) @nogc nothrow;
void wasm_memorytype_vec_new_empty(wasm_memorytype_vec_t*) @nogc nothrow;
wasm_memorytype_t* wasm_memorytype_new(const(wasm_limits_t)*) @nogc nothrow;
const(wasm_limits_t)* wasm_memorytype_limits(const(wasm_memorytype_t)*) @nogc nothrow;
void wasm_externtype_vec_new_uninitialized(wasm_externtype_vec_t*, c_ulong) @nogc nothrow;
void wasm_externtype_vec_new(wasm_externtype_vec_t*, c_ulong, wasm_externtype_t**) @nogc nothrow;
void wasm_externtype_vec_copy(wasm_externtype_vec_t*, const(wasm_externtype_vec_t)*) @nogc nothrow;
void wasm_externtype_vec_delete(wasm_externtype_vec_t*) @nogc nothrow;
wasm_externtype_t* wasm_externtype_copy(wasm_externtype_t*) @nogc nothrow;
struct wasm_externtype_vec_t
{
c_ulong size;
wasm_externtype_t** data;
}
void wasm_externtype_delete(wasm_externtype_t*) @nogc nothrow;
struct wasm_externtype_t;
void wasm_externtype_vec_new_empty(wasm_externtype_vec_t*) @nogc nothrow;
alias wasm_externkind_t = ubyte;
enum wasm_externkind_enum : ubyte
{
WASM_EXTERN_FUNC = 0,
WASM_EXTERN_GLOBAL = 1,
WASM_EXTERN_TABLE = 2,
WASM_EXTERN_MEMORY = 3,
}
enum WASM_EXTERN_FUNC = wasm_externkind_enum.WASM_EXTERN_FUNC;
enum WASM_EXTERN_GLOBAL = wasm_externkind_enum.WASM_EXTERN_GLOBAL;
enum WASM_EXTERN_TABLE = wasm_externkind_enum.WASM_EXTERN_TABLE;
enum WASM_EXTERN_MEMORY = wasm_externkind_enum.WASM_EXTERN_MEMORY;
ubyte wasm_externtype_kind(const(wasm_externtype_t)*) @nogc nothrow;
wasm_externtype_t* wasm_functype_as_externtype(wasm_functype_t*) @nogc nothrow;
wasm_externtype_t* wasm_globaltype_as_externtype(wasm_globaltype_t*) @nogc nothrow;
wasm_externtype_t* wasm_tabletype_as_externtype(wasm_tabletype_t*) @nogc nothrow;
wasm_externtype_t* wasm_memorytype_as_externtype(wasm_memorytype_t*) @nogc nothrow;
wasm_functype_t* wasm_externtype_as_functype(wasm_externtype_t*) @nogc nothrow;
wasm_globaltype_t* wasm_externtype_as_globaltype(wasm_externtype_t*) @nogc nothrow;
wasm_tabletype_t* wasm_externtype_as_tabletype(wasm_externtype_t*) @nogc nothrow;
wasm_memorytype_t* wasm_externtype_as_memorytype(wasm_externtype_t*) @nogc nothrow;
const(wasm_externtype_t)* wasm_functype_as_externtype_const(const(wasm_functype_t)*) @nogc nothrow;
const(wasm_externtype_t)* wasm_globaltype_as_externtype_const(const(wasm_globaltype_t)*) @nogc nothrow;
const(wasm_externtype_t)* wasm_tabletype_as_externtype_const(const(wasm_tabletype_t)*) @nogc nothrow;
const(wasm_externtype_t)* wasm_memorytype_as_externtype_const(const(wasm_memorytype_t)*) @nogc nothrow;
const(wasm_functype_t)* wasm_externtype_as_functype_const(const(wasm_externtype_t)*) @nogc nothrow;
const(wasm_globaltype_t)* wasm_externtype_as_globaltype_const(const(wasm_externtype_t)*) @nogc nothrow;
const(wasm_tabletype_t)* wasm_externtype_as_tabletype_const(const(wasm_externtype_t)*) @nogc nothrow;
const(wasm_memorytype_t)* wasm_externtype_as_memorytype_const(const(wasm_externtype_t)*) @nogc nothrow;
void wasm_importtype_delete(wasm_importtype_t*) @nogc nothrow;
struct wasm_importtype_vec_t
{
c_ulong size;
wasm_importtype_t** data;
}
void wasm_importtype_vec_new_empty(wasm_importtype_vec_t*) @nogc nothrow;
wasm_importtype_t* wasm_importtype_copy(wasm_importtype_t*) @nogc nothrow;
void wasm_importtype_vec_delete(wasm_importtype_vec_t*) @nogc nothrow;
void wasm_importtype_vec_copy(wasm_importtype_vec_t*, const(wasm_importtype_vec_t)*) @nogc nothrow;
void wasm_importtype_vec_new(wasm_importtype_vec_t*, c_ulong, wasm_importtype_t**) @nogc nothrow;
void wasm_importtype_vec_new_uninitialized(wasm_importtype_vec_t*, c_ulong) @nogc nothrow;
struct wasm_importtype_t;
wasm_importtype_t* wasm_importtype_new(wasm_byte_vec_t*, wasm_byte_vec_t*, wasm_externtype_t*) @nogc nothrow;
const(wasm_byte_vec_t)* wasm_importtype_module(const(wasm_importtype_t)*) @nogc nothrow;
const(wasm_byte_vec_t)* wasm_importtype_name(const(wasm_importtype_t)*) @nogc nothrow;
const(wasm_externtype_t)* wasm_importtype_type(const(wasm_importtype_t)*) @nogc nothrow;
wasm_exporttype_t* wasm_exporttype_copy(wasm_exporttype_t*) @nogc nothrow;
void wasm_exporttype_vec_delete(wasm_exporttype_vec_t*) @nogc nothrow;
void wasm_exporttype_vec_copy(wasm_exporttype_vec_t*, const(wasm_exporttype_vec_t)*) @nogc nothrow;
void wasm_exporttype_vec_new(wasm_exporttype_vec_t*, c_ulong, wasm_exporttype_t**) @nogc nothrow;
struct wasm_exporttype_t;
void wasm_exporttype_delete(wasm_exporttype_t*) @nogc nothrow;
struct wasm_exporttype_vec_t
{
c_ulong size;
wasm_exporttype_t** data;
}
void wasm_exporttype_vec_new_empty(wasm_exporttype_vec_t*) @nogc nothrow;
void wasm_exporttype_vec_new_uninitialized(wasm_exporttype_vec_t*, c_ulong) @nogc nothrow;
wasm_exporttype_t* wasm_exporttype_new(wasm_byte_vec_t*, wasm_externtype_t*) @nogc nothrow;
const(wasm_byte_vec_t)* wasm_exporttype_name(const(wasm_exporttype_t)*) @nogc nothrow;
const(wasm_externtype_t)* wasm_exporttype_type(const(wasm_exporttype_t)*) @nogc nothrow;
struct wasm_ref_t;
struct wasm_val_t
{
ubyte kind;
static union _Anonymous_1
{
int i32;
c_long i64;
float f32;
double f64;
wasm_ref_t* ref_;
}
_Anonymous_1 of;
}
void wasm_val_delete(wasm_val_t*) @nogc nothrow;
void wasm_val_copy(wasm_val_t*, const(wasm_val_t)*) @nogc nothrow;
void wasm_val_vec_delete(wasm_val_vec_t*) @nogc nothrow;
void wasm_val_vec_copy(wasm_val_vec_t*, const(wasm_val_vec_t)*) @nogc nothrow;
void wasm_val_vec_new(wasm_val_vec_t*, c_ulong, const(wasm_val_t)*) @nogc nothrow;
void wasm_val_vec_new_uninitialized(wasm_val_vec_t*, c_ulong) @nogc nothrow;
void wasm_val_vec_new_empty(wasm_val_vec_t*) @nogc nothrow;
struct wasm_val_vec_t
{
c_ulong size;
wasm_val_t* data;
}
alias __pid_t = int;
void wasm_ref_delete(wasm_ref_t*) @nogc nothrow;
wasm_ref_t* wasm_ref_copy(const(wasm_ref_t)*) @nogc nothrow;
bool wasm_ref_same(const(wasm_ref_t)*, const(wasm_ref_t)*) @nogc nothrow;
void* wasm_ref_get_host_info(const(wasm_ref_t)*) @nogc nothrow;
void wasm_ref_set_host_info(wasm_ref_t*, void*) @nogc nothrow;
void wasm_ref_set_host_info_with_finalizer(wasm_ref_t*, void*, void function(void*)) @nogc nothrow;
struct wasm_frame_t;
void wasm_frame_delete(wasm_frame_t*) @nogc nothrow;
struct wasm_frame_vec_t
{
c_ulong size;
wasm_frame_t** data;
}
void wasm_frame_vec_new_empty(wasm_frame_vec_t*) @nogc nothrow;
void wasm_frame_vec_new_uninitialized(wasm_frame_vec_t*, c_ulong) @nogc nothrow;
void wasm_frame_vec_new(wasm_frame_vec_t*, c_ulong, wasm_frame_t**) @nogc nothrow;
void wasm_frame_vec_copy(wasm_frame_vec_t*, const(wasm_frame_vec_t)*) @nogc nothrow;
void wasm_frame_vec_delete(wasm_frame_vec_t*) @nogc nothrow;
wasm_frame_t* wasm_frame_copy(const(wasm_frame_t)*) @nogc nothrow;
struct wasm_instance_t;
wasm_instance_t* wasm_frame_instance(const(wasm_frame_t)*) @nogc nothrow;
uint wasm_frame_func_index(const(wasm_frame_t)*) @nogc nothrow;
c_ulong wasm_frame_func_offset(const(wasm_frame_t)*) @nogc nothrow;
c_ulong wasm_frame_module_offset(const(wasm_frame_t)*) @nogc nothrow;
alias wasm_message_t = wasm_byte_vec_t;
const(wasm_trap_t)* wasm_ref_as_trap_const(const(wasm_ref_t)*) @nogc nothrow;
const(wasm_ref_t)* wasm_trap_as_ref_const(const(wasm_trap_t)*) @nogc nothrow;
wasm_trap_t* wasm_ref_as_trap(wasm_ref_t*) @nogc nothrow;
wasm_ref_t* wasm_trap_as_ref(wasm_trap_t*) @nogc nothrow;
void wasm_trap_set_host_info_with_finalizer(wasm_trap_t*, void*, void function(void*)) @nogc nothrow;
void wasm_trap_set_host_info(wasm_trap_t*, void*) @nogc nothrow;
void* wasm_trap_get_host_info(const(wasm_trap_t)*) @nogc nothrow;
bool wasm_trap_same(const(wasm_trap_t)*, const(wasm_trap_t)*) @nogc nothrow;
wasm_trap_t* wasm_trap_copy(const(wasm_trap_t)*) @nogc nothrow;
void wasm_trap_delete(wasm_trap_t*) @nogc nothrow;
struct wasm_trap_t;
wasm_trap_t* wasm_trap_new(wasm_store_t*, const(wasm_byte_vec_t)*) @nogc nothrow;
void wasm_trap_message(const(wasm_trap_t)*, wasm_byte_vec_t*) @nogc nothrow;
wasm_frame_t* wasm_trap_origin(const(wasm_trap_t)*) @nogc nothrow;
void wasm_trap_trace(const(wasm_trap_t)*, wasm_frame_vec_t*) @nogc nothrow;
struct wasm_foreign_t;
void wasm_foreign_delete(wasm_foreign_t*) @nogc nothrow;
wasm_foreign_t* wasm_foreign_copy(const(wasm_foreign_t)*) @nogc nothrow;
bool wasm_foreign_same(const(wasm_foreign_t)*, const(wasm_foreign_t)*) @nogc nothrow;
void* wasm_foreign_get_host_info(const(wasm_foreign_t)*) @nogc nothrow;
void wasm_foreign_set_host_info(wasm_foreign_t*, void*) @nogc nothrow;
void wasm_foreign_set_host_info_with_finalizer(wasm_foreign_t*, void*, void function(void*)) @nogc nothrow;
wasm_ref_t* wasm_foreign_as_ref(wasm_foreign_t*) @nogc nothrow;
wasm_foreign_t* wasm_ref_as_foreign(wasm_ref_t*) @nogc nothrow;
const(wasm_ref_t)* wasm_foreign_as_ref_const(const(wasm_foreign_t)*) @nogc nothrow;
const(wasm_foreign_t)* wasm_ref_as_foreign_const(const(wasm_ref_t)*) @nogc nothrow;
wasm_foreign_t* wasm_foreign_new(wasm_store_t*) @nogc nothrow;
wasm_module_t* wasm_module_obtain(wasm_store_t*, const(wasm_shared_module_t)*) @nogc nothrow;
struct wasm_module_t;
void wasm_shared_module_delete(wasm_shared_module_t*) @nogc nothrow;
struct wasm_shared_module_t;
const(wasm_module_t)* wasm_ref_as_module_const(const(wasm_ref_t)*) @nogc nothrow;
const(wasm_ref_t)* wasm_module_as_ref_const(const(wasm_module_t)*) @nogc nothrow;
wasm_module_t* wasm_ref_as_module(wasm_ref_t*) @nogc nothrow;
wasm_ref_t* wasm_module_as_ref(wasm_module_t*) @nogc nothrow;
void wasm_module_set_host_info_with_finalizer(wasm_module_t*, void*, void function(void*)) @nogc nothrow;
void wasm_module_set_host_info(wasm_module_t*, void*) @nogc nothrow;
void* wasm_module_get_host_info(const(wasm_module_t)*) @nogc nothrow;
bool wasm_module_same(const(wasm_module_t)*, const(wasm_module_t)*) @nogc nothrow;
wasm_module_t* wasm_module_copy(const(wasm_module_t)*) @nogc nothrow;
void wasm_module_delete(wasm_module_t*) @nogc nothrow;
wasm_shared_module_t* wasm_module_share(const(wasm_module_t)*) @nogc nothrow;
wasm_module_t* wasm_module_new(wasm_store_t*, const(wasm_byte_vec_t)*) @nogc nothrow;
bool wasm_module_validate(wasm_store_t*, const(wasm_byte_vec_t)*) @nogc nothrow;
void wasm_module_imports(const(wasm_module_t)*, wasm_importtype_vec_t*) @nogc nothrow;
void wasm_module_exports(const(wasm_module_t)*, wasm_exporttype_vec_t*) @nogc nothrow;
void wasm_module_serialize(const(wasm_module_t)*, wasm_byte_vec_t*) @nogc nothrow;
wasm_module_t* wasm_module_deserialize(wasm_store_t*, const(wasm_byte_vec_t)*) @nogc nothrow;
struct wasm_func_t;
const(wasm_func_t)* wasm_ref_as_func_const(const(wasm_ref_t)*) @nogc nothrow;
void wasm_func_delete(wasm_func_t*) @nogc nothrow;
const(wasm_ref_t)* wasm_func_as_ref_const(const(wasm_func_t)*) @nogc nothrow;
wasm_func_t* wasm_func_copy(const(wasm_func_t)*) @nogc nothrow;
bool wasm_func_same(const(wasm_func_t)*, const(wasm_func_t)*) @nogc nothrow;
void* wasm_func_get_host_info(const(wasm_func_t)*) @nogc nothrow;
void wasm_func_set_host_info(wasm_func_t*, void*) @nogc nothrow;
void wasm_func_set_host_info_with_finalizer(wasm_func_t*, void*, void function(void*)) @nogc nothrow;
wasm_ref_t* wasm_func_as_ref(wasm_func_t*) @nogc nothrow;
wasm_func_t* wasm_ref_as_func(wasm_ref_t*) @nogc nothrow;
alias wasm_func_callback_t = wasm_trap_t* function(const(wasm_val_vec_t)*, wasm_val_vec_t*);
alias wasm_func_callback_with_env_t = wasm_trap_t* function(void*, const(wasm_val_vec_t)*, wasm_val_vec_t*);
wasm_func_t* wasm_func_new(wasm_store_t*, const(wasm_functype_t)*, wasm_trap_t* function(const(wasm_val_vec_t)*, wasm_val_vec_t*)) @nogc nothrow;
wasm_func_t* wasm_func_new_with_env(wasm_store_t*, const(wasm_functype_t)*, wasm_trap_t* function(void*, const(wasm_val_vec_t)*, wasm_val_vec_t*), void*, void function(void*)) @nogc nothrow;
wasm_functype_t* wasm_func_type(const(wasm_func_t)*) @nogc nothrow;
c_ulong wasm_func_param_arity(const(wasm_func_t)*) @nogc nothrow;
c_ulong wasm_func_result_arity(const(wasm_func_t)*) @nogc nothrow;
wasm_trap_t* wasm_func_call(const(wasm_func_t)*, const(wasm_val_vec_t)*, wasm_val_vec_t*) @nogc nothrow;
struct wasm_global_t;
void wasm_global_delete(wasm_global_t*) @nogc nothrow;
wasm_global_t* wasm_global_copy(const(wasm_global_t)*) @nogc nothrow;
bool wasm_global_same(const(wasm_global_t)*, const(wasm_global_t)*) @nogc nothrow;
void* wasm_global_get_host_info(const(wasm_global_t)*) @nogc nothrow;
void wasm_global_set_host_info(wasm_global_t*, void*) @nogc nothrow;
void wasm_global_set_host_info_with_finalizer(wasm_global_t*, void*, void function(void*)) @nogc nothrow;
wasm_ref_t* wasm_global_as_ref(wasm_global_t*) @nogc nothrow;
wasm_global_t* wasm_ref_as_global(wasm_ref_t*) @nogc nothrow;
const(wasm_ref_t)* wasm_global_as_ref_const(const(wasm_global_t)*) @nogc nothrow;
const(wasm_global_t)* wasm_ref_as_global_const(const(wasm_ref_t)*) @nogc nothrow;
wasm_global_t* wasm_global_new(wasm_store_t*, const(wasm_globaltype_t)*, const(wasm_val_t)*) @nogc nothrow;
wasm_globaltype_t* wasm_global_type(const(wasm_global_t)*) @nogc nothrow;
void wasm_global_get(const(wasm_global_t)*, wasm_val_t*) @nogc nothrow;
void wasm_global_set(wasm_global_t*, const(wasm_val_t)*) @nogc nothrow;
struct wasm_table_t;
void wasm_table_set_host_info(wasm_table_t*, void*) @nogc nothrow;
void wasm_table_set_host_info_with_finalizer(wasm_table_t*, void*, void function(void*)) @nogc nothrow;
wasm_ref_t* wasm_table_as_ref(wasm_table_t*) @nogc nothrow;
wasm_table_t* wasm_ref_as_table(wasm_ref_t*) @nogc nothrow;
const(wasm_ref_t)* wasm_table_as_ref_const(const(wasm_table_t)*) @nogc nothrow;
const(wasm_table_t)* wasm_ref_as_table_const(const(wasm_ref_t)*) @nogc nothrow;
void* wasm_table_get_host_info(const(wasm_table_t)*) @nogc nothrow;
bool wasm_table_same(const(wasm_table_t)*, const(wasm_table_t)*) @nogc nothrow;
wasm_table_t* wasm_table_copy(const(wasm_table_t)*) @nogc nothrow;
void wasm_table_delete(wasm_table_t*) @nogc nothrow;
alias wasm_table_size_t = uint;
wasm_table_t* wasm_table_new(wasm_store_t*, const(wasm_tabletype_t)*, wasm_ref_t*) @nogc nothrow;
wasm_tabletype_t* wasm_table_type(const(wasm_table_t)*) @nogc nothrow;
wasm_ref_t* wasm_table_get(const(wasm_table_t)*, uint) @nogc nothrow;
bool wasm_table_set(wasm_table_t*, uint, wasm_ref_t*) @nogc nothrow;
uint wasm_table_size(const(wasm_table_t)*) @nogc nothrow;
bool wasm_table_grow(wasm_table_t*, uint, wasm_ref_t*) @nogc nothrow;
const(wasm_memory_t)* wasm_ref_as_memory_const(const(wasm_ref_t)*) @nogc nothrow;
const(wasm_ref_t)* wasm_memory_as_ref_const(const(wasm_memory_t)*) @nogc nothrow;
wasm_memory_t* wasm_ref_as_memory(wasm_ref_t*) @nogc nothrow;
wasm_ref_t* wasm_memory_as_ref(wasm_memory_t*) @nogc nothrow;
void wasm_memory_set_host_info_with_finalizer(wasm_memory_t*, void*, void function(void*)) @nogc nothrow;
void wasm_memory_set_host_info(wasm_memory_t*, void*) @nogc nothrow;
void* wasm_memory_get_host_info(const(wasm_memory_t)*) @nogc nothrow;
bool wasm_memory_same(const(wasm_memory_t)*, const(wasm_memory_t)*) @nogc nothrow;
wasm_memory_t* wasm_memory_copy(const(wasm_memory_t)*) @nogc nothrow;
void wasm_memory_delete(wasm_memory_t*) @nogc nothrow;
struct wasm_memory_t;
alias wasm_memory_pages_t = uint;
extern __gshared const(c_ulong) MEMORY_PAGE_SIZE;
wasm_memory_t* wasm_memory_new(wasm_store_t*, const(wasm_memorytype_t)*) @nogc nothrow;
wasm_memorytype_t* wasm_memory_type(const(wasm_memory_t)*) @nogc nothrow;
char* wasm_memory_data(wasm_memory_t*) @nogc nothrow;
c_ulong wasm_memory_data_size(const(wasm_memory_t)*) @nogc nothrow;
uint wasm_memory_size(const(wasm_memory_t)*) @nogc nothrow;
bool wasm_memory_grow(wasm_memory_t*, uint) @nogc nothrow;
struct wasm_extern_t;
void wasm_extern_delete(wasm_extern_t*) @nogc nothrow;
wasm_extern_t* wasm_extern_copy(const(wasm_extern_t)*) @nogc nothrow;
bool wasm_extern_same(const(wasm_extern_t)*, const(wasm_extern_t)*) @nogc nothrow;
void* wasm_extern_get_host_info(const(wasm_extern_t)*) @nogc nothrow;
void wasm_extern_set_host_info(wasm_extern_t*, void*) @nogc nothrow;
void wasm_extern_set_host_info_with_finalizer(wasm_extern_t*, void*, void function(void*)) @nogc nothrow;
wasm_ref_t* wasm_extern_as_ref(wasm_extern_t*) @nogc nothrow;
wasm_extern_t* wasm_ref_as_extern(wasm_ref_t*) @nogc nothrow;
const(wasm_ref_t)* wasm_extern_as_ref_const(const(wasm_extern_t)*) @nogc nothrow;
const(wasm_extern_t)* wasm_ref_as_extern_const(const(wasm_ref_t)*) @nogc nothrow;
void wasm_extern_vec_new_empty(wasm_extern_vec_t*) @nogc nothrow;
void wasm_extern_vec_delete(wasm_extern_vec_t*) @nogc nothrow;
void wasm_extern_vec_copy(wasm_extern_vec_t*, const(wasm_extern_vec_t)*) @nogc nothrow;
void wasm_extern_vec_new(wasm_extern_vec_t*, c_ulong, wasm_extern_t**) @nogc nothrow;
void wasm_extern_vec_new_uninitialized(wasm_extern_vec_t*, c_ulong) @nogc nothrow;
struct wasm_extern_vec_t
{
c_ulong size;
wasm_extern_t** data;
}
ubyte wasm_extern_kind(const(wasm_extern_t)*) @nogc nothrow;
wasm_externtype_t* wasm_extern_type(const(wasm_extern_t)*) @nogc nothrow;
wasm_extern_t* wasm_func_as_extern(wasm_func_t*) @nogc nothrow;
wasm_extern_t* wasm_global_as_extern(wasm_global_t*) @nogc nothrow;
wasm_extern_t* wasm_table_as_extern(wasm_table_t*) @nogc nothrow;
wasm_extern_t* wasm_memory_as_extern(wasm_memory_t*) @nogc nothrow;
wasm_func_t* wasm_extern_as_func(wasm_extern_t*) @nogc nothrow;
wasm_global_t* wasm_extern_as_global(wasm_extern_t*) @nogc nothrow;
wasm_table_t* wasm_extern_as_table(wasm_extern_t*) @nogc nothrow;
wasm_memory_t* wasm_extern_as_memory(wasm_extern_t*) @nogc nothrow;
const(wasm_extern_t)* wasm_func_as_extern_const(const(wasm_func_t)*) @nogc nothrow;
const(wasm_extern_t)* wasm_global_as_extern_const(const(wasm_global_t)*) @nogc nothrow;
const(wasm_extern_t)* wasm_table_as_extern_const(const(wasm_table_t)*) @nogc nothrow;
const(wasm_extern_t)* wasm_memory_as_extern_const(const(wasm_memory_t)*) @nogc nothrow;
const(wasm_func_t)* wasm_extern_as_func_const(const(wasm_extern_t)*) @nogc nothrow;
const(wasm_global_t)* wasm_extern_as_global_const(const(wasm_extern_t)*) @nogc nothrow;
const(wasm_table_t)* wasm_extern_as_table_const(const(wasm_extern_t)*) @nogc nothrow;
const(wasm_memory_t)* wasm_extern_as_memory_const(const(wasm_extern_t)*) @nogc nothrow;
void wasm_instance_delete(wasm_instance_t*) @nogc nothrow;
wasm_instance_t* wasm_instance_copy(const(wasm_instance_t)*) @nogc nothrow;
bool wasm_instance_same(const(wasm_instance_t)*, const(wasm_instance_t)*) @nogc nothrow;
void* wasm_instance_get_host_info(const(wasm_instance_t)*) @nogc nothrow;
void wasm_instance_set_host_info(wasm_instance_t*, void*) @nogc nothrow;
void wasm_instance_set_host_info_with_finalizer(wasm_instance_t*, void*, void function(void*)) @nogc nothrow;
wasm_ref_t* wasm_instance_as_ref(wasm_instance_t*) @nogc nothrow;
wasm_instance_t* wasm_ref_as_instance(wasm_ref_t*) @nogc nothrow;
const(wasm_ref_t)* wasm_instance_as_ref_const(const(wasm_instance_t)*) @nogc nothrow;
const(wasm_instance_t)* wasm_ref_as_instance_const(const(wasm_ref_t)*) @nogc nothrow;
wasm_instance_t* wasm_instance_new(wasm_store_t*, const(wasm_module_t)*, const(wasm_extern_vec_t)*, wasm_trap_t**) @nogc nothrow;
void wasm_instance_exports(const(wasm_instance_t)*, wasm_extern_vec_t*) @nogc nothrow;
alias __off64_t = c_long;
alias __off_t = c_long;
alias __nlink_t = c_ulong;
alias __mode_t = uint;
alias __ino64_t = c_ulong;
alias __ino_t = c_ulong;
alias wasmer_compiler_t = _Anonymous_2;
enum _Anonymous_2
{
CRANELIFT = 0,
LLVM = 1,
SINGLEPASS = 2,
}
enum CRANELIFT = _Anonymous_2.CRANELIFT;
enum LLVM = _Anonymous_2.LLVM;
enum SINGLEPASS = _Anonymous_2.SINGLEPASS;
alias wasmer_engine_t = _Anonymous_3;
enum _Anonymous_3
{
JIT = 0,
NATIVE = 1,
OBJECT_FILE = 2,
}
enum JIT = _Anonymous_3.JIT;
enum NATIVE = _Anonymous_3.NATIVE;
enum OBJECT_FILE = _Anonymous_3.OBJECT_FILE;
struct wasi_config_t {
bool inherit_stdout;
bool inherit_stderr;
bool inherit_stdin;
}
struct wasi_env_t;
enum wasi_version_t : uint32_t {
Latest = 0,
Snapshot0 = 1,
Snapshot1 = 2,
InvalidVersion = uint32_t.max,
}
void wasi_config_arg(wasi_config_t*, const(char)*) @nogc nothrow;
void wasi_config_env(wasi_config_t*, const(char)*, const(char)*) @nogc nothrow;
void wasi_config_inherit_stderr(wasi_config_t*) @nogc nothrow;
void wasi_config_inherit_stdin(wasi_config_t*) @nogc nothrow;
void wasi_config_inherit_stdout(wasi_config_t*) @nogc nothrow;
bool wasi_config_mapdir(wasi_config_t*, const(char)*, const(char)*) @nogc nothrow;
wasi_config_t* wasi_config_new(const(char)*) @nogc nothrow;
bool wasi_config_preopen_dir(wasi_config_t*, const(char)*) @nogc nothrow;
void wasi_env_delete(wasi_env_t*) @nogc nothrow;
wasi_env_t* wasi_env_new(wasi_config_t*) @nogc nothrow;
c_long wasi_env_read_stderr(wasi_env_t*, char*, c_ulong) @nogc nothrow;
c_long wasi_env_read_stdout(wasi_env_t*, char*, c_ulong) @nogc nothrow;
bool wasi_env_set_instance(wasi_env_t*, const(wasm_instance_t)*) @nogc nothrow;
void wasi_env_set_memory(wasi_env_t*, const(wasm_memory_t)*) @nogc nothrow;
bool wasi_get_imports(const(wasm_store_t)*, const(wasm_module_t)*, const(wasi_env_t)*, wasm_extern_vec_t*) @nogc nothrow;
wasm_func_t* wasi_get_start_function(wasm_instance_t*) @nogc nothrow;
wasi_version_t wasi_get_wasi_version(const(wasm_module_t)*) @nogc nothrow;
void wasm_config_set_compiler(wasm_config_t*, wasmer_compiler_t) @nogc nothrow;
void wasm_config_set_engine(wasm_config_t*, wasmer_engine_t) @nogc nothrow;
void wasm_module_name(const(wasm_module_t)*, wasm_byte_vec_t*) @nogc nothrow;
bool wasm_module_set_name(wasm_module_t*, const(wasm_byte_vec_t)*) @nogc nothrow;
int wasmer_last_error_length() @nogc nothrow;
int wasmer_last_error_message(char*, int) @nogc nothrow;
const(char)* wasmer_version() @nogc nothrow;
ubyte wasmer_version_major() @nogc nothrow;
ubyte wasmer_version_minor() @nogc nothrow;
ubyte wasmer_version_patch() @nogc nothrow;
const(char)* wasmer_version_pre() @nogc nothrow;
void wat2wasm(const(wasm_byte_vec_t)*, wasm_byte_vec_t*) @nogc nothrow;
alias __gid_t = uint;
void* alloca(c_ulong) @nogc nothrow;
alias __uid_t = uint;
void __assert_fail(const(char)*, const(char)*, uint, const(char)*) @nogc nothrow;
void __assert_perror_fail(int, const(char)*, uint, const(char)*) @nogc nothrow;
void __assert(const(char)*, const(char)*, int) @nogc nothrow;
alias __dev_t = c_ulong;
alias __uintmax_t = c_ulong;
alias __intmax_t = c_long;
alias __u_quad_t = c_ulong;
alias __quad_t = c_long;
alias __uint64_t = c_ulong;
alias __int64_t = c_long;
alias __uint32_t = uint;
alias __int32_t = int;
alias __uint16_t = ushort;
alias __int16_t = short;
alias __uint8_t = ubyte;
alias __int8_t = byte;
alias __u_long = c_ulong;
alias __u_int = uint;
alias __u_short = ushort;
alias __u_char = ubyte;
struct __pthread_cond_s
{
static union _Anonymous_4
{
ulong __wseq;
static struct _Anonymous_5
{
uint __low;
uint __high;
}
_Anonymous_5 __wseq32;
}
_Anonymous_4 _anonymous_6;
auto __wseq() @property @nogc pure nothrow { return _anonymous_6.__wseq; }
void __wseq(_T_)(auto ref _T_ val) @property @nogc pure nothrow { _anonymous_6.__wseq = val; }
auto __wseq32() @property @nogc pure nothrow { return _anonymous_6.__wseq32; }
void __wseq32(_T_)(auto ref _T_ val) @property @nogc pure nothrow { _anonymous_6.__wseq32 = val; }
static union _Anonymous_7
{
ulong __g1_start;
static struct _Anonymous_8
{
uint __low;
uint __high;
}
_Anonymous_8 __g1_start32;
}
_Anonymous_7 _anonymous_9;
auto __g1_start() @property @nogc pure nothrow { return _anonymous_9.__g1_start; }
void __g1_start(_T_)(auto ref _T_ val) @property @nogc pure nothrow { _anonymous_9.__g1_start = val; }
auto __g1_start32() @property @nogc pure nothrow { return _anonymous_9.__g1_start32; }
void __g1_start32(_T_)(auto ref _T_ val) @property @nogc pure nothrow { _anonymous_9.__g1_start32 = val; }
uint[2] __g_refs;
uint[2] __g_size;
uint __g1_orig_size;
uint __wrefs;
uint[2] __g_signals;
}
struct __pthread_mutex_s
{
int __lock;
uint __count;
int __owner;
uint __nusers;
int __kind;
short __spins;
short __elision;
__pthread_internal_list __list;
}
struct __pthread_internal_list
{
__pthread_internal_list* __prev;
__pthread_internal_list* __next;
}
alias __pthread_list_t = __pthread_internal_list;
alias uint64_t = ulong;
alias uint32_t = uint;
alias uint16_t = ushort;
alias uint8_t = ubyte;
alias int64_t = c_long;
alias int32_t = int;
alias int16_t = short;
alias int8_t = byte;
union pthread_barrierattr_t
{
char[4] __size;
int __align;
}
alias int_least8_t = byte;
alias int_least16_t = short;
alias int_least32_t = int;
alias int_least64_t = c_long;
alias uint_least8_t = ubyte;
alias uint_least16_t = ushort;
alias uint_least32_t = uint;
alias uint_least64_t = c_ulong;
alias int_fast8_t = byte;
alias int_fast16_t = c_long;
alias int_fast32_t = c_long;
alias int_fast64_t = c_long;
alias uint_fast8_t = ubyte;
alias uint_fast16_t = c_ulong;
alias uint_fast32_t = c_ulong;
alias uint_fast64_t = c_ulong;
alias intptr_t = c_long;
alias uintptr_t = c_ulong;
alias intmax_t = c_long;
alias uintmax_t = c_ulong;
union pthread_barrier_t
{
char[32] __size;
c_long __align;
}
alias pthread_spinlock_t = int;
union pthread_rwlockattr_t
{
char[8] __size;
c_long __align;
}
union pthread_rwlock_t
{
__pthread_rwlock_arch_t __data;
char[56] __size;
c_long __align;
}
union pthread_cond_t
{
__pthread_cond_s __data;
char[48] __size;
long __align;
}
union pthread_mutex_t
{
__pthread_mutex_s __data;
char[40] __size;
c_long __align;
}
union pthread_attr_t
{
char[56] __size;
c_long __align;
}
alias pthread_once_t = int;
alias pthread_key_t = uint;
union pthread_condattr_t
{
char[4] __size;
int __align;
}
union pthread_mutexattr_t
{
char[4] __size;
int __align;
}
alias pthread_t = c_ulong;
struct __pthread_rwlock_arch_t
{
uint __readers;
uint __writers;
uint __wrphase_futex;
uint __writers_futex;
uint __pad3;
uint __pad4;
int __cur_writer;
int __shared;
byte __rwelision;
ubyte[7] __pad1;
c_ulong __pad2;
uint __flags;
}
alias _Float64x = real;
alias _Float32x = double;
alias _Float64 = double;
alias _Float32 = float;
struct div_t
{
int quot;
int rem;
}
struct ldiv_t
{
c_long quot;
c_long rem;
}
struct lldiv_t
{
long quot;
long rem;
}
c_ulong __ctype_get_mb_cur_max() @nogc nothrow;
double atof(const(char)*) @nogc nothrow;
int atoi(const(char)*) @nogc nothrow;
c_long atol(const(char)*) @nogc nothrow;
long atoll(const(char)*) @nogc nothrow;
double strtod(const(char)*, char**) @nogc nothrow;
float strtof(const(char)*, char**) @nogc nothrow;
real strtold(const(char)*, char**) @nogc nothrow;
c_long strtol(const(char)*, char**, int) @nogc nothrow;
c_ulong strtoul(const(char)*, char**, int) @nogc nothrow;
long strtoq(const(char)*, char**, int) @nogc nothrow;
ulong strtouq(const(char)*, char**, int) @nogc nothrow;
long strtoll(const(char)*, char**, int) @nogc nothrow;
ulong strtoull(const(char)*, char**, int) @nogc nothrow;
char* l64a(c_long) @nogc nothrow;
c_long a64l(const(char)*) @nogc nothrow;
c_long random() @nogc nothrow;
void srandom(uint) @nogc nothrow;
char* initstate(uint, char*, c_ulong) @nogc nothrow;
char* setstate(char*) @nogc nothrow;
struct random_data
{
int* fptr;
int* rptr;
int* state;
int rand_type;
int rand_deg;
int rand_sep;
int* end_ptr;
}
int random_r(random_data*, int*) @nogc nothrow;
int srandom_r(uint, random_data*) @nogc nothrow;
int initstate_r(uint, char*, c_ulong, random_data*) @nogc nothrow;
int setstate_r(char*, random_data*) @nogc nothrow;
int rand() @nogc nothrow;
void srand(uint) @nogc nothrow;
int rand_r(uint*) @nogc nothrow;
double drand48() @nogc nothrow;
double erand48(ushort*) @nogc nothrow;
c_long lrand48() @nogc nothrow;
c_long nrand48(ushort*) @nogc nothrow;
c_long mrand48() @nogc nothrow;
c_long jrand48(ushort*) @nogc nothrow;
void srand48(c_long) @nogc nothrow;
ushort* seed48(ushort*) @nogc nothrow;
void lcong48(ushort*) @nogc nothrow;
struct drand48_data
{
ushort[3] __x;
ushort[3] __old_x;
ushort __c;
ushort __init;
ulong __a;
}
int drand48_r(drand48_data*, double*) @nogc nothrow;
int erand48_r(ushort*, drand48_data*, double*) @nogc nothrow;
int lrand48_r(drand48_data*, c_long*) @nogc nothrow;
int nrand48_r(ushort*, drand48_data*, c_long*) @nogc nothrow;
int mrand48_r(drand48_data*, c_long*) @nogc nothrow;
int jrand48_r(ushort*, drand48_data*, c_long*) @nogc nothrow;
int srand48_r(c_long, drand48_data*) @nogc nothrow;
int seed48_r(ushort*, drand48_data*) @nogc nothrow;
int lcong48_r(ushort*, drand48_data*) @nogc nothrow;
void* malloc(c_ulong) @nogc nothrow;
void* calloc(c_ulong, c_ulong) @nogc nothrow;
void* realloc(void*, c_ulong) @nogc nothrow;
void free(void*) @nogc nothrow;
void* valloc(c_ulong) @nogc nothrow;
int posix_memalign(void**, c_ulong, c_ulong) @nogc nothrow;
void* aligned_alloc(c_ulong, c_ulong) @nogc nothrow;
void abort() @nogc nothrow;
int atexit(void function()) @nogc nothrow;
int at_quick_exit(void function()) @nogc nothrow;
int on_exit(void function(int, void*), void*) @nogc nothrow;
void exit(int) @nogc nothrow;
void quick_exit(int) @nogc nothrow;
void _Exit(int) @nogc nothrow;
char* getenv(const(char)*) @nogc nothrow;
int putenv(char*) @nogc nothrow;
int setenv(const(char)*, const(char)*, int) @nogc nothrow;
int unsetenv(const(char)*) @nogc nothrow;
int clearenv() @nogc nothrow;
char* mktemp(char*) @nogc nothrow;
int mkstemp(char*) @nogc nothrow;
int mkstemps(char*, int) @nogc nothrow;
char* mkdtemp(char*) @nogc nothrow;
int system(const(char)*) @nogc nothrow;
char* realpath(const(char)*, char*) @nogc nothrow;
alias __compar_fn_t = int function(const(void)*, const(void)*);
void* bsearch(const(void)*, const(void)*, c_ulong, c_ulong, int function(const(void)*, const(void)*)) @nogc nothrow;
void qsort(void*, c_ulong, c_ulong, int function(const(void)*, const(void)*)) @nogc nothrow;
int abs(int) @nogc nothrow;
c_long labs(c_long) @nogc nothrow;
long llabs(long) @nogc nothrow;
div_t div(int, int) @nogc nothrow;
ldiv_t ldiv(c_long, c_long) @nogc nothrow;
lldiv_t lldiv(long, long) @nogc nothrow;
char* ecvt(double, int, int*, int*) @nogc nothrow;
char* fcvt(double, int, int*, int*) @nogc nothrow;
char* gcvt(double, int, char*) @nogc nothrow;
char* qecvt(real, int, int*, int*) @nogc nothrow;
char* qfcvt(real, int, int*, int*) @nogc nothrow;
char* qgcvt(real, int, char*) @nogc nothrow;
int ecvt_r(double, int, int*, int*, char*, c_ulong) @nogc nothrow;
int fcvt_r(double, int, int*, int*, char*, c_ulong) @nogc nothrow;
int qecvt_r(real, int, int*, int*, char*, c_ulong) @nogc nothrow;
int qfcvt_r(real, int, int*, int*, char*, c_ulong) @nogc nothrow;
int mblen(const(char)*, c_ulong) @nogc nothrow;
int mbtowc(int*, const(char)*, c_ulong) @nogc nothrow;
int wctomb(char*, int) @nogc nothrow;
c_ulong mbstowcs(int*, const(char)*, c_ulong) @nogc nothrow;
c_ulong wcstombs(char*, const(int)*, c_ulong) @nogc nothrow;
int rpmatch(const(char)*) @nogc nothrow;
int getsubopt(char**, char**, char**) @nogc nothrow;
int getloadavg(double*, int) @nogc nothrow;
void* memcpy(void*, const(void)*, c_ulong) @nogc nothrow;
void* memmove(void*, const(void)*, c_ulong) @nogc nothrow;
void* memccpy(void*, const(void)*, int, c_ulong) @nogc nothrow;
void* memset(void*, int, c_ulong) @nogc nothrow;
int memcmp(const(void)*, const(void)*, c_ulong) @nogc nothrow;
void* memchr(const(void)*, int, c_ulong) @nogc nothrow;
char* strcpy(char*, const(char)*) @nogc nothrow;
char* strncpy(char*, const(char)*, c_ulong) @nogc nothrow;
char* strcat(char*, const(char)*) @nogc nothrow;
char* strncat(char*, const(char)*, c_ulong) @nogc nothrow;
int strcmp(const(char)*, const(char)*) @nogc nothrow;
int strncmp(const(char)*, const(char)*, c_ulong) @nogc nothrow;
int strcoll(const(char)*, const(char)*) @nogc nothrow;
c_ulong strxfrm(char*, const(char)*, c_ulong) @nogc nothrow;
int strcoll_l(const(char)*, const(char)*, __locale_struct*) @nogc nothrow;
c_ulong strxfrm_l(char*, const(char)*, c_ulong, __locale_struct*) @nogc nothrow;
char* strdup(const(char)*) @nogc nothrow;
char* strndup(const(char)*, c_ulong) @nogc nothrow;
char* strchr(const(char)*, int) @nogc nothrow;
char* strrchr(const(char)*, int) @nogc nothrow;
c_ulong strcspn(const(char)*, const(char)*) @nogc nothrow;
c_ulong strspn(const(char)*, const(char)*) @nogc nothrow;
char* strpbrk(const(char)*, const(char)*) @nogc nothrow;
char* strstr(const(char)*, const(char)*) @nogc nothrow;
char* strtok(char*, const(char)*) @nogc nothrow;
char* __strtok_r(char*, const(char)*, char**) @nogc nothrow;
char* strtok_r(char*, const(char)*, char**) @nogc nothrow;
c_ulong strlen(const(char)*) @nogc nothrow;
c_ulong strnlen(const(char)*, c_ulong) @nogc nothrow;
char* strerror(int) @nogc nothrow;
int strerror_r(int, char*, c_ulong) @nogc nothrow;
char* strerror_l(int, __locale_struct*) @nogc nothrow;
void explicit_bzero(void*, c_ulong) @nogc nothrow;
char* strsep(char**, const(char)*) @nogc nothrow;
char* strsignal(int) @nogc nothrow;
char* __stpcpy(char*, const(char)*) @nogc nothrow;
char* stpcpy(char*, const(char)*) @nogc nothrow;
char* __stpncpy(char*, const(char)*, c_ulong) @nogc nothrow;
char* stpncpy(char*, const(char)*, c_ulong) @nogc nothrow;
int bcmp(const(void)*, const(void)*, c_ulong) @nogc nothrow;
void bcopy(const(void)*, void*, c_ulong) @nogc nothrow;
void bzero(void*, c_ulong) @nogc nothrow;
char* index(const(char)*, int) @nogc nothrow;
char* rindex(const(char)*, int) @nogc nothrow;
int ffs(int) @nogc nothrow;
int ffsl(c_long) @nogc nothrow;
int ffsll(long) @nogc nothrow;
int strcasecmp(const(char)*, const(char)*) @nogc nothrow;
int strncasecmp(const(char)*, const(char)*, c_ulong) @nogc nothrow;
int strcasecmp_l(const(char)*, const(char)*, __locale_struct*) @nogc nothrow;
int strncasecmp_l(const(char)*, const(char)*, c_ulong, __locale_struct*) @nogc nothrow;
}
|
D
|
/Users/nathanwhite/Desktop/vaporserver/simpleVapor/.build/x86_64-apple-macosx/debug/Command.build/Run/Output+Help.swift.o : /Users/nathanwhite/Desktop/vaporserver/simpleVapor/.build/checkouts/console/Sources/Command/Command/Command.swift /Users/nathanwhite/Desktop/vaporserver/simpleVapor/.build/checkouts/console/Sources/Command/Base/CommandRunnable.swift /Users/nathanwhite/Desktop/vaporserver/simpleVapor/.build/checkouts/console/Sources/Command/Run/Output+Autocomplete.swift /Users/nathanwhite/Desktop/vaporserver/simpleVapor/.build/checkouts/console/Sources/Command/Config/CommandConfig.swift /Users/nathanwhite/Desktop/vaporserver/simpleVapor/.build/checkouts/console/Sources/Command/Base/CommandOption.swift /Users/nathanwhite/Desktop/vaporserver/simpleVapor/.build/checkouts/console/Sources/Command/Run/Console+Run.swift /Users/nathanwhite/Desktop/vaporserver/simpleVapor/.build/checkouts/console/Sources/Command/Run/Output+Help.swift /Users/nathanwhite/Desktop/vaporserver/simpleVapor/.build/checkouts/console/Sources/Command/Group/CommandGroup.swift /Users/nathanwhite/Desktop/vaporserver/simpleVapor/.build/checkouts/console/Sources/Command/Group/BasicCommandGroup.swift /Users/nathanwhite/Desktop/vaporserver/simpleVapor/.build/checkouts/console/Sources/Command/Utilities/CommandError.swift /Users/nathanwhite/Desktop/vaporserver/simpleVapor/.build/checkouts/console/Sources/Command/Config/Commands.swift /Users/nathanwhite/Desktop/vaporserver/simpleVapor/.build/checkouts/console/Sources/Command/Utilities/Utilities.swift /Users/nathanwhite/Desktop/vaporserver/simpleVapor/.build/checkouts/console/Sources/Command/Utilities/Exports.swift /Users/nathanwhite/Desktop/vaporserver/simpleVapor/.build/checkouts/console/Sources/Command/Command/CommandArgument.swift /Users/nathanwhite/Desktop/vaporserver/simpleVapor/.build/checkouts/console/Sources/Command/Run/CommandInput.swift /Users/nathanwhite/Desktop/vaporserver/simpleVapor/.build/checkouts/console/Sources/Command/Run/CommandContext.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/Service.swiftmodule /Users/nathanwhite/Desktop/vaporserver/simpleVapor/.build/x86_64-apple-macosx/debug/Console.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/Logging.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/Command.build/Run/Output+Help~partial.swiftmodule : /Users/nathanwhite/Desktop/vaporserver/simpleVapor/.build/checkouts/console/Sources/Command/Command/Command.swift /Users/nathanwhite/Desktop/vaporserver/simpleVapor/.build/checkouts/console/Sources/Command/Base/CommandRunnable.swift /Users/nathanwhite/Desktop/vaporserver/simpleVapor/.build/checkouts/console/Sources/Command/Run/Output+Autocomplete.swift /Users/nathanwhite/Desktop/vaporserver/simpleVapor/.build/checkouts/console/Sources/Command/Config/CommandConfig.swift /Users/nathanwhite/Desktop/vaporserver/simpleVapor/.build/checkouts/console/Sources/Command/Base/CommandOption.swift /Users/nathanwhite/Desktop/vaporserver/simpleVapor/.build/checkouts/console/Sources/Command/Run/Console+Run.swift /Users/nathanwhite/Desktop/vaporserver/simpleVapor/.build/checkouts/console/Sources/Command/Run/Output+Help.swift /Users/nathanwhite/Desktop/vaporserver/simpleVapor/.build/checkouts/console/Sources/Command/Group/CommandGroup.swift /Users/nathanwhite/Desktop/vaporserver/simpleVapor/.build/checkouts/console/Sources/Command/Group/BasicCommandGroup.swift /Users/nathanwhite/Desktop/vaporserver/simpleVapor/.build/checkouts/console/Sources/Command/Utilities/CommandError.swift /Users/nathanwhite/Desktop/vaporserver/simpleVapor/.build/checkouts/console/Sources/Command/Config/Commands.swift /Users/nathanwhite/Desktop/vaporserver/simpleVapor/.build/checkouts/console/Sources/Command/Utilities/Utilities.swift /Users/nathanwhite/Desktop/vaporserver/simpleVapor/.build/checkouts/console/Sources/Command/Utilities/Exports.swift /Users/nathanwhite/Desktop/vaporserver/simpleVapor/.build/checkouts/console/Sources/Command/Command/CommandArgument.swift /Users/nathanwhite/Desktop/vaporserver/simpleVapor/.build/checkouts/console/Sources/Command/Run/CommandInput.swift /Users/nathanwhite/Desktop/vaporserver/simpleVapor/.build/checkouts/console/Sources/Command/Run/CommandContext.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/Service.swiftmodule /Users/nathanwhite/Desktop/vaporserver/simpleVapor/.build/x86_64-apple-macosx/debug/Console.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/Logging.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/Command.build/Run/Output+Help~partial.swiftdoc : /Users/nathanwhite/Desktop/vaporserver/simpleVapor/.build/checkouts/console/Sources/Command/Command/Command.swift /Users/nathanwhite/Desktop/vaporserver/simpleVapor/.build/checkouts/console/Sources/Command/Base/CommandRunnable.swift /Users/nathanwhite/Desktop/vaporserver/simpleVapor/.build/checkouts/console/Sources/Command/Run/Output+Autocomplete.swift /Users/nathanwhite/Desktop/vaporserver/simpleVapor/.build/checkouts/console/Sources/Command/Config/CommandConfig.swift /Users/nathanwhite/Desktop/vaporserver/simpleVapor/.build/checkouts/console/Sources/Command/Base/CommandOption.swift /Users/nathanwhite/Desktop/vaporserver/simpleVapor/.build/checkouts/console/Sources/Command/Run/Console+Run.swift /Users/nathanwhite/Desktop/vaporserver/simpleVapor/.build/checkouts/console/Sources/Command/Run/Output+Help.swift /Users/nathanwhite/Desktop/vaporserver/simpleVapor/.build/checkouts/console/Sources/Command/Group/CommandGroup.swift /Users/nathanwhite/Desktop/vaporserver/simpleVapor/.build/checkouts/console/Sources/Command/Group/BasicCommandGroup.swift /Users/nathanwhite/Desktop/vaporserver/simpleVapor/.build/checkouts/console/Sources/Command/Utilities/CommandError.swift /Users/nathanwhite/Desktop/vaporserver/simpleVapor/.build/checkouts/console/Sources/Command/Config/Commands.swift /Users/nathanwhite/Desktop/vaporserver/simpleVapor/.build/checkouts/console/Sources/Command/Utilities/Utilities.swift /Users/nathanwhite/Desktop/vaporserver/simpleVapor/.build/checkouts/console/Sources/Command/Utilities/Exports.swift /Users/nathanwhite/Desktop/vaporserver/simpleVapor/.build/checkouts/console/Sources/Command/Command/CommandArgument.swift /Users/nathanwhite/Desktop/vaporserver/simpleVapor/.build/checkouts/console/Sources/Command/Run/CommandInput.swift /Users/nathanwhite/Desktop/vaporserver/simpleVapor/.build/checkouts/console/Sources/Command/Run/CommandContext.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/Service.swiftmodule /Users/nathanwhite/Desktop/vaporserver/simpleVapor/.build/x86_64-apple-macosx/debug/Console.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/Logging.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
|
module android.java.android.view.ViewConfiguration;
public import android.java.android.view.ViewConfiguration_d_interface;
import arsd.jni : ImportExportImpl;
mixin ImportExportImpl!ViewConfiguration;
import import0 = android.java.android.view.ViewConfiguration;
import import2 = android.java.java.lang.Class;
|
D
|
// URL: https://atcoder.jp/contests/abc107/tasks/abc107_a
import std.algorithm, std.container, std.conv, std.math, std.range, std.typecons, std.stdio, std.string;
auto rdsp(){return readln.splitter;}
void pick(R,T)(ref R r,ref T t){t=r.front.to!T;r.popFront;}
void pickV(R,T...)(ref R r,ref T t){foreach(ref v;t)pick(r,v);}
void readV(T...)(ref T t){auto r=rdsp;foreach(ref v;t)pick(r,v);}
void readA(T)(size_t n,ref T[]t){t=new T[](n);auto r=rdsp;foreach(ref v;t)pick(r,v);}
void readM(T)(size_t r,size_t c,ref T[][]t){t=new T[][](r);foreach(ref v;t)readA(c,v);}
void readC(T...)(size_t n,ref T t){foreach(ref v;t)v=new typeof(v)(n);foreach(i;0..n){auto r=rdsp;foreach(ref v;t)pick(r,v[i]);}}
void readS(T)(size_t n,ref T t){t=new T(n);foreach(ref v;t){auto r=rdsp;foreach(ref j;v.tupleof)pick(r,j);}}
void writeA(T)(size_t n,T t){foreach(i,v;t.enumerate){write(v);if(i<n-1)write(" ");}writeln;}
version(unittest) {} else
void main()
{
int n, i; readV(n, i);
writeln(n-i+1);
}
|
D
|
/**
Github issues.
*/
module it.issues;
import it;
@Tags("issue")
@("3")
@safe unittest {
shouldCompile(
C(
`
#include <signal.h>
`
),
D(
q{
siginfo_t si;
si._sifields._timer.si_tid = 2;
static assert(is(typeof(si.si_signo) == int));
static assert(is(typeof(si._sifields._timer.si_tid) == int),
typeof(si._sifields._timer.si_tid).stringof);
}
),
);
}
@Tags("issue")
@("4")
@safe unittest {
with(immutable IncludeSandbox()) {
writeFile("issue4.h",
q{
extern char *arr[9];
});
writeFile("issue4.dpp",
`
#include "issue4.h"
`);
runPreprocessOnly("issue4.dpp");
fileShouldContain("issue4.d", q{extern __gshared char*[9] arr;});
}
}
@Tags("issue")
@("5")
@safe unittest {
shouldCompile(
C(
q{
typedef enum zfs_error {
EZFS_SUCCESS = 0,
EZFS_NOMEM = 2000,
};
typedef struct zfs_perm_node {
char z_pname[4096];
} zfs_perm_node_t;
typedef struct libzfs_handle libzfs_handle_t;
}
),
D(
q{
zfs_error e1 = EZFS_SUCCESS;
zfs_error e2 = zfs_error.EZFS_SUCCESS;
zfs_perm_node_t node;
static assert(node.z_pname.sizeof == 4096);
static assert(is(typeof(node.z_pname[0]) == char), (typeof(node.z_pname[0]).stringof));
libzfs_handle_t* ptr;
}
),
);
}
@Tags("issue")
@("6")
@safe unittest {
with(immutable IncludeSandbox()) {
writeFile("issue6.h",
q{
char *getMessage();
});
writeFile("issue6.dpp",
`
#include "issue6.h"
`);
runPreprocessOnly("issue6.dpp");
fileShouldContain("issue6.d", q{char* getMessage() @nogc nothrow;});
}
}
@Tags("issue", "bitfield")
@("7")
@safe unittest {
shouldCompile(
C(
q{
struct splitflags {
int dryrun : 1;
int import : 2;
int name_flags;
int foo: 3;
int bar: 4;
int suffix;
};
struct other {
int quux: 2;
int toto: 3;
};
}
),
D(
q{
static assert(splitflags.sizeof == 16);
static assert(other.sizeof == 4);
}
),
);
}
@Tags("issue")
@("10")
@safe unittest {
shouldCompile(
C(
q{
enum silly_name {
FOO,
BAR,
BAZ,
};
extern void silly_name(enum silly_name thingie);
}
),
D(
q{
silly_name_(silly_name.FOO);
}
),
);
}
@Tags("issue")
@("11")
@safe unittest {
shouldCompile(
C(
q{
struct Foo;
typedef struct Foo* FooPtr;
}
),
D(
q{
FooPtr f = null;
static assert(!__traits(compiles, Foo()));
}
),
);
}
@Tags("issue")
@("14")
@safe unittest {
import dpp.runtime.options: Options;
with(immutable IncludeSandbox()) {
writeFile("foo.h",
q{
typedef int foo;
});
runPreprocessOnly("foo.h").shouldThrowWithMessage(
"No .dpp input file specified\n" ~ Options.usage);
}
}
@Tags("issue", "preprocessor")
@("22.0")
@safe unittest {
shouldCompile(
C(
`
typedef struct {
#ifdef __USE_XOPEN
int fds_bits[42];
#define __FDS_BITS(set) ((set)->fds_bits)
#else
int __fds_bits[42];
#define __FDS_BITS(set) ((set)->__fds_bits)
#endif
} fd_set;
`
),
D(
q{
fd_set set;
__FDS_BITS(set)[0] = 42;
}
),
);
}
@Tags("issue", "preprocessor")
@("22.1")
@safe unittest {
shouldCompile(
C(
`
#define SIZEOF(x) (sizeof(x))
`
),
D(
q{
int i;
static assert(SIZEOF(i) == 4);
}
),
);
}
@ShouldFail
@Tags("issue", "preprocessor")
@("22.3")
@safe unittest {
shouldCompile(
C(
`
typedef long int __fd_mask;
#define __NFDBITS (8 * (int) sizeof (__fd_mask))
`
),
D(
q{
import std.conv;
static assert(__NFDBITS == 8 * c_long.sizeof,
text("expected ", 8 * c_long.sizeof, ", got: ", __NFDBITS));
}
),
);
}
@Tags("issue", "preprocessor")
@("22.4")
@safe unittest {
shouldCompile(
C(
`
typedef struct clist { struct list* next; };
#define clist_next(iter) (iter ? (iter)->next : NULL)
`
),
D(
q{
clist l;
auto next = clist_next(&l);
}
),
);
}
@Tags("issue", "collision", "issue24")
@("24.0")
@safe unittest {
shouldCompile(
C(
q{
struct Bar {
void (*Foo)(void); // this should get renamed as Foo_
struct Foo* (*whatever)(void);
};
}
),
D(
q{
}
),
);
}
@Tags("issue", "collision", "issue24")
@("24.1")
@safe unittest {
shouldCompile(
C(
q{
int foo(int, struct foo_data**);
struct foo { int dummy; };
struct foo_data { int dummy; };
}
),
D(
q{
foo_data** data;
int ret = foo_(42, data);
foo s;
s.dummy = 33;
foo_data fd;
fd.dummy = 77;
}
),
);
}
@Tags("issue")
@("29.0")
@safe unittest {
shouldCompile(
C(
q{
typedef struct {
union {
struct {
double x;
double y;
double z;
};
double raw[3];
};
} vec3d_t;
}
),
D(
q{
vec3d_t v;
static assert(v.sizeof == 24);
v.raw[1] = 3.0;
v.y = 4.0;
}
),
);
}
@Tags("issue")
@("29.1")
@safe unittest {
shouldCompile(
C(
q{
typedef struct {
struct {
int x;
int y;
};
struct {
int z;
};
} Struct;
}
),
D(
q{
Struct s;
s.x = 2;
s.y = 3;
s.z = 4;
}
),
);
}
@Tags("issue")
@("29.2")
@safe unittest {
shouldCompile(
C(
q{
struct Struct {
union {
unsigned long long int foo;
struct {
unsigned int low;
unsigned int high;
} foo32;
};
};
}
),
D(
q{
Struct s;
s.foo = 42;
s.foo32.low = 33;
s.foo32.high = 77;
}
),
);
}
@Tags("issue")
@("29.3")
@safe unittest {
shouldCompile(
C(
q{
struct Struct {
union {
unsigned long long int foo;
void *bar;
};
};
}
),
D(
q{
Struct s;
s.foo = 42;
s.bar = null;
}
),
);
}
@Tags("issue")
@("33.0")
@safe unittest {
shouldCompile(
C(
q{
void (*f)();
}
),
D(
q{
static extern(C) void printHello() { }
f = &printHello;
f();
}
),
);
}
@Tags("issue")
@("33.1")
@safe unittest {
shouldCompile(
C(
q{
int (*f)();
}
),
D(
q{
static extern(C) int func() { return 42; }
f = &func;
int i = f();
}
),
);
}
@Tags("issue", "bitfield")
@("35")
@safe unittest {
shouldCompile(
C(
q{
struct Struct {
int foo;
int bar;
int :32;
int :31;
int :3;
int :27;
};
}
),
D(
q{
Struct s;
static assert(s.sizeof == 20);
}
),
);
}
@Tags("issue")
@("37")
@safe unittest {
shouldCompile(
C(
`
#include "mmintrin.h"
`
),
D(
q{
}
),
);
}
@Tags("issue", "preprocessor")
@("39.0")
@safe unittest {
shouldCompile(
C(
`
typedef long value;
typedef long intnat;
typedef unsigned long uintnat;
#define Val_long(x) ((intnat) (((uintnat)(x) << 1)) + 1)
#define Long_val(x) ((x) >> 1)
#define Val_int(x) Val_long(x)
#define Int_val(x) ((int) Long_val(x))
#define Bp_val(v) ((char *) (v))
#define String_val(x) ((const char *) Bp_val(x))
value caml_callback(value, value);
char* strdup(const char* val);
`
),
D(
q{
static value* fib_closure = null;
int n;
auto val = Int_val(caml_callback(*fib_closure, Val_int(n)));
char* str = strdup(String_val(caml_callback(*fib_closure, Val_int(n))));
}
),
);
}
@Tags("issue", "preprocessor")
@("39.1")
@safe unittest {
shouldCompile(
C(
`
#define VOID_PTR(x) ( void* )(x)
`
),
D(
q{
auto val = VOID_PTR(42);
static assert(is(typeof(val) == void*));
}
),
);
}
@Tags("issue", "preprocessor")
@("39.2")
@safe unittest {
shouldCompile(
C(
`
typedef int myint;
#define CAST(x) ( myint* )(x)
`
),
D(
q{
auto val = CAST(42);
static assert(is(typeof(val) == int*));
}
),
);
}
@Tags("issue", "preprocessor")
@("40")
@safe unittest {
with(immutable IncludeSandbox()) {
writeFile("hdr1.h",
q{
typedef int myint;
});
writeFile("hdr2.h",
q{
myint myfunc(void);
});
writeFile("src.dpp",
`
#include "hdr1.h"
#include "hdr2.h"
void func() {
myint _ = myfunc();
}
`);
runPreprocessOnly("src.dpp");
shouldCompile("src.d");
}
}
@Tags("issue")
@("43")
@safe unittest {
shouldCompile(
C(
q{
int binOp(int (f)(int x, int y), int a, int b);
int thef(int x, int y);
}
),
D(
q{
binOp(&thef, 2, 3);
}
),
);
}
@Tags("issue")
@("44.1")
@safe unittest {
shouldCompile(
C(
`
#define macro(x) (x) + 42
`
),
D(
q{
static assert(macro_(0) == 42);
static assert(macro_(1) == 43);
}
),
);
}
@Tags("issue")
@("44.2")
@safe unittest {
shouldCompile(
C(
`
struct macro { int i };
`
),
D(
q{
}
),
);
}
@Tags("issue")
@("48")
@safe unittest {
shouldCompile(
C(
`
#include <stddef.h>
struct Struct {
volatile int x;
volatile size_t y;
};
`
),
D(
q{
}
),
);
}
@Tags("issue", "preprocessor")
@("49")
@safe unittest {
shouldCompile(
C(
`
#define func() ((void)0)
void (func)(void);
`
),
D(
q{
// it gets renamed
func_();
}
),
);
}
@Tags("issue")
@("53")
@safe unittest {
shouldCompile(
C(
q{
typedef int bool;
}
),
D(
q{
}
),
);
}
@Tags("issue", "enum")
@("54")
@safe unittest {
shouldCompile(
C(
q{
enum {
SUCCESS,
};
typedef int boolean;
}
),
D(
q{
static assert(SUCCESS == 0);
}
),
);
}
@Tags("issue")
@("66")
@safe unittest {
shouldCompile(
C(
`
#include <linux/ethtool.h>
`
),
D(
q{
}
),
);
}
@Tags("issue")
@("77")
@safe unittest {
with(immutable IncludeSandbox()) {
writeFile("hdr.h", "");
writeFile("app.dpp",
`
module mymodule;
#include "hdr.h"
void main() {
static assert(__MODULE__ == "mymodule");
}
`);
runPreprocessOnly("app.dpp");
shouldCompile("app.d");
}
}
@Tags("issue")
@("79")
unittest {
with(const IncludeSandbox()) {
writeHeaderAndApp("1st.h",
`
#include "2nd.h"
#define BAR 33
`,
D(""), // no need for .dpp source code
);
writeFile("2nd.h",
`
// these empty lines are important, since they push the enum
// declaration down to have a higher line number than the BAR macro.
enum TheEnum { BAR = 42 };
`);
run("-c", inSandboxPath("app.dpp"));
}
}
@Tags("issue")
@("90.0")
@safe unittest {
shouldCompile(
C(
`
#define TEST(_ARR) ((int)(sizeof(_ARR)/sizeof(*_ARR)))
`
),
D(
q{
}
),
);
}
@Tags("issue")
@("90.1")
@safe unittest {
shouldCompile(
C(
`
#define TEST(_ARR) ((int)(sizeof(_ARR)/sizeof(_ARR[0])))
`
),
D(
q{
int[8] ints;
static assert(TEST(ints) == 8);
}
),
);
}
@Tags("issue")
@("91.0")
@safe unittest {
shouldCompile(
Cpp(
q{
template <typename T, typename U> class Test {};
void test(Test<unsigned short, unsigned int> a);
}
),
D(
q{
test(Test!(ushort, uint)());
}
),
);
}
@Tags("issue")
@("91.1")
@safe unittest {
shouldCompile(
Cpp(
q{
template <typename T, int> class Test {};
void test(Test<unsigned short, 42> a);
}
),
D(
q{
test(Test!(ushort, 42)());
}
),
);
}
@Tags("issue")
@("93")
@safe unittest {
shouldCompile(
Cpp(
q{
constexpr int x = sizeof(int) + (1) + sizeof(int);
}
),
D(
q{
static assert(x == 9);
}
),
);
}
@Tags("issue")
@("95")
@safe unittest {
shouldCompile(
Cpp(
q{
constexpr int x = sizeof(int) + alignof(int) + sizeof(int);
}
),
D(
q{
static assert(x == 12);
}
),
);
}
@Tags("issue")
@("96")
@safe unittest {
shouldCompile(
Cpp(
q{
template<unsigned long A, int B> class C{
enum { value = 0 };
};
template<> class C<3,4> {
enum { value = 1 };
};
}
),
D(
q{
static assert(C!(0, 0).value == 0);
static assert(C!(0, 1).value == 0);
static assert(C!(1, 0).value == 0);
static assert(C!(3, 4).value == 1);
}
),
);
}
@Tags("issue")
@("97")
@safe unittest {
shouldCompile(
Cpp(
q{
class T1 {
int i;
};
template<int I>
class T2 {
double d;
};
extern T1 a;
extern T2<3> b;
}
),
D(
q{
a.i = 33;
b.d = 33.3;
}
),
);
}
@Tags("issue")
@("99")
@safe unittest {
shouldCompile(
Cpp(
q{
class A {
constexpr static int i = 0;
constexpr static int j = A::i;
};
}
),
D(
q{
static assert(A.i == 0);
static assert(A.j == 0);
}
),
);
}
@ShouldFail("cursor.enumConstantValue returning 0 for `value = I`")
@Tags("issue")
@("100")
@safe unittest {
shouldCompile(
Cpp(
q{
class T1 {
enum { value = 42 };
};
template<int I>
class T2 {
enum { value = I };
};
}
),
D(
q{
static assert(T1.value == 42);
static assert(T2!2.value == 2);
static assert(T2!3.value == 3);
}
),
);
}
@Tags("issue")
@("101")
@safe unittest {
shouldCompile(
Cpp(
q{
// normally without the underscore
int operator "" _s(const wchar_t* __str, unsigned long __len);
}
),
D(
q{
}
),
);
}
@Tags("issue")
@("103.0")
@safe unittest {
with(immutable IncludeSandbox()) {
writeFile("hdr.h",
"#define CONSTANT 42\n");
writeFile("hdr.dpp",
`
#include "hdr.h"
`);
writeFile("app.d",
q{
import hdr;
static assert(DPP_ENUM_CONSTANT == 42);
});
runPreprocessOnly("hdr.dpp");
shouldCompile("app.d");
}
}
@Tags("issue")
@("103.1")
@safe unittest {
with(immutable IncludeSandbox()) {
writeFile("hdr.h",
"#define OCTAL 00177\n");
writeFile("hdr.dpp",
`
#include "hdr.h"
`);
writeFile("app.d",
q{
import hdr;
import std.conv: text;
static assert(DPP_ENUM_OCTAL == 127);
});
runPreprocessOnly("hdr.dpp");
shouldCompile("app.d");
}
}
@ShouldFail
@Tags("issue")
@("104")
@safe unittest {
shouldCompile(
Cpp(
q{
template <int> struct Struct{};
template<>
struct Struct<1 + 1> {
static constexpr auto value = 42;
};
}
),
D(
q{
static assert(Struct!2.value == 42);
}
),
);
}
@Tags("issue")
@("108")
@safe unittest {
shouldCompile(
Cpp(
q{
template<class T1, class T2, int I>
class A {};
template <typename CC> class C {};
template<>
class A<C<int>, double, 42> {};
}
),
D(
q{
}
),
);
}
@Tags("issue")
@("109")
@safe unittest {
shouldCompile(
Cpp(
q{
template<typename C> class Test
{
bool operator==(const Test<C>& x) const { return 0; }
bool operator<(const Test<C>& x) const { return 0; }
bool operator>(const Test<C>& x) const { return 0; }
};
}
),
D(
q{
const t = Test!int();
const eq = t == t;
const lt = t < t;
const gt = t > t;
}
),
);
}
@Tags("issue")
@("110")
@safe unittest {
shouldCompile(
Cpp(
q{
class A {
bool operator_a() const;
};
}
),
D(
q{
auto a = new const A;
bool ret = a.operator_a();
}
),
);
}
@ShouldFail
@Tags("issue")
@("114")
@safe unittest {
shouldCompile(
Cpp(
q{
template<class T>
struct Foo {
template<class U>
Foo& operator=(U& other) {
return *this;
}
};
}
),
D(
q{
Foo!int foo;
int i;
foo = i;
double d;
foo = d;
}
),
);
}
@Tags("issue")
@("115")
@safe unittest {
shouldCompile(
Cpp(
q{
template<class T>
class Foo {
T value;
public:
Foo(T value);
};
template<class T>
Foo<T>::Foo(T val) {
value = val;
}
}
),
D(
q{
auto fooI = Foo!int(42);
auto fooD = Foo!double(33.3);
}
),
);
}
@Tags("issue")
@("116")
@safe unittest {
shouldCompile(
Cpp(
q{
struct Foo;
struct Foo { int i; };
}
),
D(
q{
static assert(is(typeof(Foo.i) == int));
}
),
);
}
@ShouldFail("The function parameter gets named Enum instead of Struct.Enum")
@Tags("issue")
@("119.0")
@safe unittest {
shouldCompile(
Cpp(
q{
struct Struct {
enum Enum { foo, bar, baz };
};
void fun(Struct::Enum);
}
),
D(
q{
}
),
);
}
@ShouldFail("enum class should not alias members")
@Tags("issue")
@("119.1")
@safe unittest {
shouldCompile(
Cpp(
q{
struct Struct {
enum class Enum { foo, bar, baz };
};
}
),
D(
q{
auto f = Struct.Enum.foo;
static assert(!__traits(compiles, Struct.foo));
}
),
);
}
|
D
|
/**
* System functions, tempered by конф.подробнРежим.
*
* Authors:
* Gregor Richards
*
* License:
* Copyright (c) 2006, 2007 Gregor Richards
*
* Permission is hereby granted, free of charge, to any person obtaining a
* copy of this software and associated докumentation файлы (the "Software"),
* to deal in the Software without restriction, including without limitation
* the rights to исп, 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 dsss.system;
import dsss.conf;
import sys.WinProcess;
/** система + output */
цел пСкажиИСис(ткст кмнд)
{
if (подробнРежим)
return скажиИСис(кмнд);
else
return система(кмнд);
}
/** сисИлиАборт + output */
проц пСкажиСисАборт(ткст кмнд)
{
if (подробнРежим)
скажиСисАборт(кмнд);
else
сисИлиАборт(кмнд);
}
/** сисРеспонс + output */
цел пСкажиИСисР(ткст кмнд, ткст рфлаг, ткст рфайл, бул удалитьРФайл)
{
if (подробнРежим)
return скажиИСисР(кмнд, рфлаг, рфайл, удалитьРФайл);
else
return сисРеспонс(кмнд, рфлаг, рфайл, удалитьРФайл);
}
/** сисРИлиАборт + output */
проц пСкажиСисРАборт(ткст кмнд, ткст рфлаг, ткст рфайл, бул удалитьРФайл)
{
if (подробнРежим)
скажиСисРАборт(кмнд, рфлаг, рфайл, удалитьРФайл);
else
сисРИлиАборт(кмнд, рфлаг, рфайл, удалитьРФайл);
}
|
D
|
Strengthening civil society 114
Multisector aid 76
Social/ welfare services 73
Administrative costs 65
Employment policy and administrative management 60
Business support services and institutions 59
Industrial development 51
Rural development 38
Basic life skills for youth and adults 28
Support to local and regional NGOs 26
|
D
|
help (1) --- provide help for users in need 08/27/84
| _U_s_a_g_e
help { <item> | <option> }
| <option> ::= -c | -d | -s | -f | -g | -i | -p | -u
_D_e_s_c_r_i_p_t_i_o_n
'Help' can be used to retrieve various types of information
concerning Subsystem commands and library subprograms.
General information on the Subsystem can be had simply by
typing the command "help" with no arguments:
help
More comprehensive information can be obtained with the form
help item item...
'Help' searches the _S_o_f_t_w_a_r_e _T_o_o_l_s _S_u_b_s_y_s_t_e_m _R_e_f_e_r_e_n_c_e
_M_a_n_u_a_l for the named commands and subprograms and, if they
are found, prints their manual entries. Any uniquely-named
command or library subprogram may be found in this manner.
In the case of commands and subprograms that share a common
name (e.g. 'print' or 'date') the ambiguity may be resolved
by specifying the option "-c" to select the command or "-s"
to select the subprogram. If neither "-s" or "-c" is
specified, the default behavior is the same as for "-c".
General information not in the Reference Manual is accessed
with the "-g" option; for example,
help -g bnf
gives a short explanation of the extended Backus-Naur Form
(BNF) used to describe command syntax in the Reference
Manual.
An index of all documented commands and library subprograms
can be generated with the "-i" option. (This is an excel-
lent way of getting an overview of what functionality the
Subsystem has to offer.) Furthermore, if some particular
function is desired, but the names of commands that perform
that function are unknown, the "-f" option may be used to
search the index for a given pattern. For example, the
names and short descriptions of all commands and library
subprograms dealing with character strings will be listed by
the following command:
help -f string
(The "-f" option is an excellent way for a new user to track
down commands and subprograms that are germane to the solu-
tion of a particular problem.) (An aside to experienced
help (1) - 1 - help (1)
help (1) --- provide help for users in need 08/27/84
users: the patterns following a "-f" option are standard
Subsystem regular expressions, identical to those used in
the text editors and the 'find' and 'change' commands.)
'Help' calls the 'page' subroutine in the Subsystem library
to print a screenful of information at a time; any response
that is acceptable to 'page' can be given as a response to
'help'. Please see the Reference Manual entry for the
'page' routine for more details ("help page" would be
appropriate). In particular, a carriage return may be
entered to continue to the next screenful of information.
While the 'help' processor is presenting the text of a
Reference Manual entry, it prompts with the a string of the
form "<name> [<number>+] more ? ", where <name> is the name
of the command or routine for which help is being provided,
and <number> is the number of the page (screenful) being
presented. When the end of the Reference Manual entry is
reached, 'help' prompts with the string
"<name> [<number>$] more ? ", with the dollar sign indicat-
| ing that the end of the manual entry has been reached. By
| default, 'help' instructs the 'page' subroutine to use any
| special features your terminal may have, via the 'vth'
| terminal handling library. If you have a dumb terminal, or
| a hard-copy terminal, use the "-d" option to tell 'help'
| that it is using a "dumb" terminal.
For extracting Reference Manual entries to be spooled and
printed, the "-p" option may be used to turn off the
automatic pagination described above. When "-p" is
specified, the Reference Manual entries selected are printed
exactly as they are stored, with underlining/boldfacing
intact, and indentation and page size unchanged. This out-
put must be run through 'os' before being printed on the
line printer. Example:
help -p help rp fmt | os >/dev/lps/f
If the user only desires to see the syntax for the command
and not the description, then the "-u" option can be
specified. This causes only the "Usage" section of the
Manual entry to be retrieved for the given command. The
'usage' Subsystem command is a shell file that uses this
option; the user normally does not need to specify it in a
call to 'help'.
_E_x_a_m_p_l_e_s
help
help -g bnf
help e se date time
help -s date -c print
help -i
help -f file string input output
help -p fmt | os >/dev/lps/f
help -u se
help (1) - 2 - help (1)
help (1) --- provide help for users in need 08/27/84
_F_i_l_e_s
=doc=/fman/s1/<command>.d for command documentation
=doc=/fman/s2/<subprogram>.d for subprogram documentation
=doc=/fman/s3/<command>.d for local command documentation
=doc=/fman/s4/<subprogram>.d for local subprogram documenta-
tion
=doc=/fman/s5/<command>.d for low-level command documenta-
tion
=doc=/fman/s6/<subprogram>.d for low-level subprogram
documentation
=doc=/fman/contents for command and subroutine index
=temp=/tm?* for temporary files to store the Reference
Manual entry for paging
_M_e_s_s_a_g_e_s
"Sorry, no help is available for <command>" in case of mis-
sing or unreadable documentation file.
"Can't open index file =doc=/fman/contents" in case index
file is missing or unreadable.
"<pattern>: bad pattern" in case there is a syntax error in
a pattern following a "-f" option.
"cannot create scratch file for help entry" if a file in the
=temp= directory could not be opened to store the help
text for paging.
"cannot close scratch file" if the scratch file in =temp=
could not be closed.
_S_e_e _A_l_s_o
| guide (1), pg (1), usage (1), page (2), _S_o_f_t_w_a_r_e _T_o_o_l_s
_S_u_b_s_y_s_t_e_m _R_e_f_e_r_e_n_c_e _M_a_n_u_a_l
help (1) - 3 - help (1)
|
D
|
module wheel.crypto.rsa;
import core.stdc.stdlib;
import std.string;
import deimos.openssl.rsa;
import deimos.openssl.pem;
import deimos.openssl.err;
ubyte[] rsaEncrypt(const string key, const ubyte[] text)
{
BIO* b = BIO_new_mem_buf(cast(void*)(toStringz(key)), cast(int)(key.length));
if(!b)
return null;
RSA* rsa = PEM_read_bio_RSA_PUBKEY(b, null, null, null);
if(!rsa)
return null;
auto ptr = cast(ubyte*)(malloc(RSA_size(rsa)));
scope(exit)
{
BIO_free(b);
RSA_free(rsa);
free(ptr);
}
return ptr[0..RSA_public_encrypt(cast(int)(text.length), text.ptr, ptr, rsa, RSA_PKCS1_PADDING)].dup;
}
ubyte[] rsaDecrypt(const string key, const ubyte[] cipherText)
{
BIO* b = BIO_new_mem_buf(cast(void*)(toStringz(key)), cast(int)(key.length));
if(!b)
return null;
RSA* rsa = PEM_read_bio_RSAPrivateKey(b, null, null, null);
if(!rsa)
return null;
auto ptr = cast(ubyte*)(malloc(RSA_size(rsa)));
scope(exit)
{
BIO_free(b);
RSA_free(rsa);
free(ptr);
}
return ptr[0..RSA_private_decrypt(cast(int)(cipherText.length), cipherText.ptr, ptr, rsa, RSA_PKCS1_PADDING)].dup;
}
unittest
{
string RSAPrivateKey = "-----BEGIN RSA PRIVATE KEY-----
MIICXAIBAAKBgQC27VbQkfEgxm113jYV3BuBCSK6l+GyEmAfk9ApGhkKgjlAh4Cd
EOHLRd4AcQQIXkxT73i1VimG2C5Vs14bDzwePp5fCsIqjtz0fP+u5eJCeuDffCwQ
Ep3sqz9QXpPh4MN0B0WsTD0Yo4189f0B4jxN2cBnK+ip3G8vBbBPyAqJdQIDAQAB
AoGAA8lYE54AawXYebO1abtCPCf2K/0dWvbbk65sWmbJJRPK1MMJSUGydCdN1V4B
hUfTFiYImQj/zTlX2jEfOKRWgZ5yqioE8Wcq/SykRa5XihU4Osz8LZpTq1vFe/rE
kn8Z6Czp1d5BCN9q47rhrRMwOdjVww1/C56xlST6sXuf/PECQQDo8bMFahnPtuw2
JRkvzkPJl/cImnbCG8xXE2zuyTKy8TgimMIY/pbY+N2OuPAzT0wP8ne4u+VDaSYW
ScWk//2xAkEAyQhQ/yzNf37JdYW2+y7KQtSwzfbrUtDYlU5L1vl7RFPLLF4DPAWS
S/RJRPBCRSUD+niMwNuBs8w94058fWAlBQJASw0Ma7Mqi8TYx/0d50wihQIEIm55
0sJYDLoCf9CtGAAl4OesqZblDRTpdUFain2C+SRatFc9X4GyNr4gArBDkQJAZjIY
GuCHxxyJBXloP+DVaYv+JXY0wvDwaVZYL3y8MUv3qSJRup2KdZpF9Qm+ZrAeiaHm
y9PK58AYZglsN8A8kQJBAIgzdfgBeE41rsEHbo7OeCVsj/L8iB+gDxqKQkKHzH2m
Cb28qaF9vSZzLUkAOFtA8EUE4/EH38xDa/rCrrPv5F4=
-----END RSA PRIVATE KEY-----";
string RSAPublicKey = "-----BEGIN PUBLIC KEY-----
MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQC27VbQkfEgxm113jYV3BuBCSK6
l+GyEmAfk9ApGhkKgjlAh4CdEOHLRd4AcQQIXkxT73i1VimG2C5Vs14bDzwePp5f
CsIqjtz0fP+u5eJCeuDffCwQEp3sqz9QXpPh4MN0B0WsTD0Yo4189f0B4jxN2cBn
K+ip3G8vBbBPyAqJdQIDAQAB
-----END PUBLIC KEY-----";
const ubyte[] text = [ 'h', 'e', 'l', 'l', 'o' ];
import std.algorithm : equal;
auto a = rsaEncrypt(RSAPublicKey, text);
auto b = rsaDecrypt(RSAPrivateKey, a);
assert(equal!((a, b) => a == b)(text, b));
}
|
D
|
United States religious leader who founded the sect that is now called Jehovah's Witnesses (1852-1916)
English film director (born in 1927)
United States basketball center (born in 1934)
United States entertainer remembered for her roles in comic operas (1861-1922)
United States astronomer who developed a theory of stellar evolution (1877-1957)
Irish writer whose pen name was A.E. (1867-1935)
English philosopher and mathematician who collaborated with Whitehead (1872-1970)
|
D
|
// Written in the D programming language.
/**
Source: $(PHOBOSSRC std/experimental/allocator/building_blocks/ascending_page_allocator.d)
*/
module std.experimental.allocator.building_blocks.ascending_page_allocator;
import std.experimental.allocator.common;
// Common implementations for shared and thread local AscendingPageAllocator
private mixin template AscendingPageAllocatorImpl(bool isShared)
{
bool deallocate(void[] buf) nothrow @nogc
{
size_t goodSize = goodAllocSize(buf.length);
version(Posix)
{
import core.sys.posix.sys.mman : mmap, MAP_FAILED, MAP_PRIVATE,
MAP_ANON, MAP_FIXED, PROT_NONE, munmap;
auto ptr = mmap(buf.ptr, goodSize, PROT_NONE, MAP_ANON | MAP_PRIVATE | MAP_FIXED, -1, 0);
if (ptr == MAP_FAILED)
return false;
}
else version(Windows)
{
import core.sys.windows.windows : VirtualFree, MEM_RELEASE, MEM_DECOMMIT;
auto ret = VirtualFree(buf.ptr, goodSize, MEM_DECOMMIT);
if (ret == 0)
return false;
}
else
{
static assert(0, "Unsupported OS");
}
static if (!isShared)
{
pagesUsed -= goodSize / pageSize;
}
return true;
}
Ternary owns(void[] buf) nothrow @nogc
{
if (!data)
return Ternary.no;
return Ternary(buf.ptr >= data && buf.ptr < buf.ptr + numPages * pageSize);
}
bool deallocateAll() nothrow @nogc
{
version(Posix)
{
import core.sys.posix.sys.mman : munmap;
auto ret = munmap(cast(void*) data, numPages * pageSize);
if (ret != 0)
assert(0, "Failed to unmap memory, munmap failure");
}
else version(Windows)
{
import core.sys.windows.windows : VirtualFree, MEM_RELEASE;
auto ret = VirtualFree(cast(void*) data, 0, MEM_RELEASE);
if (ret == 0)
assert(0, "Failed to unmap memory, VirtualFree failure");
}
else
{
static assert(0, "Unsupported OS version");
}
data = null;
offset = null;
return true;
}
size_t goodAllocSize(size_t n) nothrow @nogc
{
return n.roundUpToMultipleOf(cast(uint) pageSize);
}
this(size_t n) nothrow @nogc
{
static if (isShared)
{
lock = SpinLock(SpinLock.Contention.brief);
}
version(Posix)
{
import core.sys.posix.sys.mman : mmap, MAP_ANON, PROT_NONE,
MAP_PRIVATE, MAP_FAILED;
import core.sys.posix.unistd : sysconf, _SC_PAGESIZE;
pageSize = cast(size_t) sysconf(_SC_PAGESIZE);
numPages = n.roundUpToMultipleOf(cast(uint) pageSize) / pageSize;
data = cast(typeof(data)) mmap(null, pageSize * numPages,
PROT_NONE, MAP_ANON | MAP_PRIVATE, -1, 0);
if (data == MAP_FAILED)
assert(0, "Failed to mmap memory");
}
else version(Windows)
{
import core.sys.windows.windows : VirtualAlloc, PAGE_NOACCESS,
MEM_RESERVE, GetSystemInfo, SYSTEM_INFO;
SYSTEM_INFO si;
GetSystemInfo(&si);
pageSize = cast(size_t) si.dwPageSize;
numPages = n.roundUpToMultipleOf(cast(uint) pageSize) / pageSize;
data = cast(typeof(data)) VirtualAlloc(null, pageSize * numPages,
MEM_RESERVE, PAGE_NOACCESS);
if (!data)
assert(0, "Failed to VirtualAlloc memory");
}
else
{
static assert(0, "Unsupported OS version");
}
offset = data;
readWriteLimit = data;
}
size_t getAvailableSize() nothrow @nogc
{
static if (isShared)
{
lock.lock();
}
auto size = numPages * pageSize + data - offset;
static if (isShared)
{
lock.unlock();
}
return size;
}
// Sets the protection of a memory range to read/write
private bool extendMemoryProtection(void* start, size_t size) nothrow @nogc
{
version(Posix)
{
import core.sys.posix.sys.mman : mprotect, PROT_WRITE, PROT_READ;
auto ret = mprotect(start, size, PROT_WRITE | PROT_READ);
return ret == 0;
}
else version(Windows)
{
import core.sys.windows.windows : VirtualAlloc, MEM_COMMIT, PAGE_READWRITE;
auto ret = VirtualAlloc(start, size, MEM_COMMIT, PAGE_READWRITE);
return ret != null;
}
else
{
static assert(0, "Unsupported OS");
}
}
}
/**
`AscendingPageAllocator` is a fast and safe allocator that rounds all allocations
to multiples of the system's page size. It reserves a range of virtual addresses
(using `mmap` on Posix and `VirtualAlloc` on Windows) and allocates memory at consecutive virtual
addresses.
When a chunk of memory is requested, the allocator finds a range of
virtual pages that satisfy the requested size, changing their protection to
read/write using OS primitives (`mprotect` and `VirtualProtect`, respectively).
The physical memory is allocated on demand, when the pages are accessed.
Deallocation removes any read/write permissions from the target pages
and notifies the OS to reclaim the physical memory, while keeping the virtual
memory.
Because the allocator does not reuse memory, any dangling references to
deallocated memory will always result in deterministically crashing the process.
See_Also:
$(HTTPS microsoft.com/en-us/research/wp-content/uploads/2017/03/kedia2017mem.pdf, Simple Fast and Safe Manual Memory Management) for the general approach.
*/
struct AscendingPageAllocator
{
import std.typecons : Ternary;
// Docs for mixin functions
version (StdDdoc)
{
/**
Rounds the mapping size to the next multiple of the page size and calls
the OS primitive responsible for creating memory mappings: `mmap` on POSIX and
`VirtualAlloc` on Windows.
Params:
n = mapping size in bytes
*/
this(size_t n) nothrow @nogc;
/**
Rounds the requested size to the next multiple of the page size.
*/
size_t goodAllocSize(size_t n) nothrow @nogc;
/**
Decommit all physical memory associated with the buffer given as parameter,
but keep the range of virtual addresses.
On POSIX systems `deallocate` calls `mmap` with `MAP_FIXED' a second time to decommit the memory.
On Windows, it uses `VirtualFree` with `MEM_DECOMMIT`.
*/
void deallocate(void[] b) nothrow @nogc;
/**
Returns `Ternary.yes` if the passed buffer is inside the range of virtual adresses.
Does not guarantee that the passed buffer is still valid.
*/
Ternary owns(void[] buf) nothrow @nogc;
/**
Removes the memory mapping causing all physical memory to be decommited and
the virtual address space to be reclaimed.
*/
bool deallocateAll() nothrow @nogc;
/**
Returns the available size for further allocations in bytes.
*/
size_t getAvailableSize() nothrow @nogc;
}
private:
size_t pageSize;
size_t numPages;
// The start of the virtual address range
void* data;
// Keeps track of there the next allocation should start
void* offset;
// Number of pages which contain alive objects
size_t pagesUsed;
// On allocation requests, we allocate an extra 'extraAllocPages' pages
// The address up to which we have permissions is stored in 'readWriteLimit'
void* readWriteLimit;
enum extraAllocPages = 1000;
public:
enum uint alignment = 4096;
// Inject common function implementations
mixin AscendingPageAllocatorImpl!false;
/**
Rounds the allocation size to the next multiple of the page size.
The allocation only reserves a range of virtual pages but the actual
physical memory is allocated on demand, when accessing the memory.
Params:
n = Bytes to allocate
Returns:
`null` on failure or if the requested size exceeds the remaining capacity.
*/
void[] allocate(size_t n) nothrow @nogc
{
import std.algorithm.comparison : min;
immutable pagedBytes = numPages * pageSize;
size_t goodSize = goodAllocSize(n);
// Requested exceeds the virtual memory range
if (goodSize > pagedBytes || offset - data > pagedBytes - goodSize)
return null;
// Current allocation exceeds readable/writable memory area
if (offset + goodSize > readWriteLimit)
{
// Extend r/w memory range to new limit
void* newReadWriteLimit = min(data + pagedBytes,
offset + goodSize + extraAllocPages * pageSize);
if (newReadWriteLimit != readWriteLimit)
{
assert(newReadWriteLimit > readWriteLimit);
if (!extendMemoryProtection(readWriteLimit, newReadWriteLimit - readWriteLimit))
return null;
readWriteLimit = newReadWriteLimit;
}
}
void* result = offset;
offset += goodSize;
pagesUsed += goodSize / pageSize;
return cast(void[]) result[0 .. n];
}
/**
Rounds the allocation size to the next multiple of the page size.
The allocation only reserves a range of virtual pages but the actual
physical memory is allocated on demand, when accessing the memory.
The allocated memory is aligned to the specified alignment `a`.
Params:
n = Bytes to allocate
a = Alignment
Returns:
`null` on failure or if the requested size exceeds the remaining capacity.
*/
void[] alignedAllocate(size_t n, uint a) nothrow @nogc
{
void* alignedStart = cast(void*) roundUpToMultipleOf(cast(size_t) offset, a);
assert(alignedStart.alignedAt(a));
immutable pagedBytes = numPages * pageSize;
size_t goodSize = goodAllocSize(n);
if (goodSize > pagedBytes ||
alignedStart - data > pagedBytes - goodSize)
return null;
// Same logic as allocate, only that the buffer must be properly aligned
auto oldOffset = offset;
offset = alignedStart;
auto result = allocate(n);
if (!result)
offset = oldOffset;
return result;
}
/**
If the passed buffer is not the last allocation, then `delta` can be
at most the number of bytes left on the last page.
Otherwise, we can expand the last allocation until the end of the virtual
address range.
*/
bool expand(ref void[] b, size_t delta) nothrow @nogc
{
import std.algorithm.comparison : min;
if (!delta) return true;
if (b is null) return false;
size_t goodSize = goodAllocSize(b.length);
size_t bytesLeftOnPage = goodSize - b.length;
// If this is not the last allocation, we can only expand until
// completely filling the last page covered by this buffer
if (b.ptr + goodSize != offset && delta > bytesLeftOnPage)
return false;
size_t extraPages = 0;
// If the extra `delta` bytes requested do not fit the last page
// compute how many extra pages are neeeded
if (delta > bytesLeftOnPage)
{
extraPages = goodAllocSize(delta - bytesLeftOnPage) / pageSize;
}
else
{
b = cast(void[]) b.ptr[0 .. b.length + delta];
return true;
}
if (extraPages > numPages || offset - data > pageSize * (numPages - extraPages))
return false;
void* newPtrEnd = b.ptr + goodSize + extraPages * pageSize;
if (newPtrEnd > readWriteLimit)
{
void* newReadWriteLimit = min(data + numPages * pageSize,
newPtrEnd + extraAllocPages * pageSize);
if (newReadWriteLimit > readWriteLimit)
{
if (!extendMemoryProtection(readWriteLimit, newReadWriteLimit - readWriteLimit))
return false;
readWriteLimit = newReadWriteLimit;
}
}
pagesUsed += extraPages;
offset += extraPages * pageSize;
b = cast(void[]) b.ptr[0 .. b.length + delta];
return true;
}
/**
Returns `Ternary.yes` if the allocator does not contain any alive objects
and `Ternary.no` otherwise.
*/
Ternary empty() nothrow @nogc
{
return Ternary(pagesUsed == 0);
}
/**
Unmaps the whole virtual address range on destruction.
*/
~this() nothrow @nogc
{
if (data)
deallocateAll();
}
}
///
@system @nogc nothrow unittest
{
size_t pageSize = 4096;
size_t numPages = 100;
void[] buf;
void[] prevBuf = null;
AscendingPageAllocator a = AscendingPageAllocator(numPages * pageSize);
foreach (i; 0 .. numPages)
{
// Allocation is rounded up to page size
buf = a.allocate(pageSize - 100);
assert(buf.length == pageSize - 100);
// Allocations are served at increasing addresses
if (prevBuf)
assert(prevBuf.ptr + pageSize == buf.ptr);
assert(a.deallocate(buf));
prevBuf = buf;
}
}
/**
`SharedAscendingPageAllocator` is the threadsafe version of `AscendingPageAllocator`.
*/
shared struct SharedAscendingPageAllocator
{
import std.typecons : Ternary;
import core.internal.spinlock : SpinLock;
// Docs for mixin functions
version (StdDdoc)
{
/**
Rounds the mapping size to the next multiple of the page size and calls
the OS primitive responsible for creating memory mappings: `mmap` on POSIX and
`VirtualAlloc` on Windows.
Params:
n = mapping size in bytes
*/
this(size_t n) nothrow @nogc;
/**
Rounds the requested size to the next multiple of the page size.
*/
size_t goodAllocSize(size_t n) nothrow @nogc;
/**
Decommit all physical memory associated with the buffer given as parameter,
but keep the range of virtual addresses.
On POSIX systems `deallocate` calls `mmap` with `MAP_FIXED' a second time to decommit the memory.
On Windows, it uses `VirtualFree` with `MEM_DECOMMIT`.
*/
void deallocate(void[] b) nothrow @nogc;
/**
Returns `Ternary.yes` if the passed buffer is inside the range of virtual adresses.
Does not guarantee that the passed buffer is still valid.
*/
Ternary owns(void[] buf) nothrow @nogc;
/**
Removes the memory mapping causing all physical memory to be decommited and
the virtual address space to be reclaimed.
*/
bool deallocateAll() nothrow @nogc;
/**
Returns the available size for further allocations in bytes.
*/
size_t getAvailableSize() nothrow @nogc;
}
private:
size_t pageSize;
size_t numPages;
// The start of the virtual address range
shared void* data;
// Keeps track of there the next allocation should start
shared void* offset;
// On allocation requests, we allocate an extra 'extraAllocPages' pages
// The address up to which we have permissions is stored in 'readWriteLimit'
shared void* readWriteLimit;
enum extraAllocPages = 1000;
SpinLock lock;
public:
enum uint alignment = 4096;
// Inject common function implementations
mixin AscendingPageAllocatorImpl!true;
/**
Rounds the allocation size to the next multiple of the page size.
The allocation only reserves a range of virtual pages but the actual
physical memory is allocated on demand, when accessing the memory.
Params:
n = Bytes to allocate
Returns:
`null` on failure or if the requested size exceeds the remaining capacity.
*/
void[] allocate(size_t n) nothrow @nogc
{
return allocateImpl(n, 1);
}
/**
Rounds the allocation size to the next multiple of the page size.
The allocation only reserves a range of virtual pages but the actual
physical memory is allocated on demand, when accessing the memory.
The allocated memory is aligned to the specified alignment `a`.
Params:
n = Bytes to allocate
a = Alignment
Returns:
`null` on failure or if the requested size exceeds the remaining capacity.
*/
void[] alignedAllocate(size_t n, uint a) nothrow @nogc
{
// For regular `allocate` calls, `a` will be set to 1
return allocateImpl(n, a);
}
private void[] allocateImpl(size_t n, uint a) nothrow @nogc
{
import std.algorithm.comparison : min;
size_t localExtraAlloc;
void* localOffset;
immutable pagedBytes = numPages * pageSize;
size_t goodSize = goodAllocSize(n);
if (goodSize > pagedBytes)
return null;
lock.lock();
scope(exit) lock.unlock();
localOffset = cast(void*) offset;
void* alignedStart = cast(void*) roundUpToMultipleOf(cast(size_t) localOffset, a);
assert(alignedStart.alignedAt(a));
if (alignedStart - data > pagedBytes - goodSize)
return null;
localOffset = alignedStart + goodSize;
if (localOffset > readWriteLimit)
{
void* newReadWriteLimit = min(cast(void*) data + pagedBytes,
cast(void*) localOffset + extraAllocPages * pageSize);
assert(newReadWriteLimit > readWriteLimit);
localExtraAlloc = newReadWriteLimit - readWriteLimit;
if (!extendMemoryProtection(cast(void*) readWriteLimit, localExtraAlloc))
return null;
readWriteLimit = cast(shared(void*)) newReadWriteLimit;
}
offset = cast(typeof(offset)) localOffset;
return cast(void[]) alignedStart[0 .. n];
}
/**
If the passed buffer is not the last allocation, then `delta` can be
at most the number of bytes left on the last page.
Otherwise, we can expand the last allocation until the end of the virtual
address range.
*/
bool expand(ref void[] b, size_t delta) nothrow @nogc
{
import std.algorithm.comparison : min;
if (!delta) return true;
if (b is null) return false;
void* localOffset;
size_t localExtraAlloc;
size_t goodSize = goodAllocSize(b.length);
size_t bytesLeftOnPage = goodSize - b.length;
if (bytesLeftOnPage >= delta)
{
b = cast(void[]) b.ptr[0 .. b.length + delta];
return true;
}
lock.lock();
scope(exit) lock.unlock();
localOffset = cast(void*) offset;
if (b.ptr + goodSize != localOffset)
return false;
size_t extraPages = goodAllocSize(delta - bytesLeftOnPage) / pageSize;
if (extraPages > numPages || localOffset - data > pageSize * (numPages - extraPages))
return false;
localOffset = b.ptr + goodSize + extraPages * pageSize;
if (localOffset > readWriteLimit)
{
void* newReadWriteLimit = min(cast(void*) data + numPages * pageSize,
localOffset + extraAllocPages * pageSize);
assert(newReadWriteLimit > readWriteLimit);
localExtraAlloc = newReadWriteLimit - readWriteLimit;
if (!extendMemoryProtection(cast(void*) readWriteLimit, localExtraAlloc))
return false;
readWriteLimit = cast(shared(void*)) newReadWriteLimit;
}
offset = cast(typeof(offset)) localOffset;
b = cast(void[]) b.ptr[0 .. b.length + delta];
return true;
}
}
///
@system unittest
{
import core.thread : ThreadGroup;
enum numThreads = 100;
enum pageSize = 4096;
shared SharedAscendingPageAllocator a = SharedAscendingPageAllocator(pageSize * numThreads);
void fun()
{
void[] b = a.allocate(pageSize);
assert(b.length == pageSize);
assert(a.deallocate(b));
}
auto tg = new ThreadGroup;
foreach (i; 0 .. numThreads)
{
tg.create(&fun);
}
tg.joinAll();
}
version(unittest)
{
private static void testrw(void[] b) @nogc nothrow
{
ubyte* buf = cast(ubyte*) b.ptr;
buf[0] = 100;
assert(buf[0] == 100);
buf[b.length - 1] = 101;
assert(buf[b.length - 1] == 101);
}
private static size_t getPageSize() @nogc nothrow
{
size_t pageSize;
version(Posix)
{
import core.sys.posix.unistd : sysconf, _SC_PAGESIZE;
pageSize = cast(size_t) sysconf(_SC_PAGESIZE);
}
else version(Windows)
{
import core.sys.windows.windows : GetSystemInfo, SYSTEM_INFO;
SYSTEM_INFO si;
GetSystemInfo(&si);
pageSize = cast(size_t) si.dwPageSize;
}
return pageSize;
}
}
@system @nogc nothrow unittest
{
static void testAlloc(Allocator)(ref Allocator a) @nogc nothrow
{
size_t pageSize = getPageSize();
void[] b1 = a.allocate(1);
assert(a.getAvailableSize() == 3 * pageSize);
testrw(b1);
void[] b2 = a.allocate(2);
assert(a.getAvailableSize() == 2 * pageSize);
testrw(b2);
void[] b3 = a.allocate(pageSize + 1);
assert(a.getAvailableSize() == 0);
testrw(b3);
assert(b1.length == 1);
assert(b2.length == 2);
assert(b3.length == pageSize + 1);
assert(a.offset - a.data == 4 * pageSize);
void[] b4 = a.allocate(4);
assert(!b4);
a.deallocate(b1);
assert(a.data);
a.deallocate(b2);
assert(a.data);
a.deallocate(b3);
}
size_t pageSize = getPageSize();
AscendingPageAllocator a = AscendingPageAllocator(4 * pageSize);
shared SharedAscendingPageAllocator aa = SharedAscendingPageAllocator(4 * pageSize);
testAlloc(a);
testAlloc(aa);
}
@system @nogc nothrow unittest
{
size_t pageSize = getPageSize();
size_t numPages = 26214;
AscendingPageAllocator a = AscendingPageAllocator(numPages * pageSize);
foreach (i; 0 .. numPages)
{
void[] buf = a.allocate(pageSize);
assert(buf.length == pageSize);
testrw(buf);
a.deallocate(buf);
}
assert(!a.allocate(1));
assert(a.getAvailableSize() == 0);
}
@system @nogc nothrow unittest
{
size_t pageSize = getPageSize();
size_t numPages = 26214;
uint alignment = cast(uint) pageSize;
AscendingPageAllocator a = AscendingPageAllocator(numPages * pageSize);
foreach (i; 0 .. numPages)
{
void[] buf = a.alignedAllocate(pageSize, alignment);
assert(buf.length == pageSize);
testrw(buf);
a.deallocate(buf);
}
assert(!a.allocate(1));
assert(a.getAvailableSize() == 0);
}
@system @nogc nothrow unittest
{
static void testAlloc(Allocator)(ref Allocator a) @nogc nothrow
{
import std.traits : hasMember;
size_t pageSize = getPageSize();
size_t numPages = 5;
uint alignment = cast(uint) pageSize;
void[] b1 = a.allocate(pageSize / 2);
assert(b1.length == pageSize / 2);
void[] b2 = a.alignedAllocate(pageSize / 2, alignment);
assert(a.expand(b1, pageSize / 2));
assert(a.expand(b1, 0));
assert(!a.expand(b1, 1));
testrw(b1);
assert(a.expand(b2, pageSize / 2));
testrw(b2);
assert(b2.length == pageSize);
assert(a.getAvailableSize() == pageSize * 3);
void[] b3 = a.allocate(pageSize / 2);
assert(a.reallocate(b1, b1.length));
assert(a.reallocate(b2, b2.length));
assert(a.reallocate(b3, b3.length));
assert(b3.length == pageSize / 2);
testrw(b3);
assert(a.expand(b3, pageSize / 4));
testrw(b3);
assert(a.expand(b3, 0));
assert(b3.length == pageSize / 2 + pageSize / 4);
assert(a.expand(b3, pageSize / 4 - 1));
testrw(b3);
assert(a.expand(b3, 0));
assert(b3.length == pageSize - 1);
assert(a.expand(b3, 2));
assert(a.expand(b3, 0));
assert(a.getAvailableSize() == pageSize);
assert(b3.length == pageSize + 1);
testrw(b3);
assert(a.reallocate(b1, b1.length));
assert(a.reallocate(b2, b2.length));
assert(a.reallocate(b3, b3.length));
assert(a.reallocate(b3, 2 * pageSize));
testrw(b3);
assert(a.reallocate(b1, pageSize - 1));
testrw(b1);
assert(a.expand(b1, 1));
testrw(b1);
assert(!a.expand(b1, 1));
a.deallocate(b1);
a.deallocate(b2);
a.deallocate(b3);
}
size_t pageSize = getPageSize();
size_t numPages = 5;
uint alignment = cast(uint) pageSize;
AscendingPageAllocator a = AscendingPageAllocator(numPages * pageSize);
shared SharedAscendingPageAllocator aa = SharedAscendingPageAllocator(numPages * pageSize);
testAlloc(a);
testAlloc(aa);
}
@system @nogc nothrow unittest
{
size_t pageSize = getPageSize();
size_t numPages = 21000;
enum testNum = 100;
enum allocPages = 10;
void[][testNum] buf;
AscendingPageAllocator a = AscendingPageAllocator(numPages * pageSize);
for (int i = 0; i < numPages; i += testNum * allocPages)
{
foreach (j; 0 .. testNum)
{
buf[j] = a.allocate(pageSize * allocPages);
testrw(buf[j]);
}
foreach (j; 0 .. testNum)
{
a.deallocate(buf[j]);
}
}
}
@system @nogc nothrow unittest
{
size_t pageSize = getPageSize();
size_t numPages = 21000;
enum testNum = 100;
enum allocPages = 10;
void[][testNum] buf;
shared SharedAscendingPageAllocator a = SharedAscendingPageAllocator(numPages * pageSize);
for (int i = 0; i < numPages; i += testNum * allocPages)
{
foreach (j; 0 .. testNum)
{
buf[j] = a.allocate(pageSize * allocPages);
testrw(buf[j]);
}
foreach (j; 0 .. testNum)
{
a.deallocate(buf[j]);
}
}
}
@system @nogc nothrow unittest
{
size_t pageSize = getPageSize();
enum numPages = 2;
AscendingPageAllocator a = AscendingPageAllocator(numPages * pageSize);
void[] b = a.allocate((numPages + 1) * pageSize);
assert(b is null);
b = a.allocate(1);
assert(b.length == 1);
assert(a.getAvailableSize() == pageSize);
a.deallocateAll();
assert(!a.data && !a.offset);
}
@system @nogc nothrow unittest
{
size_t pageSize = getPageSize();
enum numPages = 26;
AscendingPageAllocator a = AscendingPageAllocator(numPages * pageSize);
uint alignment = cast(uint) ((numPages / 2) * pageSize);
void[] b = a.alignedAllocate(pageSize, alignment);
assert(b.length == pageSize);
testrw(b);
assert(b.ptr.alignedAt(alignment));
a.deallocateAll();
assert(!a.data && !a.offset);
}
@system @nogc nothrow unittest
{
size_t pageSize = getPageSize();
enum numPages = 10;
AscendingPageAllocator a = AscendingPageAllocator(numPages * pageSize);
uint alignment = cast(uint) (2 * pageSize);
void[] b1 = a.alignedAllocate(pageSize, alignment);
assert(b1.length == pageSize);
testrw(b1);
assert(b1.ptr.alignedAt(alignment));
void[] b2 = a.alignedAllocate(pageSize, alignment);
assert(b2.length == pageSize);
testrw(b2);
assert(b2.ptr.alignedAt(alignment));
void[] b3 = a.alignedAllocate(pageSize, alignment);
assert(b3.length == pageSize);
testrw(b3);
assert(b3.ptr.alignedAt(alignment));
void[] b4 = a.allocate(pageSize);
assert(b4.length == pageSize);
testrw(b4);
assert(a.deallocate(b1));
assert(a.deallocate(b2));
assert(a.deallocate(b3));
assert(a.deallocate(b4));
a.deallocateAll();
assert(!a.data && !a.offset);
}
@system unittest
{
import core.thread : ThreadGroup;
import std.algorithm.sorting : sort;
import core.internal.spinlock : SpinLock;
enum numThreads = 100;
SpinLock lock = SpinLock(SpinLock.Contention.brief);
ulong[numThreads] ptrVals;
size_t count = 0;
shared SharedAscendingPageAllocator a = SharedAscendingPageAllocator(4096 * numThreads);
void fun()
{
void[] b = a.allocate(4000);
assert(b.length == 4000);
assert(a.expand(b, 96));
assert(b.length == 4096);
lock.lock();
ptrVals[count] = cast(ulong) b.ptr;
count++;
lock.unlock();
}
auto tg = new ThreadGroup;
foreach (i; 0 .. numThreads)
{
tg.create(&fun);
}
tg.joinAll();
ptrVals[].sort();
foreach (i; 0 .. numThreads - 1)
{
assert(ptrVals[i] + 4096 == ptrVals[i + 1]);
}
}
@system unittest
{
import core.thread : ThreadGroup;
import std.algorithm.sorting : sort;
import core.internal.spinlock : SpinLock;
SpinLock lock = SpinLock(SpinLock.Contention.brief);
enum numThreads = 100;
void[][numThreads] buf;
size_t count = 0;
shared SharedAscendingPageAllocator a = SharedAscendingPageAllocator(2 * 4096 * numThreads);
void fun()
{
void[] b = a.allocate(4000);
assert(b.length == 4000);
assert(a.expand(b, 96));
assert(b.length == 4096);
a.expand(b, 4096);
assert(b.length == 4096 || b.length == 8192);
lock.lock();
buf[count] = b;
count++;
lock.unlock();
}
auto tg = new ThreadGroup;
foreach (i; 0 .. numThreads)
{
tg.create(&fun);
}
tg.joinAll();
sort!((a, b) => a.ptr < b.ptr)(buf[0 .. 100]);
foreach (i; 0 .. numThreads - 1)
{
assert(buf[i].ptr + buf[i].length == buf[i + 1].ptr);
}
}
|
D
|
module gtkD.gstreamer.TagSetter;
public import gtkD.gstreamerc.gstreamertypes;
private import gtkD.gstreamerc.gstreamer;
private import gtkD.glib.ConstructionException;
private import gtkD.glib.Str;
private import gtkD.gstreamer.TagList;
/**
* Description
* Element interface that allows setting of media metadata.
* Elements that support changing a stream's metadata will implement this
* interface. Examples of such elements are 'vorbisenc', 'theoraenc' and
* 'id3v2mux'.
* If you just want to retrieve metadata in your application then all you
* need to do is watch for tag messages on your pipeline's bus. This
* interface is only for setting metadata, not for extracting it. To set tags
* from the application, find tagsetter elements and set tags using e.g.
* gst_tag_setter_merge_tags() or gst_tag_setter_add_tags(). The application
* should do that before the element goes to GST_STATE_PAUSED.
* Elements implementing the GstTagSetter interface often have to merge
* any tags received from upstream and the tags set by the application via
* the interface. This can be done like this:
* GstTagMergeMode merge_mode;
* const GstTagList *application_tags;
* const GstTagList *event_tags;
* GstTagSetter *tagsetter;
* GstTagList *result;
* tagsetter = GST_TAG_SETTER (element);
* merge_mode = gst_tag_setter_get_tag_merge_mode (tagsetter);
* tagsetter_tags = gst_tag_setter_get_tag_list (tagsetter);
* event_tags = (const GstTagList *) element->event_tags;
* GST_LOG_OBJECT (tagsetter, "merging tags, merge mode = d", merge_mode);
* GST_LOG_OBJECT (tagsetter, "event tags: %" GST_PTR_FORMAT, event_tags);
* GST_LOG_OBJECT (tagsetter, "set tags: %" GST_PTR_FORMAT, application_tags);
* result = gst_tag_list_merge (application_tags, event_tags, merge_mode);
* GST_LOG_OBJECT (tagsetter, "final tags: %" GST_PTR_FORMAT, result);
* Last reviewed on 2006-05-18 (0.10.6)
*/
public class TagSetter
{
/** the main Gtk struct */
protected GstTagSetter* gstTagSetter;
public GstTagSetter* getTagSetterStruct();
/** the main Gtk struct as a void* */
protected void* getStruct();
/**
* Sets our main struct and passes it to the parent class
*/
public this (GstTagSetter* gstTagSetter);
/**
*/
/**
* Merges the given list into the setter's list using the given mode.
* Params:
* list = a tag list to merge from
* mode = the mode to merge with
*/
public void mergeTags(TagList list, GstTagMergeMode mode);
/**
* Adds the given tag / value pairs on the setter using the given merge mode.
* The list must be terminated with NULL.
* Params:
* mode = the mode to use
* tag = tag to set
* varArgs = tag / value pairs to set
*/
public void addTagValist(GstTagMergeMode mode, string tag, void* varArgs);
/**
* Adds the given tag / GValue pairs on the setter using the given merge mode.
* The list must be terminated with NULL.
* Params:
* mode = the mode to use
* tag = tag to set
* varArgs = tag / GValue pairs to set
*/
public void addTagValistValues(GstTagMergeMode mode, string tag, void* varArgs);
/**
* Returns the current list of tags the setter uses. The list should not be
* modified or freed.
* Returns: a current snapshot of the taglist used in the setter or NULL if none is used.
*/
public TagList getTagList();
/**
* Sets the given merge mode that is used for adding tags from events to tags
* specified by this interface. The default is GST_TAG_MERGE_KEEP, which keeps
* the tags set with this interface and discards tags from events.
* Params:
* mode = The mode with which tags are added
*/
public void setTagMergeMode(GstTagMergeMode mode);
/**
* Queries the mode by which tags inside the setter are overwritten by tags
* from events
* Returns: the merge mode used inside the element.
*/
public GstTagMergeMode getTagMergeMode();
}
|
D
|
module android.java.javax.crypto.NoSuchPaddingException_d_interface;
import arsd.jni : IJavaObjectImplementation, JavaPackageId, JavaName, IJavaObject, ImportExportImpl, JavaInterfaceMembers;
static import arsd.jni;
import import1 = android.java.java.io.PrintStream_d_interface;
import import4 = android.java.java.lang.Class_d_interface;
import import3 = android.java.java.lang.StackTraceElement_d_interface;
import import2 = android.java.java.io.PrintWriter_d_interface;
import import0 = android.java.java.lang.JavaThrowable_d_interface;
final class NoSuchPaddingException : IJavaObject {
static immutable string[] _d_canCastTo = [
];
@Import this(arsd.jni.Default);
@Import this(string);
@Import string getMessage();
@Import string getLocalizedMessage();
@Import import0.JavaThrowable getCause();
@Import import0.JavaThrowable initCause(import0.JavaThrowable);
@Import @JavaName("toString") string toString_();
override string toString() { return arsd.jni.javaObjectToString(this); }
@Import void printStackTrace();
@Import void printStackTrace(import1.PrintStream);
@Import void printStackTrace(import2.PrintWriter);
@Import import0.JavaThrowable fillInStackTrace();
@Import import3.StackTraceElement[] getStackTrace();
@Import void setStackTrace(import3.StackTraceElement[]);
@Import void addSuppressed(import0.JavaThrowable);
@Import import0.JavaThrowable[] getSuppressed();
@Import import4.Class getClass();
@Import int hashCode();
@Import bool equals(IJavaObject);
@Import void notify();
@Import void notifyAll();
@Import void wait(long);
@Import void wait(long, int);
@Import void wait();
mixin IJavaObjectImplementation!(false);
public static immutable string _javaParameterString = "Ljavax/crypto/NoSuchPaddingException;";
}
|
D
|
/**
* Compiler implementation of the
* $(LINK2 http://www.dlang.org, D programming language).
*
* Copyright: Copyright (C) 1999-2018 by The D Language Foundation, All Rights Reserved
* Authors: $(LINK2 http://www.digitalmars.com, Walter Bright)
* License: $(LINK2 http://www.boost.org/LICENSE_1_0.txt, Boost License 1.0)
* Source: $(LINK2 https://github.com/dlang/dmd/blob/master/src/dmd/dsymbolsem.d, _dsymbolsem.d)
* Documentation: https://dlang.org/phobos/dmd_dsymbolsem.html
* Coverage: https://codecov.io/gh/dlang/dmd/src/master/src/dmd/dsymbolsem.d
*/
module dmd.dsymbolsem;
import core.stdc.stdio;
import core.stdc.string;
import dmd.aggregate;
import dmd.aliasthis;
import dmd.arraytypes;
import dmd.astcodegen;
import dmd.attrib;
import dmd.blockexit;
import dmd.clone;
import dmd.dcast;
import dmd.dclass;
import dmd.declaration;
import dmd.denum;
import dmd.dimport;
import dmd.dinterpret;
import dmd.dmodule;
import dmd.dscope;
import dmd.dstruct;
import dmd.dsymbol;
import dmd.dtemplate;
import dmd.dversion;
import dmd.errors;
import dmd.escape;
import dmd.expression;
import dmd.expressionsem;
import dmd.func;
import dmd.globals;
import dmd.id;
import dmd.identifier;
import dmd.init;
import dmd.initsem;
import dmd.hdrgen;
import dmd.mars;
import dmd.mtype;
import dmd.nogc;
import dmd.nspace;
import dmd.objc;
import dmd.opover;
import dmd.parse;
import dmd.root.filename;
import dmd.root.outbuffer;
import dmd.root.rmem;
import dmd.root.rootobject;
import dmd.semantic2;
import dmd.semantic3;
import dmd.sideeffect;
import dmd.statementsem;
import dmd.staticassert;
import dmd.tokens;
import dmd.utf;
import dmd.utils;
import dmd.statement;
import dmd.target;
import dmd.templateparamsem;
import dmd.typesem;
import dmd.visitor;
enum LOG = false;
/*****************************************
* Create inclusive postblit for struct by aggregating
* all the postblits in postblits[] with the postblits for
* all the members.
* Note the close similarity with AggregateDeclaration::buildDtor(),
* and the ordering changes (runs forward instead of backwards).
*/
private extern (C++) FuncDeclaration buildPostBlit(StructDeclaration sd, Scope* sc)
{
//printf("StructDeclaration::buildPostBlit() %s\n", sd.toChars());
if (sd.isUnionDeclaration())
return null;
// by default, the storage class of the created postblit
StorageClass stc = STC.safe | STC.nothrow_ | STC.pure_ | STC.nogc;
Loc declLoc = sd.postblits.dim ? sd.postblits[0].loc : sd.loc;
Loc loc; // internal code should have no loc to prevent coverage
// if any of the postblits are disabled, then the generated postblit
// will be disabled
for (size_t i = 0; i < sd.postblits.dim; i++)
{
stc |= sd.postblits[i].storage_class & STC.disable;
}
auto postblitCalls = new Statements();
// iterate through all the struct fields that are not disabled
for (size_t i = 0; i < sd.fields.dim && !(stc & STC.disable); i++)
{
auto structField = sd.fields[i];
if (structField.storage_class & STC.ref_)
continue;
if (structField.overlapped)
continue;
// if it's a struct declaration or an array of structs
Type tv = structField.type.baseElemOf();
if (tv.ty != Tstruct)
continue;
auto sdv = (cast(TypeStruct)tv).sym;
// which has a postblit declaration
if (!sdv.postblit)
continue;
assert(!sdv.isUnionDeclaration());
// perform semantic on the member postblit in order to
// be able to aggregate it later on with the rest of the
// postblits
sdv.postblit.functionSemantic();
stc = mergeFuncAttrs(stc, sdv.postblit);
stc = mergeFuncAttrs(stc, sdv.dtor);
// if any of the struct member fields has disabled
// its postblit, then `sd` is not copyable, so no
// postblit is generated
if (stc & STC.disable)
{
postblitCalls.setDim(0);
break;
}
Expression ex;
tv = structField.type.toBasetype();
if (tv.ty == Tstruct)
{
// this.v.__xpostblit()
ex = new ThisExp(loc);
ex = new DotVarExp(loc, ex, structField);
// This is a hack so we can call postblits on const/immutable objects.
ex = new AddrExp(loc, ex);
ex = new CastExp(loc, ex, structField.type.mutableOf().pointerTo());
ex = new PtrExp(loc, ex);
if (stc & STC.safe)
stc = (stc & ~STC.safe) | STC.trusted;
ex = new DotVarExp(loc, ex, sdv.postblit, false);
ex = new CallExp(loc, ex);
}
else
{
// _ArrayPostblit((cast(S*)this.v.ptr)[0 .. n])
uinteger_t length = 1;
while (tv.ty == Tsarray)
{
length *= (cast(TypeSArray)tv).dim.toUInteger();
tv = tv.nextOf().toBasetype();
}
if (length == 0)
continue;
ex = new ThisExp(loc);
ex = new DotVarExp(loc, ex, structField);
// This is a hack so we can call postblits on const/immutable objects.
ex = new DotIdExp(loc, ex, Id.ptr);
ex = new CastExp(loc, ex, sdv.type.pointerTo());
if (stc & STC.safe)
stc = (stc & ~STC.safe) | STC.trusted;
ex = new SliceExp(loc, ex, new IntegerExp(loc, 0, Type.tsize_t),
new IntegerExp(loc, length, Type.tsize_t));
// Prevent redundant bounds check
(cast(SliceExp)ex).upperIsInBounds = true;
(cast(SliceExp)ex).lowerIsLessThanUpper = true;
ex = new CallExp(loc, new IdentifierExp(loc, Id._ArrayPostblit), ex);
}
postblitCalls.push(new ExpStatement(loc, ex)); // combine in forward order
/* https://issues.dlang.org/show_bug.cgi?id=10972
* When the following field postblit calls fail,
* this field should be destructed for Exception Safety.
*/
if (!sdv.dtor)
continue;
sdv.dtor.functionSemantic();
tv = structField.type.toBasetype();
if (tv.ty == Tstruct)
{
// this.v.__xdtor()
ex = new ThisExp(loc);
ex = new DotVarExp(loc, ex, structField);
// This is a hack so we can call destructors on const/immutable objects.
ex = new AddrExp(loc, ex);
ex = new CastExp(loc, ex, structField.type.mutableOf().pointerTo());
ex = new PtrExp(loc, ex);
if (stc & STC.safe)
stc = (stc & ~STC.safe) | STC.trusted;
ex = new DotVarExp(loc, ex, sdv.dtor, false);
ex = new CallExp(loc, ex);
}
else
{
// _ArrayDtor((cast(S*)this.v.ptr)[0 .. n])
uinteger_t length = 1;
while (tv.ty == Tsarray)
{
length *= (cast(TypeSArray)tv).dim.toUInteger();
tv = tv.nextOf().toBasetype();
}
//if (n == 0)
// continue;
ex = new ThisExp(loc);
ex = new DotVarExp(loc, ex, structField);
// This is a hack so we can call destructors on const/immutable objects.
ex = new DotIdExp(loc, ex, Id.ptr);
ex = new CastExp(loc, ex, sdv.type.pointerTo());
if (stc & STC.safe)
stc = (stc & ~STC.safe) | STC.trusted;
ex = new SliceExp(loc, ex, new IntegerExp(loc, 0, Type.tsize_t),
new IntegerExp(loc, length, Type.tsize_t));
// Prevent redundant bounds check
(cast(SliceExp)ex).upperIsInBounds = true;
(cast(SliceExp)ex).lowerIsLessThanUpper = true;
ex = new CallExp(loc, new IdentifierExp(loc, Id._ArrayDtor), ex);
}
postblitCalls.push(new OnScopeStatement(loc, TOK.onScopeFailure, new ExpStatement(loc, ex)));
}
// Build our own "postblit" which executes a, but only if needed.
if (postblitCalls.dim || (stc & STC.disable))
{
//printf("Building __fieldPostBlit()\n");
auto dd = new PostBlitDeclaration(declLoc, Loc.initial, stc, Id.__fieldPostblit);
dd.generated = true;
dd.storage_class |= STC.inference;
dd.fbody = (stc & STC.disable) ? null : new CompoundStatement(loc, postblitCalls);
sd.postblits.shift(dd);
sd.members.push(dd);
dd.dsymbolSemantic(sc);
}
// create __xpostblit, which is the generated postblit
FuncDeclaration xpostblit = null;
switch (sd.postblits.dim)
{
case 0:
break;
case 1:
xpostblit = sd.postblits[0];
break;
default:
Expression e = null;
stc = STC.safe | STC.nothrow_ | STC.pure_ | STC.nogc;
for (size_t i = 0; i < sd.postblits.dim; i++)
{
auto fd = sd.postblits[i];
stc = mergeFuncAttrs(stc, fd);
if (stc & STC.disable)
{
e = null;
break;
}
Expression ex = new ThisExp(loc);
ex = new DotVarExp(loc, ex, fd, false);
ex = new CallExp(loc, ex);
e = Expression.combine(e, ex);
}
auto dd = new PostBlitDeclaration(declLoc, Loc.initial, stc, Id.__aggrPostblit);
dd.generated = true;
dd.storage_class |= STC.inference;
dd.fbody = new ExpStatement(loc, e);
sd.members.push(dd);
dd.dsymbolSemantic(sc);
xpostblit = dd;
break;
}
// Add an __xpostblit alias to make the inclusive postblit accessible
if (xpostblit)
{
auto _alias = new AliasDeclaration(Loc.initial, Id.__xpostblit, xpostblit);
_alias.dsymbolSemantic(sc);
sd.members.push(_alias);
_alias.addMember(sc, sd); // add to symbol table
}
return xpostblit;
}
private uint setMangleOverride(Dsymbol s, char* sym)
{
AttribDeclaration ad = s.isAttribDeclaration();
if (ad)
{
Dsymbols* decls = ad.include(null);
uint nestedCount = 0;
if (decls && decls.dim)
for (size_t i = 0; i < decls.dim; ++i)
nestedCount += setMangleOverride((*decls)[i], sym);
return nestedCount;
}
else if (s.isFuncDeclaration() || s.isVarDeclaration())
{
s.isDeclaration().mangleOverride = sym;
return 1;
}
else
return 0;
}
/*************************************
* Does semantic analysis on the public face of declarations.
*/
extern(C++) void dsymbolSemantic(Dsymbol dsym, Scope* sc)
{
scope v = new DsymbolSemanticVisitor(sc);
dsym.accept(v);
}
structalign_t getAlignment(AlignDeclaration ad, Scope* sc)
{
if (ad.salign != ad.UNKNOWN)
return ad.salign;
if (!ad.ealign)
return ad.salign = STRUCTALIGN_DEFAULT;
sc = sc.startCTFE();
ad.ealign = ad.ealign.expressionSemantic(sc);
ad.ealign = resolveProperties(sc, ad.ealign);
sc = sc.endCTFE();
ad.ealign = ad.ealign.ctfeInterpret();
if (ad.ealign.op == TOK.error)
return ad.salign = STRUCTALIGN_DEFAULT;
Type tb = ad.ealign.type.toBasetype();
auto n = ad.ealign.toInteger();
if (n < 1 || n & (n - 1) || structalign_t.max < n || !tb.isintegral())
{
error(ad.loc, "alignment must be an integer positive power of 2, not %s", ad.ealign.toChars());
return ad.salign = STRUCTALIGN_DEFAULT;
}
return ad.salign = cast(structalign_t)n;
}
const(char)* getMessage(DeprecatedDeclaration dd)
{
if (auto sc = dd._scope)
{
dd._scope = null;
sc = sc.startCTFE();
dd.msg = dd.msg.expressionSemantic(sc);
dd.msg = resolveProperties(sc, dd.msg);
sc = sc.endCTFE();
dd.msg = dd.msg.ctfeInterpret();
if (auto se = dd.msg.toStringExp())
dd.msgstr = se.toStringz().ptr;
else
dd.msg.error("compile time constant expected, not `%s`", dd.msg.toChars());
}
return dd.msgstr;
}
// Returns true if a contract can appear without a function body.
package bool allowsContractWithoutBody(FuncDeclaration funcdecl)
{
assert(!funcdecl.fbody);
/* Contracts can only appear without a body when they are virtual
* interface functions or abstract.
*/
Dsymbol parent = funcdecl.toParent();
InterfaceDeclaration id = parent.isInterfaceDeclaration();
if (!funcdecl.isAbstract() &&
(funcdecl.fensure || funcdecl.frequire) &&
!(id && funcdecl.isVirtual()))
{
auto cd = parent.isClassDeclaration();
if (!(cd && cd.isAbstract()))
return false;
}
return true;
}
private extern(C++) final class DsymbolSemanticVisitor : Visitor
{
alias visit = Visitor.visit;
Scope* sc;
this(Scope* sc)
{
this.sc = sc;
}
override void visit(Dsymbol dsym)
{
dsym.error("%p has no semantic routine", dsym);
}
override void visit(ScopeDsymbol) { }
override void visit(Declaration) { }
override void visit(AliasThis dsym)
{
if (dsym.semanticRun != PASS.init)
return;
if (dsym._scope)
{
sc = dsym._scope;
dsym._scope = null;
}
if (!sc)
return;
dsym.semanticRun = PASS.semantic;
Dsymbol p = sc.parent.pastMixin();
AggregateDeclaration ad = p.isAggregateDeclaration();
if (!ad)
{
error(dsym.loc, "alias this can only be a member of aggregate, not %s `%s`", p.kind(), p.toChars());
return;
}
assert(ad.members);
Dsymbol s = ad.search(dsym.loc, dsym.ident);
if (!s)
{
s = sc.search(dsym.loc, dsym.ident, null);
if (s)
error(dsym.loc, "`%s` is not a member of `%s`", s.toChars(), ad.toChars());
else
error(dsym.loc, "undefined identifier `%s`", dsym.ident.toChars());
return;
}
if (ad.aliasthis && s != ad.aliasthis)
{
error(dsym.loc, "there can be only one alias this");
return;
}
/* disable the alias this conversion so the implicit conversion check
* doesn't use it.
*/
ad.aliasthis = null;
Dsymbol sx = s;
if (sx.isAliasDeclaration())
sx = sx.toAlias();
Declaration d = sx.isDeclaration();
if (d && !d.isTupleDeclaration())
{
/* https://issues.dlang.org/show_bug.cgi?id=18429
*
* If the identifier in the AliasThis declaration
* is defined later and is a voldemort type, we must
* perform semantic on the declaration to deduce the type.
*/
if (!d.type)
d.dsymbolSemantic(sc);
Type t = d.type;
assert(t);
if (ad.type.implicitConvTo(t) > MATCH.nomatch)
{
error(dsym.loc, "alias this is not reachable as `%s` already converts to `%s`", ad.toChars(), t.toChars());
}
}
ad.aliasthis = s;
dsym.semanticRun = PASS.semanticdone;
}
override void visit(AliasDeclaration dsym)
{
if (dsym.semanticRun >= PASS.semanticdone)
return;
assert(dsym.semanticRun <= PASS.semantic);
dsym.storage_class |= sc.stc & STC.deprecated_;
dsym.protection = sc.protection;
dsym.userAttribDecl = sc.userAttribDecl;
if (!sc.func && dsym.inNonRoot())
return;
aliasSemantic(dsym, sc);
}
override void visit(VarDeclaration dsym)
{
version (none)
{
printf("VarDeclaration::semantic('%s', parent = '%s') sem = %d\n", toChars(), sc.parent ? sc.parent.toChars() : null, sem);
printf(" type = %s\n", type ? type.toChars() : "null");
printf(" stc = x%x\n", sc.stc);
printf(" storage_class = x%llx\n", storage_class);
printf("linkage = %d\n", sc.linkage);
//if (strcmp(toChars(), "mul") == 0) assert(0);
}
//if (semanticRun > PASS.init)
// return;
//semanticRun = PSSsemantic;
if (dsym.semanticRun >= PASS.semanticdone)
return;
Scope* scx = null;
if (dsym._scope)
{
sc = dsym._scope;
scx = sc;
dsym._scope = null;
}
if (!sc)
return;
dsym.semanticRun = PASS.semantic;
/* Pick up storage classes from context, but except synchronized,
* override, abstract, and final.
*/
dsym.storage_class |= (sc.stc & ~(STC.synchronized_ | STC.override_ | STC.abstract_ | STC.final_));
if (dsym.storage_class & STC.extern_ && dsym._init)
dsym.error("extern symbols cannot have initializers");
dsym.userAttribDecl = sc.userAttribDecl;
AggregateDeclaration ad = dsym.isThis();
if (ad)
dsym.storage_class |= ad.storage_class & STC.TYPECTOR;
/* If auto type inference, do the inference
*/
int inferred = 0;
if (!dsym.type)
{
dsym.inuse++;
// Infering the type requires running semantic,
// so mark the scope as ctfe if required
bool needctfe = (dsym.storage_class & (STC.manifest | STC.static_)) != 0;
if (needctfe)
sc = sc.startCTFE();
//printf("inferring type for %s with init %s\n", toChars(), _init.toChars());
dsym._init = dsym._init.inferType(sc);
dsym.type = dsym._init.initializerToExpression().type;
if (needctfe)
sc = sc.endCTFE();
dsym.inuse--;
inferred = 1;
/* This is a kludge to support the existing syntax for RAII
* declarations.
*/
dsym.storage_class &= ~STC.auto_;
dsym.originalType = dsym.type.syntaxCopy();
}
else
{
if (!dsym.originalType)
dsym.originalType = dsym.type.syntaxCopy();
/* Prefix function attributes of variable declaration can affect
* its type:
* pure nothrow void function() fp;
* static assert(is(typeof(fp) == void function() pure nothrow));
*/
Scope* sc2 = sc.push();
sc2.stc |= (dsym.storage_class & STC.FUNCATTR);
dsym.inuse++;
dsym.type = dsym.type.typeSemantic(dsym.loc, sc2);
dsym.inuse--;
sc2.pop();
}
//printf(" semantic type = %s\n", type ? type.toChars() : "null");
if (dsym.type.ty == Terror)
dsym.errors = true;
dsym.type.checkDeprecated(dsym.loc, sc);
dsym.linkage = sc.linkage;
dsym.parent = sc.parent;
//printf("this = %p, parent = %p, '%s'\n", this, parent, parent.toChars());
dsym.protection = sc.protection;
/* If scope's alignment is the default, use the type's alignment,
* otherwise the scope overrrides.
*/
dsym.alignment = sc.alignment();
if (dsym.alignment == STRUCTALIGN_DEFAULT)
dsym.alignment = dsym.type.alignment(); // use type's alignment
//printf("sc.stc = %x\n", sc.stc);
//printf("storage_class = x%x\n", storage_class);
if (global.params.vcomplex)
dsym.type.checkComplexTransition(dsym.loc, sc);
// Calculate type size + safety checks
if (sc.func && !sc.intypeof)
{
if (dsym.storage_class & STC.gshared && !dsym.isMember())
{
if (sc.func.setUnsafe())
dsym.error("__gshared not allowed in safe functions; use shared");
}
}
Dsymbol parent = dsym.toParent();
Type tb = dsym.type.toBasetype();
Type tbn = tb.baseElemOf();
if (tb.ty == Tvoid && !(dsym.storage_class & STC.lazy_))
{
if (inferred)
{
dsym.error("type `%s` is inferred from initializer `%s`, and variables cannot be of type `void`", dsym.type.toChars(), dsym._init.toChars());
}
else
dsym.error("variables cannot be of type `void`");
dsym.type = Type.terror;
tb = dsym.type;
}
if (tb.ty == Tfunction)
{
dsym.error("cannot be declared to be a function");
dsym.type = Type.terror;
tb = dsym.type;
}
if (tb.ty == Tstruct)
{
TypeStruct ts = cast(TypeStruct)tb;
if (!ts.sym.members)
{
dsym.error("no definition of struct `%s`", ts.toChars());
}
}
if ((dsym.storage_class & STC.auto_) && !inferred)
dsym.error("storage class `auto` has no effect if type is not inferred, did you mean `scope`?");
if (tb.ty == Ttuple)
{
/* Instead, declare variables for each of the tuple elements
* and add those.
*/
TypeTuple tt = cast(TypeTuple)tb;
size_t nelems = Parameter.dim(tt.arguments);
Expression ie = (dsym._init && !dsym._init.isVoidInitializer()) ? dsym._init.initializerToExpression() : null;
if (ie)
ie = ie.expressionSemantic(sc);
if (nelems > 0 && ie)
{
auto iexps = new Expressions();
iexps.push(ie);
auto exps = new Expressions();
for (size_t pos = 0; pos < iexps.dim; pos++)
{
Lexpand1:
Expression e = (*iexps)[pos];
Parameter arg = Parameter.getNth(tt.arguments, pos);
arg.type = arg.type.typeSemantic(dsym.loc, sc);
//printf("[%d] iexps.dim = %d, ", pos, iexps.dim);
//printf("e = (%s %s, %s), ", Token::tochars[e.op], e.toChars(), e.type.toChars());
//printf("arg = (%s, %s)\n", arg.toChars(), arg.type.toChars());
if (e != ie)
{
if (iexps.dim > nelems)
goto Lnomatch;
if (e.type.implicitConvTo(arg.type))
continue;
}
if (e.op == TOK.tuple)
{
TupleExp te = cast(TupleExp)e;
if (iexps.dim - 1 + te.exps.dim > nelems)
goto Lnomatch;
iexps.remove(pos);
iexps.insert(pos, te.exps);
(*iexps)[pos] = Expression.combine(te.e0, (*iexps)[pos]);
goto Lexpand1;
}
else if (isAliasThisTuple(e))
{
auto v = copyToTemp(0, "__tup", e);
v.dsymbolSemantic(sc);
auto ve = new VarExp(dsym.loc, v);
ve.type = e.type;
exps.setDim(1);
(*exps)[0] = ve;
expandAliasThisTuples(exps, 0);
for (size_t u = 0; u < exps.dim; u++)
{
Lexpand2:
Expression ee = (*exps)[u];
arg = Parameter.getNth(tt.arguments, pos + u);
arg.type = arg.type.typeSemantic(dsym.loc, sc);
//printf("[%d+%d] exps.dim = %d, ", pos, u, exps.dim);
//printf("ee = (%s %s, %s), ", Token::tochars[ee.op], ee.toChars(), ee.type.toChars());
//printf("arg = (%s, %s)\n", arg.toChars(), arg.type.toChars());
size_t iexps_dim = iexps.dim - 1 + exps.dim;
if (iexps_dim > nelems)
goto Lnomatch;
if (ee.type.implicitConvTo(arg.type))
continue;
if (expandAliasThisTuples(exps, u) != -1)
goto Lexpand2;
}
if ((*exps)[0] != ve)
{
Expression e0 = (*exps)[0];
(*exps)[0] = new CommaExp(dsym.loc, new DeclarationExp(dsym.loc, v), e0);
(*exps)[0].type = e0.type;
iexps.remove(pos);
iexps.insert(pos, exps);
goto Lexpand1;
}
}
}
if (iexps.dim < nelems)
goto Lnomatch;
ie = new TupleExp(dsym._init.loc, iexps);
}
Lnomatch:
if (ie && ie.op == TOK.tuple)
{
TupleExp te = cast(TupleExp)ie;
size_t tedim = te.exps.dim;
if (tedim != nelems)
{
error(dsym.loc, "tuple of %d elements cannot be assigned to tuple of %d elements", cast(int)tedim, cast(int)nelems);
for (size_t u = tedim; u < nelems; u++) // fill dummy expression
te.exps.push(new ErrorExp());
}
}
auto exps = new Objects();
exps.setDim(nelems);
for (size_t i = 0; i < nelems; i++)
{
Parameter arg = Parameter.getNth(tt.arguments, i);
OutBuffer buf;
buf.printf("__%s_field_%llu", dsym.ident.toChars(), cast(ulong)i);
auto id = Identifier.idPool(buf.peekSlice());
Initializer ti;
if (ie)
{
Expression einit = ie;
if (ie.op == TOK.tuple)
{
TupleExp te = cast(TupleExp)ie;
einit = (*te.exps)[i];
if (i == 0)
einit = Expression.combine(te.e0, einit);
}
ti = new ExpInitializer(einit.loc, einit);
}
else
ti = dsym._init ? dsym._init.syntaxCopy() : null;
StorageClass storage_class = STC.temp | dsym.storage_class;
if (arg.storageClass & STC.parameter)
storage_class |= arg.storageClass;
auto v = new VarDeclaration(dsym.loc, arg.type, id, ti, storage_class);
//printf("declaring field %s of type %s\n", v.toChars(), v.type.toChars());
v.dsymbolSemantic(sc);
if (sc.scopesym)
{
//printf("adding %s to %s\n", v.toChars(), sc.scopesym.toChars());
if (sc.scopesym.members)
// Note this prevents using foreach() over members, because the limits can change
sc.scopesym.members.push(v);
}
Expression e = new DsymbolExp(dsym.loc, v);
(*exps)[i] = e;
}
auto v2 = new TupleDeclaration(dsym.loc, dsym.ident, exps);
v2.parent = dsym.parent;
v2.isexp = true;
dsym.aliassym = v2;
dsym.semanticRun = PASS.semanticdone;
return;
}
/* Storage class can modify the type
*/
dsym.type = dsym.type.addStorageClass(dsym.storage_class);
/* Adjust storage class to reflect type
*/
if (dsym.type.isConst())
{
dsym.storage_class |= STC.const_;
if (dsym.type.isShared())
dsym.storage_class |= STC.shared_;
}
else if (dsym.type.isImmutable())
dsym.storage_class |= STC.immutable_;
else if (dsym.type.isShared())
dsym.storage_class |= STC.shared_;
else if (dsym.type.isWild())
dsym.storage_class |= STC.wild;
if (StorageClass stc = dsym.storage_class & (STC.synchronized_ | STC.override_ | STC.abstract_ | STC.final_))
{
if (stc == STC.final_)
dsym.error("cannot be `final`, perhaps you meant `const`?");
else
{
OutBuffer buf;
stcToBuffer(&buf, stc);
dsym.error("cannot be `%s`", buf.peekString());
}
dsym.storage_class &= ~stc; // strip off
}
if (dsym.storage_class & STC.scope_)
{
StorageClass stc = dsym.storage_class & (STC.static_ | STC.extern_ | STC.manifest | STC.tls | STC.gshared);
if (stc)
{
OutBuffer buf;
stcToBuffer(&buf, stc);
dsym.error("cannot be `scope` and `%s`", buf.peekString());
}
else if (dsym.isMember())
{
dsym.error("field cannot be `scope`");
}
else if (!dsym.type.hasPointers())
{
dsym.storage_class &= ~STC.scope_; // silently ignore; may occur in generic code
}
}
if (dsym.storage_class & (STC.static_ | STC.extern_ | STC.manifest | STC.templateparameter | STC.tls | STC.gshared | STC.ctfe))
{
}
else
{
AggregateDeclaration aad = parent.isAggregateDeclaration();
if (aad)
{
if (global.params.vfield && dsym.storage_class & (STC.const_ | STC.immutable_) && dsym._init && !dsym._init.isVoidInitializer())
{
const(char)* s = (dsym.storage_class & STC.immutable_) ? "immutable" : "const";
message(dsym.loc, "`%s.%s` is `%s` field", ad.toPrettyChars(), dsym.toChars(), s);
}
dsym.storage_class |= STC.field;
if (tbn.ty == Tstruct && (cast(TypeStruct)tbn).sym.noDefaultCtor)
{
if (!dsym.isThisDeclaration() && !dsym._init)
aad.noDefaultCtor = true;
}
}
InterfaceDeclaration id = parent.isInterfaceDeclaration();
if (id)
{
dsym.error("field not allowed in interface");
}
else if (aad && aad.sizeok == Sizeok.done)
{
dsym.error("cannot be further field because it will change the determined %s size", aad.toChars());
}
/* Templates cannot add fields to aggregates
*/
TemplateInstance ti = parent.isTemplateInstance();
if (ti)
{
// Take care of nested templates
while (1)
{
TemplateInstance ti2 = ti.tempdecl.parent.isTemplateInstance();
if (!ti2)
break;
ti = ti2;
}
// If it's a member template
AggregateDeclaration ad2 = ti.tempdecl.isMember();
if (ad2 && dsym.storage_class != STC.undefined_)
{
dsym.error("cannot use template to add field to aggregate `%s`", ad2.toChars());
}
}
}
if ((dsym.storage_class & (STC.ref_ | STC.parameter | STC.foreach_ | STC.temp | STC.result)) == STC.ref_ && dsym.ident != Id.This)
{
dsym.error("only parameters or `foreach` declarations can be `ref`");
}
if (dsym.type.hasWild())
{
if (dsym.storage_class & (STC.static_ | STC.extern_ | STC.tls | STC.gshared | STC.manifest | STC.field) || dsym.isDataseg())
{
dsym.error("only parameters or stack based variables can be `inout`");
}
FuncDeclaration func = sc.func;
if (func)
{
if (func.fes)
func = func.fes.func;
bool isWild = false;
for (FuncDeclaration fd = func; fd; fd = fd.toParent2().isFuncDeclaration())
{
if ((cast(TypeFunction)fd.type).iswild)
{
isWild = true;
break;
}
}
if (!isWild)
{
dsym.error("`inout` variables can only be declared inside `inout` functions");
}
}
}
if (!(dsym.storage_class & (STC.ctfe | STC.ref_ | STC.result)) && tbn.ty == Tstruct && (cast(TypeStruct)tbn).sym.noDefaultCtor)
{
if (!dsym._init)
{
if (dsym.isField())
{
/* For fields, we'll check the constructor later to make sure it is initialized
*/
dsym.storage_class |= STC.nodefaultctor;
}
else if (dsym.storage_class & STC.parameter)
{
}
else
dsym.error("default construction is disabled for type `%s`", dsym.type.toChars());
}
}
FuncDeclaration fd = parent.isFuncDeclaration();
if (dsym.type.isscope() && !(dsym.storage_class & STC.nodtor))
{
if (dsym.storage_class & (STC.field | STC.out_ | STC.ref_ | STC.static_ | STC.manifest | STC.tls | STC.gshared) || !fd)
{
dsym.error("globals, statics, fields, manifest constants, ref and out parameters cannot be `scope`");
}
if (!(dsym.storage_class & STC.scope_))
{
if (!(dsym.storage_class & STC.parameter) && dsym.ident != Id.withSym)
dsym.error("reference to `scope class` must be `scope`");
}
}
// Calculate type size + safety checks
if (sc.func && !sc.intypeof)
{
if (dsym._init && dsym._init.isVoidInitializer() && dsym.type.hasPointers()) // get type size
{
if (sc.func.setUnsafe())
dsym.error("`void` initializers for pointers not allowed in safe functions");
}
else if (!dsym._init &&
!(dsym.storage_class & (STC.static_ | STC.extern_ | STC.tls | STC.gshared | STC.manifest | STC.field | STC.parameter)) &&
dsym.type.hasVoidInitPointers())
{
if (sc.func.setUnsafe())
dsym.error("`void` initializers for pointers not allowed in safe functions");
}
}
if (!dsym._init && !fd)
{
// If not mutable, initializable by constructor only
dsym.storage_class |= STC.ctorinit;
}
if (dsym._init)
dsym.storage_class |= STC.init; // remember we had an explicit initializer
else if (dsym.storage_class & STC.manifest)
dsym.error("manifest constants must have initializers");
bool isBlit = false;
d_uns64 sz;
if (!dsym._init &&
!(dsym.storage_class & (STC.static_ | STC.gshared | STC.extern_)) &&
fd &&
(!(dsym.storage_class & (STC.field | STC.in_ | STC.foreach_ | STC.parameter | STC.result)) ||
(dsym.storage_class & STC.out_)) &&
(sz = dsym.type.size()) != 0)
{
// Provide a default initializer
//printf("Providing default initializer for '%s'\n", toChars());
if (sz == SIZE_INVALID && dsym.type.ty != Terror)
dsym.error("size of type `%s` is invalid", dsym.type.toChars());
Type tv = dsym.type;
while (tv.ty == Tsarray) // Don't skip Tenum
tv = tv.nextOf();
if (tv.needsNested())
{
/* Nested struct requires valid enclosing frame pointer.
* In StructLiteralExp::toElem(), it's calculated.
*/
assert(tbn.ty == Tstruct);
checkFrameAccess(dsym.loc, sc, (cast(TypeStruct)tbn).sym);
Expression e = tv.defaultInitLiteral(dsym.loc);
e = new BlitExp(dsym.loc, new VarExp(dsym.loc, dsym), e);
e = e.expressionSemantic(sc);
dsym._init = new ExpInitializer(dsym.loc, e);
goto Ldtor;
}
if (tv.ty == Tstruct && (cast(TypeStruct)tv).sym.zeroInit)
{
/* If a struct is all zeros, as a special case
* set it's initializer to the integer 0.
* In AssignExp::toElem(), we check for this and issue
* a memset() to initialize the struct.
* Must do same check in interpreter.
*/
Expression e = new IntegerExp(dsym.loc, 0, Type.tint32);
e = new BlitExp(dsym.loc, new VarExp(dsym.loc, dsym), e);
e.type = dsym.type; // don't type check this, it would fail
dsym._init = new ExpInitializer(dsym.loc, e);
goto Ldtor;
}
if (dsym.type.baseElemOf().ty == Tvoid)
{
dsym.error("`%s` does not have a default initializer", dsym.type.toChars());
}
else if (auto e = dsym.type.defaultInit(dsym.loc))
{
dsym._init = new ExpInitializer(dsym.loc, e);
}
// Default initializer is always a blit
isBlit = true;
}
if (dsym._init)
{
sc = sc.push();
sc.stc &= ~(STC.TYPECTOR | STC.pure_ | STC.nothrow_ | STC.nogc | STC.ref_ | STC.disable);
ExpInitializer ei = dsym._init.isExpInitializer();
if (ei) // https://issues.dlang.org/show_bug.cgi?id=13424
// Preset the required type to fail in FuncLiteralDeclaration::semantic3
ei.exp = inferType(ei.exp, dsym.type);
// If inside function, there is no semantic3() call
if (sc.func || sc.intypeof == 1)
{
// If local variable, use AssignExp to handle all the various
// possibilities.
if (fd && !(dsym.storage_class & (STC.manifest | STC.static_ | STC.tls | STC.gshared | STC.extern_)) && !dsym._init.isVoidInitializer())
{
//printf("fd = '%s', var = '%s'\n", fd.toChars(), toChars());
if (!ei)
{
ArrayInitializer ai = dsym._init.isArrayInitializer();
Expression e;
if (ai && tb.ty == Taarray)
e = ai.toAssocArrayLiteral();
else
e = dsym._init.initializerToExpression();
if (!e)
{
// Run semantic, but don't need to interpret
dsym._init = dsym._init.initializerSemantic(sc, dsym.type, INITnointerpret);
e = dsym._init.initializerToExpression();
if (!e)
{
dsym.error("is not a static and cannot have static initializer");
e = new ErrorExp();
}
}
ei = new ExpInitializer(dsym._init.loc, e);
dsym._init = ei;
}
Expression exp = ei.exp;
Expression e1 = new VarExp(dsym.loc, dsym);
if (isBlit)
exp = new BlitExp(dsym.loc, e1, exp);
else
exp = new ConstructExp(dsym.loc, e1, exp);
dsym.canassign++;
exp = exp.expressionSemantic(sc);
dsym.canassign--;
exp = exp.optimize(WANTvalue);
if (exp.op == TOK.error)
{
dsym._init = new ErrorInitializer();
ei = null;
}
else
ei.exp = exp;
if (ei && dsym.isScope())
{
Expression ex = ei.exp;
while (ex.op == TOK.comma)
ex = (cast(CommaExp)ex).e2;
if (ex.op == TOK.blit || ex.op == TOK.construct)
ex = (cast(AssignExp)ex).e2;
if (ex.op == TOK.new_)
{
// See if initializer is a NewExp that can be allocated on the stack
NewExp ne = cast(NewExp)ex;
if (dsym.type.toBasetype().ty == Tclass)
{
if (ne.newargs && ne.newargs.dim > 1)
{
dsym.mynew = true;
}
else
{
ne.onstack = 1;
dsym.onstack = true;
}
}
}
else if (ex.op == TOK.function_)
{
// or a delegate that doesn't escape a reference to the function
FuncDeclaration f = (cast(FuncExp)ex).fd;
f.tookAddressOf--;
}
}
}
else
{
// https://issues.dlang.org/show_bug.cgi?id=14166
// Don't run CTFE for the temporary variables inside typeof
dsym._init = dsym._init.initializerSemantic(sc, dsym.type, sc.intypeof == 1 ? INITnointerpret : INITinterpret);
}
}
else if (parent.isAggregateDeclaration())
{
dsym._scope = scx ? scx : sc.copy();
dsym._scope.setNoFree();
}
else if (dsym.storage_class & (STC.const_ | STC.immutable_ | STC.manifest) || dsym.type.isConst() || dsym.type.isImmutable())
{
/* Because we may need the results of a const declaration in a
* subsequent type, such as an array dimension, before semantic2()
* gets ordinarily run, try to run semantic2() now.
* Ignore failure.
*/
if (!inferred)
{
uint errors = global.errors;
dsym.inuse++;
if (ei)
{
Expression exp = ei.exp.syntaxCopy();
bool needctfe = dsym.isDataseg() || (dsym.storage_class & STC.manifest);
if (needctfe)
sc = sc.startCTFE();
exp = exp.expressionSemantic(sc);
exp = resolveProperties(sc, exp);
if (needctfe)
sc = sc.endCTFE();
Type tb2 = dsym.type.toBasetype();
Type ti = exp.type.toBasetype();
/* The problem is the following code:
* struct CopyTest {
* double x;
* this(double a) { x = a * 10.0;}
* this(this) { x += 2.0; }
* }
* const CopyTest z = CopyTest(5.3); // ok
* const CopyTest w = z; // not ok, postblit not run
* static assert(w.x == 55.0);
* because the postblit doesn't get run on the initialization of w.
*/
if (ti.ty == Tstruct)
{
StructDeclaration sd = (cast(TypeStruct)ti).sym;
/* Look to see if initializer involves a copy constructor
* (which implies a postblit)
*/
// there is a copy constructor
// and exp is the same struct
if (sd.postblit && tb2.toDsymbol(null) == sd)
{
// The only allowable initializer is a (non-copy) constructor
if (exp.isLvalue())
dsym.error("of type struct `%s` uses `this(this)`, which is not allowed in static initialization", tb2.toChars());
}
}
ei.exp = exp;
}
dsym._init = dsym._init.initializerSemantic(sc, dsym.type, INITinterpret);
dsym.inuse--;
if (global.errors > errors)
{
dsym._init = new ErrorInitializer();
dsym.type = Type.terror;
}
}
else
{
dsym._scope = scx ? scx : sc.copy();
dsym._scope.setNoFree();
}
}
sc = sc.pop();
}
Ldtor:
/* Build code to execute destruction, if necessary
*/
dsym.edtor = dsym.callScopeDtor(sc);
if (dsym.edtor)
{
/* If dsym is a local variable, who's type is a struct with a scope destructor,
* then make dsym scope, too.
*/
if (global.params.vsafe &&
!(dsym.storage_class & (STC.parameter | STC.temp | STC.field | STC.in_ | STC.foreach_ | STC.result | STC.manifest)) &&
!dsym.isDataseg() &&
!dsym.doNotInferScope &&
dsym.type.hasPointers())
{
auto tv = dsym.type.baseElemOf();
if (tv.ty == Tstruct &&
(cast(TypeStruct)tv).sym.dtor.storage_class & STC.scope_)
{
dsym.storage_class |= STC.scope_;
}
}
if (sc.func && dsym.storage_class & (STC.static_ | STC.gshared))
dsym.edtor = dsym.edtor.expressionSemantic(sc._module._scope);
else
dsym.edtor = dsym.edtor.expressionSemantic(sc);
version (none)
{
// currently disabled because of std.stdio.stdin, stdout and stderr
if (dsym.isDataseg() && !(dsym.storage_class & STC.extern_))
dsym.error("static storage variables cannot have destructors");
}
}
dsym.semanticRun = PASS.semanticdone;
if (dsym.type.toBasetype().ty == Terror)
dsym.errors = true;
if(sc.scopesym && !sc.scopesym.isAggregateDeclaration())
{
for (ScopeDsymbol sym = sc.scopesym; sym && dsym.endlinnum == 0;
sym = sym.parent ? sym.parent.isScopeDsymbol() : null)
dsym.endlinnum = sym.endlinnum;
}
}
override void visit(TypeInfoDeclaration dsym)
{
assert(dsym.linkage == LINK.c);
}
override void visit(Import imp)
{
//printf("Import::semantic('%s') %s\n", toPrettyChars(), id.toChars());
if (imp.semanticRun > PASS.init)
return;
if (imp._scope)
{
sc = imp._scope;
imp._scope = null;
}
if (!sc)
return;
imp.semanticRun = PASS.semantic;
// Load if not already done so
if (!imp.mod)
{
imp.load(sc);
if (imp.mod)
imp.mod.importAll(null);
}
if (imp.mod)
{
// Modules need a list of each imported module
//printf("%s imports %s\n", sc._module.toChars(), imp.mod.toChars());
sc._module.aimports.push(imp.mod);
if (sc.explicitProtection)
imp.protection = sc.protection;
if (!imp.aliasId && !imp.names.dim) // neither a selective nor a renamed import
{
ScopeDsymbol scopesym;
for (Scope* scd = sc; scd; scd = scd.enclosing)
{
if (!scd.scopesym)
continue;
scopesym = scd.scopesym;
break;
}
if (!imp.isstatic)
{
scopesym.importScope(imp.mod, imp.protection);
}
// Mark the imported packages as accessible from the current
// scope. This access check is necessary when using FQN b/c
// we're using a single global package tree.
// https://issues.dlang.org/show_bug.cgi?id=313
if (imp.packages)
{
// import a.b.c.d;
auto p = imp.pkg; // a
scopesym.addAccessiblePackage(p, imp.protection);
foreach (id; (*imp.packages)[1 .. imp.packages.dim]) // [b, c]
{
p = cast(Package) p.symtab.lookup(id);
scopesym.addAccessiblePackage(p, imp.protection);
}
}
scopesym.addAccessiblePackage(imp.mod, imp.protection); // d
}
imp.mod.dsymbolSemantic(null);
if (imp.mod.needmoduleinfo)
{
//printf("module4 %s because of %s\n", sc.module.toChars(), mod.toChars());
sc._module.needmoduleinfo = 1;
}
sc = sc.push(imp.mod);
sc.protection = imp.protection;
for (size_t i = 0; i < imp.aliasdecls.dim; i++)
{
AliasDeclaration ad = imp.aliasdecls[i];
//printf("\tImport %s alias %s = %s, scope = %p\n", toPrettyChars(), aliases[i].toChars(), names[i].toChars(), ad._scope);
Dsymbol sym = imp.mod.search(imp.loc, imp.names[i] /*, IgnorePrivateImports */);
if (sym)
{
// Deprecated in 2018-01.
// Change to error in 2019-01 by deleteting the following 5 lines and uncommenting
// the IgnorePrivateImports parameter from above.
// @@@DEPRECATED_2019-01@@@.
Dsymbol s = imp.mod.search(imp.loc, imp.names[i], IgnorePrivateImports);
if (!s)
.deprecation(imp.loc,
"Symbol `%s` is not visible from module `%s` because it is privately imported in module `%s`",
sym.toPrettyChars, sc._module.toChars(), imp.mod.toChars());
// Deprecated in 2018-01.
// Change to error in 2019-01.
// @@@DEPRECATED_2019-01@@@.
import dmd.access : symbolIsVisible;
if (!symbolIsVisible(sc, sym))
imp.mod.deprecation(imp.loc, "member `%s` is not visible from module `%s`",
imp.names[i].toChars(), sc._module.toChars());
ad.dsymbolSemantic(sc);
// If the import declaration is in non-root module,
// analysis of the aliased symbol is deferred.
// Therefore, don't see the ad.aliassym or ad.type here.
}
else
{
Dsymbol s = imp.mod.search_correct(imp.names[i]);
if (s)
imp.mod.error(imp.loc, "import `%s` not found, did you mean %s `%s`?", imp.names[i].toChars(), s.kind(), s.toPrettyChars());
else
imp.mod.error(imp.loc, "import `%s` not found", imp.names[i].toChars());
ad.type = Type.terror;
}
}
sc = sc.pop();
}
imp.semanticRun = PASS.semanticdone;
// object self-imports itself, so skip that
// https://issues.dlang.org/show_bug.cgi?id=7547
// don't list pseudo modules __entrypoint.d, __main.d
// https://issues.dlang.org/show_bug.cgi?id=11117
// https://issues.dlang.org/show_bug.cgi?id=11164
if (global.params.moduleDeps !is null && !(imp.id == Id.object && sc._module.ident == Id.object) &&
sc._module.ident != Id.entrypoint &&
strcmp(sc._module.ident.toChars(), "__main") != 0)
{
/* The grammar of the file is:
* ImportDeclaration
* ::= BasicImportDeclaration [ " : " ImportBindList ] [ " -> "
* ModuleAliasIdentifier ] "\n"
*
* BasicImportDeclaration
* ::= ModuleFullyQualifiedName " (" FilePath ") : " Protection|"string"
* " [ " static" ] : " ModuleFullyQualifiedName " (" FilePath ")"
*
* FilePath
* - any string with '(', ')' and '\' escaped with the '\' character
*/
OutBuffer* ob = global.params.moduleDeps;
Module imod = sc.instantiatingModule();
if (!global.params.moduleDepsFile)
ob.writestring("depsImport ");
ob.writestring(imod.toPrettyChars());
ob.writestring(" (");
escapePath(ob, imod.srcfile.toChars());
ob.writestring(") : ");
// use protection instead of sc.protection because it couldn't be
// resolved yet, see the comment above
protectionToBuffer(ob, imp.protection);
ob.writeByte(' ');
if (imp.isstatic)
{
stcToBuffer(ob, STC.static_);
ob.writeByte(' ');
}
ob.writestring(": ");
if (imp.packages)
{
for (size_t i = 0; i < imp.packages.dim; i++)
{
Identifier pid = (*imp.packages)[i];
ob.printf("%s.", pid.toChars());
}
}
ob.writestring(imp.id.toChars());
ob.writestring(" (");
if (imp.mod)
escapePath(ob, imp.mod.srcfile.toChars());
else
ob.writestring("???");
ob.writeByte(')');
for (size_t i = 0; i < imp.names.dim; i++)
{
if (i == 0)
ob.writeByte(':');
else
ob.writeByte(',');
Identifier name = imp.names[i];
Identifier _alias = imp.aliases[i];
if (!_alias)
{
ob.printf("%s", name.toChars());
_alias = name;
}
else
ob.printf("%s=%s", _alias.toChars(), name.toChars());
}
if (imp.aliasId)
ob.printf(" -> %s", imp.aliasId.toChars());
ob.writenl();
}
//printf("-Import::semantic('%s'), pkg = %p\n", toChars(), pkg);
}
void attribSemantic(AttribDeclaration ad)
{
if (ad.semanticRun != PASS.init)
return;
ad.semanticRun = PASS.semantic;
Dsymbols* d = ad.include(sc);
//printf("\tAttribDeclaration::semantic '%s', d = %p\n",toChars(), d);
if (d)
{
Scope* sc2 = ad.newScope(sc);
bool errors;
for (size_t i = 0; i < d.dim; i++)
{
Dsymbol s = (*d)[i];
s.dsymbolSemantic(sc2);
errors |= s.errors;
}
ad.errors |= errors;
if (sc2 != sc)
sc2.pop();
}
ad.semanticRun = PASS.semanticdone;
}
override void visit(AttribDeclaration atd)
{
attribSemantic(atd);
}
override void visit(AnonDeclaration scd)
{
//printf("\tAnonDeclaration::semantic %s %p\n", isunion ? "union" : "struct", this);
assert(sc.parent);
auto p = sc.parent.pastMixin();
auto ad = p.isAggregateDeclaration();
if (!ad)
{
error(scd.loc, "%s can only be a part of an aggregate, not %s `%s`", scd.kind(), p.kind(), p.toChars());
scd.errors = true;
return;
}
if (scd.decl)
{
sc = sc.push();
sc.stc &= ~(STC.auto_ | STC.scope_ | STC.static_ | STC.tls | STC.gshared);
sc.inunion = scd.isunion;
sc.flags = 0;
for (size_t i = 0; i < scd.decl.dim; i++)
{
Dsymbol s = (*scd.decl)[i];
s.dsymbolSemantic(sc);
}
sc = sc.pop();
}
}
override void visit(PragmaDeclaration pd)
{
// Should be merged with PragmaStatement
//printf("\tPragmaDeclaration::semantic '%s'\n", pd.toChars());
if (pd.ident == Id.msg)
{
if (pd.args)
{
for (size_t i = 0; i < pd.args.dim; i++)
{
Expression e = (*pd.args)[i];
sc = sc.startCTFE();
e = e.expressionSemantic(sc);
e = resolveProperties(sc, e);
sc = sc.endCTFE();
// pragma(msg) is allowed to contain types as well as expressions
if (e.type && e.type.ty == Tvoid)
{
error(pd.loc, "Cannot pass argument `%s` to `pragma msg` because it is `void`", e.toChars());
return;
}
e = ctfeInterpretForPragmaMsg(e);
if (e.op == TOK.error)
{
errorSupplemental(pd.loc, "while evaluating `pragma(msg, %s)`", (*pd.args)[i].toChars());
return;
}
StringExp se = e.toStringExp();
if (se)
{
se = se.toUTF8(sc);
fprintf(stderr, "%.*s", cast(int)se.len, se.string);
}
else
fprintf(stderr, "%s", e.toChars());
}
fprintf(stderr, "\n");
}
goto Lnodecl;
}
else if (pd.ident == Id.lib)
{
if (!pd.args || pd.args.dim != 1)
pd.error("string expected for library name");
else
{
auto se = semanticString(sc, (*pd.args)[0], "library name");
if (!se)
goto Lnodecl;
(*pd.args)[0] = se;
auto name = cast(char*)mem.xmalloc(se.len + 1);
memcpy(name, se.string, se.len);
name[se.len] = 0;
if (global.params.verbose)
message("library %s", name);
if (global.params.moduleDeps && !global.params.moduleDepsFile)
{
OutBuffer* ob = global.params.moduleDeps;
Module imod = sc.instantiatingModule();
ob.writestring("depsLib ");
ob.writestring(imod.toPrettyChars());
ob.writestring(" (");
escapePath(ob, imod.srcfile.toChars());
ob.writestring(") : ");
ob.writestring(name);
ob.writenl();
}
mem.xfree(name);
}
goto Lnodecl;
}
else if (pd.ident == Id.startaddress)
{
if (!pd.args || pd.args.dim != 1)
pd.error("function name expected for start address");
else
{
/* https://issues.dlang.org/show_bug.cgi?id=11980
* resolveProperties and ctfeInterpret call are not necessary.
*/
Expression e = (*pd.args)[0];
sc = sc.startCTFE();
e = e.expressionSemantic(sc);
sc = sc.endCTFE();
(*pd.args)[0] = e;
Dsymbol sa = getDsymbol(e);
if (!sa || !sa.isFuncDeclaration())
pd.error("function name expected for start address, not `%s`", e.toChars());
}
goto Lnodecl;
}
else if (pd.ident == Id.Pinline)
{
goto Ldecl;
}
else if (pd.ident == Id.mangle)
{
if (!pd.args)
pd.args = new Expressions();
if (pd.args.dim != 1)
{
pd.error("string expected for mangled name");
pd.args.setDim(1);
(*pd.args)[0] = new ErrorExp(); // error recovery
goto Ldecl;
}
auto se = semanticString(sc, (*pd.args)[0], "mangled name");
if (!se)
goto Ldecl;
(*pd.args)[0] = se; // Will be used later
if (!se.len)
{
pd.error("zero-length string not allowed for mangled name");
goto Ldecl;
}
if (se.sz != 1)
{
pd.error("mangled name characters can only be of type `char`");
goto Ldecl;
}
version (all)
{
/* Note: D language specification should not have any assumption about backend
* implementation. Ideally pragma(mangle) can accept a string of any content.
*
* Therefore, this validation is compiler implementation specific.
*/
for (size_t i = 0; i < se.len;)
{
char* p = se.string;
dchar c = p[i];
if (c < 0x80)
{
if (c >= 'A' && c <= 'Z' || c >= 'a' && c <= 'z' || c >= '0' && c <= '9' || c != 0 && strchr("$%().:?@[]_", c))
{
++i;
continue;
}
else
{
pd.error("char 0x%02x not allowed in mangled name", c);
break;
}
}
if (const msg = utf_decodeChar(se.string, se.len, i, c))
{
pd.error("%s", msg);
break;
}
if (!isUniAlpha(c))
{
pd.error("char `0x%04x` not allowed in mangled name", c);
break;
}
}
}
}
else if (pd.ident == Id.crt_constructor || pd.ident == Id.crt_destructor)
{
if (pd.args && pd.args.dim != 0)
pd.error("takes no argument");
goto Ldecl;
}
else if (global.params.ignoreUnsupportedPragmas)
{
if (global.params.verbose)
{
/* Print unrecognized pragmas
*/
OutBuffer buf;
buf.writestring(pd.ident.toChars());
if (pd.args)
{
for (size_t i = 0; i < pd.args.dim; i++)
{
Expression e = (*pd.args)[i];
sc = sc.startCTFE();
e = e.expressionSemantic(sc);
e = resolveProperties(sc, e);
sc = sc.endCTFE();
e = e.ctfeInterpret();
if (i == 0)
buf.writestring(" (");
else
buf.writeByte(',');
buf.writestring(e.toChars());
}
if (pd.args.dim)
buf.writeByte(')');
}
message("pragma %s", buf.peekString());
}
goto Lnodecl;
}
else
error(pd.loc, "unrecognized `pragma(%s)`", pd.ident.toChars());
Ldecl:
if (pd.decl)
{
Scope* sc2 = pd.newScope(sc);
for (size_t i = 0; i < pd.decl.dim; i++)
{
Dsymbol s = (*pd.decl)[i];
s.dsymbolSemantic(sc2);
if (pd.ident == Id.mangle)
{
assert(pd.args && pd.args.dim == 1);
if (auto se = (*pd.args)[0].toStringExp())
{
char* name = cast(char*)mem.xmalloc(se.len + 1);
memcpy(name, se.string, se.len);
name[se.len] = 0;
uint cnt = setMangleOverride(s, name);
if (cnt > 1)
pd.error("can only apply to a single declaration");
}
}
}
if (sc2 != sc)
sc2.pop();
}
return;
Lnodecl:
if (pd.decl)
{
pd.error("is missing a terminating `;`");
goto Ldecl;
// do them anyway, to avoid segfaults.
}
}
override void visit(StaticIfDeclaration sid)
{
attribSemantic(sid);
}
override void visit(StaticForeachDeclaration sfd)
{
attribSemantic(sfd);
}
private Dsymbols* compileIt(CompileDeclaration cd)
{
//printf("CompileDeclaration::compileIt(loc = %d) %s\n", cd.loc.linnum, cd.exp.toChars());
auto se = semanticString(sc, cd.exp, "argument to mixin");
if (!se)
return null;
se = se.toUTF8(sc);
uint errors = global.errors;
scope p = new Parser!ASTCodegen(cd.loc, sc._module, se.toStringz(), false);
p.nextToken();
auto d = p.parseDeclDefs(0);
if (p.errors)
{
assert(global.errors != errors); // should have caught all these cases
return null;
}
if (p.token.value != TOK.endOfFile)
{
cd.exp.error("incomplete mixin declaration `%s`", se.toChars());
return null;
}
return d;
}
override void visit(CompileDeclaration cd)
{
//printf("CompileDeclaration::semantic()\n");
if (!cd.compiled)
{
cd.decl = compileIt(cd);
cd.AttribDeclaration.addMember(sc, cd.scopesym);
cd.compiled = true;
if (cd._scope && cd.decl)
{
for (size_t i = 0; i < cd.decl.dim; i++)
{
Dsymbol s = (*cd.decl)[i];
s.setScope(cd._scope);
}
}
}
attribSemantic(cd);
}
override void visit(UserAttributeDeclaration uad)
{
//printf("UserAttributeDeclaration::semantic() %p\n", this);
if (uad.decl && !uad._scope)
uad.Dsymbol.setScope(sc); // for function local symbols
return attribSemantic(uad);
}
override void visit(StaticAssert sa)
{
if (sa.semanticRun < PASS.semanticdone)
sa.semanticRun = PASS.semanticdone;
}
override void visit(DebugSymbol ds)
{
//printf("DebugSymbol::semantic() %s\n", toChars());
if (ds.semanticRun < PASS.semanticdone)
ds.semanticRun = PASS.semanticdone;
}
override void visit(VersionSymbol vs)
{
if (vs.semanticRun < PASS.semanticdone)
vs.semanticRun = PASS.semanticdone;
}
override void visit(Package pkg)
{
if (pkg.semanticRun < PASS.semanticdone)
pkg.semanticRun = PASS.semanticdone;
}
override void visit(Module m)
{
if (m.semanticRun != PASS.init)
return;
//printf("+Module::semantic(this = %p, '%s'): parent = %p\n", this, toChars(), parent);
m.semanticRun = PASS.semantic;
// Note that modules get their own scope, from scratch.
// This is so regardless of where in the syntax a module
// gets imported, it is unaffected by context.
Scope* sc = m._scope; // see if already got one from importAll()
if (!sc)
{
Scope.createGlobal(m); // create root scope
}
//printf("Module = %p, linkage = %d\n", sc.scopesym, sc.linkage);
// Pass 1 semantic routines: do public side of the definition
for (size_t i = 0; i < m.members.dim; i++)
{
Dsymbol s = (*m.members)[i];
//printf("\tModule('%s'): '%s'.dsymbolSemantic()\n", toChars(), s.toChars());
s.dsymbolSemantic(sc);
m.runDeferredSemantic();
}
if (m.userAttribDecl)
{
m.userAttribDecl.dsymbolSemantic(sc);
}
if (!m._scope)
{
sc = sc.pop();
sc.pop(); // 2 pops because Scope::createGlobal() created 2
}
m.semanticRun = PASS.semanticdone;
//printf("-Module::semantic(this = %p, '%s'): parent = %p\n", this, toChars(), parent);
}
override void visit(EnumDeclaration ed)
{
//printf("EnumDeclaration::semantic(sd = %p, '%s') %s\n", sc.scopesym, sc.scopesym.toChars(), toChars());
//printf("EnumDeclaration::semantic() %p %s\n", this, toChars());
if (ed.semanticRun >= PASS.semanticdone)
return; // semantic() already completed
if (ed.semanticRun == PASS.semantic)
{
assert(ed.memtype);
error(ed.loc, "circular reference to enum base type `%s`", ed.memtype.toChars());
ed.errors = true;
ed.semanticRun = PASS.semanticdone;
return;
}
uint dprogress_save = Module.dprogress;
Scope* scx = null;
if (ed._scope)
{
sc = ed._scope;
scx = ed._scope; // save so we don't make redundant copies
ed._scope = null;
}
if (!sc)
return;
ed.parent = sc.parent;
ed.type = ed.type.typeSemantic(ed.loc, sc);
ed.protection = sc.protection;
if (sc.stc & STC.deprecated_)
ed.isdeprecated = true;
ed.userAttribDecl = sc.userAttribDecl;
ed.semanticRun = PASS.semantic;
if (!ed.members && !ed.memtype) // enum ident;
{
ed.semanticRun = PASS.semanticdone;
return;
}
if (!ed.symtab)
ed.symtab = new DsymbolTable();
/* The separate, and distinct, cases are:
* 1. enum { ... }
* 2. enum : memtype { ... }
* 3. enum ident { ... }
* 4. enum ident : memtype { ... }
* 5. enum ident : memtype;
* 6. enum ident;
*/
if (ed.memtype)
{
ed.memtype = ed.memtype.typeSemantic(ed.loc, sc);
/* Check to see if memtype is forward referenced
*/
if (ed.memtype.ty == Tenum)
{
EnumDeclaration sym = cast(EnumDeclaration)ed.memtype.toDsymbol(sc);
if (!sym.memtype || !sym.members || !sym.symtab || sym._scope)
{
// memtype is forward referenced, so try again later
ed._scope = scx ? scx : sc.copy();
ed._scope.setNoFree();
ed._scope._module.addDeferredSemantic(ed);
Module.dprogress = dprogress_save;
//printf("\tdeferring %s\n", toChars());
ed.semanticRun = PASS.init;
return;
}
}
if (ed.memtype.ty == Tvoid)
{
ed.error("base type must not be `void`");
ed.memtype = Type.terror;
}
if (ed.memtype.ty == Terror)
{
ed.errors = true;
if (ed.members)
{
for (size_t i = 0; i < ed.members.dim; i++)
{
Dsymbol s = (*ed.members)[i];
s.errors = true; // poison all the members
}
}
ed.semanticRun = PASS.semanticdone;
return;
}
}
ed.semanticRun = PASS.semanticdone;
if (!ed.members) // enum ident : memtype;
return;
if (ed.members.dim == 0)
{
ed.error("enum `%s` must have at least one member", ed.toChars());
ed.errors = true;
return;
}
Module.dprogress++;
Scope* sce;
if (ed.isAnonymous())
sce = sc;
else
{
sce = sc.push(ed);
sce.parent = ed;
}
sce = sce.startCTFE();
sce.setNoFree(); // needed for getMaxMinValue()
/* Each enum member gets the sce scope
*/
for (size_t i = 0; i < ed.members.dim; i++)
{
EnumMember em = (*ed.members)[i].isEnumMember();
if (em)
em._scope = sce;
}
if (!ed.added)
{
/* addMember() is not called when the EnumDeclaration appears as a function statement,
* so we have to do what addMember() does and install the enum members in the right symbol
* table
*/
ScopeDsymbol scopesym = null;
if (ed.isAnonymous())
{
/* Anonymous enum members get added to enclosing scope.
*/
for (Scope* sct = sce; 1; sct = sct.enclosing)
{
assert(sct);
if (sct.scopesym)
{
scopesym = sct.scopesym;
if (!sct.scopesym.symtab)
sct.scopesym.symtab = new DsymbolTable();
break;
}
}
}
else
{
// Otherwise enum members are in the EnumDeclaration's symbol table
scopesym = ed;
}
for (size_t i = 0; i < ed.members.dim; i++)
{
EnumMember em = (*ed.members)[i].isEnumMember();
if (em)
{
em.ed = ed;
em.addMember(sc, scopesym);
}
}
}
for (size_t i = 0; i < ed.members.dim; i++)
{
EnumMember em = (*ed.members)[i].isEnumMember();
if (em)
em.dsymbolSemantic(em._scope);
}
//printf("defaultval = %lld\n", defaultval);
//if (defaultval) printf("defaultval: %s %s\n", defaultval.toChars(), defaultval.type.toChars());
//printf("members = %s\n", members.toChars());
}
override void visit(EnumMember em)
{
//printf("EnumMember::semantic() %s\n", toChars());
void errorReturn()
{
em.errors = true;
em.semanticRun = PASS.semanticdone;
}
if (em.errors || em.semanticRun >= PASS.semanticdone)
return;
if (em.semanticRun == PASS.semantic)
{
em.error("circular reference to `enum` member");
return errorReturn();
}
assert(em.ed);
em.ed.dsymbolSemantic(sc);
if (em.ed.errors)
return errorReturn();
if (em.errors || em.semanticRun >= PASS.semanticdone)
return;
if (em._scope)
sc = em._scope;
if (!sc)
return;
em.semanticRun = PASS.semantic;
em.protection = em.ed.isAnonymous() ? em.ed.protection : Prot(Prot.Kind.public_);
em.linkage = LINK.d;
em.storage_class = STC.manifest;
em.userAttribDecl = em.ed.isAnonymous() ? em.ed.userAttribDecl : null;
// The first enum member is special
bool first = (em == (*em.ed.members)[0]);
if (em.origType)
{
em.origType = em.origType.typeSemantic(em.loc, sc);
em.type = em.origType;
assert(em.value); // "type id;" is not a valid enum member declaration
}
if (em.value)
{
Expression e = em.value;
assert(e.dyncast() == DYNCAST.expression);
e = e.expressionSemantic(sc);
e = resolveProperties(sc, e);
e = e.ctfeInterpret();
if (e.op == TOK.error)
return errorReturn();
if (first && !em.ed.memtype && !em.ed.isAnonymous())
{
em.ed.memtype = e.type;
if (em.ed.memtype.ty == Terror)
{
em.ed.errors = true;
return errorReturn();
}
if (em.ed.memtype.ty != Terror)
{
/* https://issues.dlang.org/show_bug.cgi?id=11746
* All of named enum members should have same type
* with the first member. If the following members were referenced
* during the first member semantic, their types should be unified.
*/
for (size_t i = 0; i < em.ed.members.dim; i++)
{
EnumMember enm = (*em.ed.members)[i].isEnumMember();
if (!enm || enm == em || enm.semanticRun < PASS.semanticdone || enm.origType)
continue;
//printf("[%d] em = %s, em.semanticRun = %d\n", i, toChars(), em.semanticRun);
Expression ev = enm.value;
ev = ev.implicitCastTo(sc, em.ed.memtype);
ev = ev.ctfeInterpret();
ev = ev.castTo(sc, em.ed.type);
if (ev.op == TOK.error)
em.ed.errors = true;
enm.value = ev;
}
if (em.ed.errors)
{
em.ed.memtype = Type.terror;
return errorReturn();
}
}
}
if (em.ed.memtype && !em.origType)
{
e = e.implicitCastTo(sc, em.ed.memtype);
e = e.ctfeInterpret();
// save origValue for better json output
em.origValue = e;
if (!em.ed.isAnonymous())
{
e = e.castTo(sc, em.ed.type.addMod(e.type.mod)); // https://issues.dlang.org/show_bug.cgi?id=12385
e = e.ctfeInterpret();
}
}
else if (em.origType)
{
e = e.implicitCastTo(sc, em.origType);
e = e.ctfeInterpret();
assert(em.ed.isAnonymous());
// save origValue for better json output
em.origValue = e;
}
em.value = e;
}
else if (first)
{
Type t;
if (em.ed.memtype)
t = em.ed.memtype;
else
{
t = Type.tint32;
if (!em.ed.isAnonymous())
em.ed.memtype = t;
}
Expression e = new IntegerExp(em.loc, 0, Type.tint32);
e = e.implicitCastTo(sc, t);
e = e.ctfeInterpret();
// save origValue for better json output
em.origValue = e;
if (!em.ed.isAnonymous())
{
e = e.castTo(sc, em.ed.type);
e = e.ctfeInterpret();
}
em.value = e;
}
else
{
/* Find the previous enum member,
* and set this to be the previous value + 1
*/
EnumMember emprev = null;
for (size_t i = 0; i < em.ed.members.dim; i++)
{
EnumMember enm = (*em.ed.members)[i].isEnumMember();
if (enm)
{
if (enm == em)
break;
emprev = enm;
}
}
assert(emprev);
if (emprev.semanticRun < PASS.semanticdone) // if forward reference
emprev.dsymbolSemantic(emprev._scope); // resolve it
if (emprev.errors)
return errorReturn();
Expression eprev = emprev.value;
Type tprev = eprev.type.equals(em.ed.type) ? em.ed.memtype : eprev.type;
Expression emax = tprev.getProperty(em.ed.loc, Id.max, 0);
emax = emax.expressionSemantic(sc);
emax = emax.ctfeInterpret();
// Set value to (eprev + 1).
// But first check that (eprev != emax)
assert(eprev);
Expression e = new EqualExp(TOK.equal, em.loc, eprev, emax);
e = e.expressionSemantic(sc);
e = e.ctfeInterpret();
if (e.toInteger())
{
em.error("initialization with `%s.%s+1` causes overflow for type `%s`",
emprev.ed.toChars(), emprev.toChars(), em.ed.memtype.toChars());
return errorReturn();
}
// Now set e to (eprev + 1)
e = new AddExp(em.loc, eprev, new IntegerExp(em.loc, 1, Type.tint32));
e = e.expressionSemantic(sc);
e = e.castTo(sc, eprev.type);
e = e.ctfeInterpret();
// save origValue (without cast) for better json output
if (e.op != TOK.error) // avoid duplicate diagnostics
{
assert(emprev.origValue);
em.origValue = new AddExp(em.loc, emprev.origValue, new IntegerExp(em.loc, 1, Type.tint32));
em.origValue = em.origValue.expressionSemantic(sc);
em.origValue = em.origValue.ctfeInterpret();
}
if (e.op == TOK.error)
return errorReturn();
if (e.type.isfloating())
{
// Check that e != eprev (not always true for floats)
Expression etest = new EqualExp(TOK.equal, em.loc, e, eprev);
etest = etest.expressionSemantic(sc);
etest = etest.ctfeInterpret();
if (etest.toInteger())
{
em.error("has inexact value due to loss of precision");
return errorReturn();
}
}
em.value = e;
}
if (!em.origType)
em.type = em.value.type;
assert(em.origValue);
em.semanticRun = PASS.semanticdone;
}
override void visit(TemplateDeclaration tempdecl)
{
static if (LOG)
{
printf("TemplateDeclaration.dsymbolSemantic(this = %p, id = '%s')\n", this, tempdecl.ident.toChars());
printf("sc.stc = %llx\n", sc.stc);
printf("sc.module = %s\n", sc._module.toChars());
}
if (tempdecl.semanticRun != PASS.init)
return; // semantic() already run
if (tempdecl._scope)
{
sc = tempdecl._scope;
tempdecl._scope = null;
}
if (!sc)
return;
// Remember templates defined in module object that we need to know about
if (sc._module && sc._module.ident == Id.object)
{
if (tempdecl.ident == Id.RTInfo)
Type.rtinfo = tempdecl;
}
/* Remember Scope for later instantiations, but make
* a copy since attributes can change.
*/
if (!tempdecl._scope)
{
tempdecl._scope = sc.copy();
tempdecl._scope.setNoFree();
}
tempdecl.semanticRun = PASS.semantic;
tempdecl.parent = sc.parent;
tempdecl.protection = sc.protection;
tempdecl.isstatic = tempdecl.toParent().isModule() || (tempdecl._scope.stc & STC.static_);
if (!tempdecl.isstatic)
{
if (auto ad = tempdecl.parent.pastMixin().isAggregateDeclaration())
ad.makeNested();
}
// Set up scope for parameters
auto paramsym = new ScopeDsymbol();
paramsym.parent = tempdecl.parent;
Scope* paramscope = sc.push(paramsym);
paramscope.stc = 0;
if (global.params.doDocComments)
{
tempdecl.origParameters = new TemplateParameters();
tempdecl.origParameters.setDim(tempdecl.parameters.dim);
for (size_t i = 0; i < tempdecl.parameters.dim; i++)
{
TemplateParameter tp = (*tempdecl.parameters)[i];
(*tempdecl.origParameters)[i] = tp.syntaxCopy();
}
}
for (size_t i = 0; i < tempdecl.parameters.dim; i++)
{
TemplateParameter tp = (*tempdecl.parameters)[i];
if (!tp.declareParameter(paramscope))
{
error(tp.loc, "parameter `%s` multiply defined", tp.ident.toChars());
tempdecl.errors = true;
}
if (!tp.tpsemantic(paramscope, tempdecl.parameters))
{
tempdecl.errors = true;
}
if (i + 1 != tempdecl.parameters.dim && tp.isTemplateTupleParameter())
{
tempdecl.error("template tuple parameter must be last one");
tempdecl.errors = true;
}
}
/* Calculate TemplateParameter.dependent
*/
TemplateParameters tparams;
tparams.setDim(1);
for (size_t i = 0; i < tempdecl.parameters.dim; i++)
{
TemplateParameter tp = (*tempdecl.parameters)[i];
tparams[0] = tp;
for (size_t j = 0; j < tempdecl.parameters.dim; j++)
{
// Skip cases like: X(T : T)
if (i == j)
continue;
if (TemplateTypeParameter ttp = (*tempdecl.parameters)[j].isTemplateTypeParameter())
{
if (reliesOnTident(ttp.specType, &tparams))
tp.dependent = true;
}
else if (TemplateAliasParameter tap = (*tempdecl.parameters)[j].isTemplateAliasParameter())
{
if (reliesOnTident(tap.specType, &tparams) ||
reliesOnTident(isType(tap.specAlias), &tparams))
{
tp.dependent = true;
}
}
}
}
paramscope.pop();
// Compute again
tempdecl.onemember = null;
if (tempdecl.members)
{
Dsymbol s;
if (Dsymbol.oneMembers(tempdecl.members, &s, tempdecl.ident) && s)
{
tempdecl.onemember = s;
s.parent = tempdecl;
}
}
/* BUG: should check:
* o no virtual functions or non-static data members of classes
*/
tempdecl.semanticRun = PASS.semanticdone;
}
override void visit(TemplateInstance ti)
{
templateInstanceSemantic(ti, sc, null);
}
override void visit(TemplateMixin tm)
{
static if (LOG)
{
printf("+TemplateMixin.dsymbolSemantic('%s', this=%p)\n",tm.toChars(), tm);
fflush(stdout);
}
if (tm.semanticRun != PASS.init)
{
// When a class/struct contains mixin members, and is done over
// because of forward references, never reach here so semanticRun
// has been reset to PASS.init.
static if (LOG)
{
printf("\tsemantic done\n");
}
return;
}
tm.semanticRun = PASS.semantic;
static if (LOG)
{
printf("\tdo semantic\n");
}
Scope* scx = null;
if (tm._scope)
{
sc = tm._scope;
scx = tm._scope; // save so we don't make redundant copies
tm._scope = null;
}
/* Run semantic on each argument, place results in tiargs[],
* then find best match template with tiargs
*/
if (!tm.findTempDecl(sc) || !tm.semanticTiargs(sc) || !tm.findBestMatch(sc, null))
{
if (tm.semanticRun == PASS.init) // forward reference had occurred
{
//printf("forward reference - deferring\n");
tm._scope = scx ? scx : sc.copy();
tm._scope.setNoFree();
tm._scope._module.addDeferredSemantic(tm);
return;
}
tm.inst = tm;
tm.errors = true;
return; // error recovery
}
auto tempdecl = tm.tempdecl.isTemplateDeclaration();
assert(tempdecl);
if (!tm.ident)
{
/* Assign scope local unique identifier, as same as lambdas.
*/
const(char)* s = "__mixin";
if (FuncDeclaration func = sc.parent.isFuncDeclaration())
{
tm.symtab = func.localsymtab;
if (tm.symtab)
{
// Inside template constraint, symtab is not set yet.
goto L1;
}
}
else
{
tm.symtab = sc.parent.isScopeDsymbol().symtab;
L1:
assert(tm.symtab);
tm.ident = Identifier.generateId(s, tm.symtab.len + 1);
tm.symtab.insert(tm);
}
}
tm.inst = tm;
tm.parent = sc.parent;
/* Detect recursive mixin instantiations.
*/
for (Dsymbol s = tm.parent; s; s = s.parent)
{
//printf("\ts = '%s'\n", s.toChars());
TemplateMixin tmix = s.isTemplateMixin();
if (!tmix || tempdecl != tmix.tempdecl)
continue;
/* Different argument list lengths happen with variadic args
*/
if (tm.tiargs.dim != tmix.tiargs.dim)
continue;
for (size_t i = 0; i < tm.tiargs.dim; i++)
{
RootObject o = (*tm.tiargs)[i];
Type ta = isType(o);
Expression ea = isExpression(o);
Dsymbol sa = isDsymbol(o);
RootObject tmo = (*tmix.tiargs)[i];
if (ta)
{
Type tmta = isType(tmo);
if (!tmta)
goto Lcontinue;
if (!ta.equals(tmta))
goto Lcontinue;
}
else if (ea)
{
Expression tme = isExpression(tmo);
if (!tme || !ea.equals(tme))
goto Lcontinue;
}
else if (sa)
{
Dsymbol tmsa = isDsymbol(tmo);
if (sa != tmsa)
goto Lcontinue;
}
else
assert(0);
}
tm.error("recursive mixin instantiation");
return;
Lcontinue:
continue;
}
// Copy the syntax trees from the TemplateDeclaration
tm.members = Dsymbol.arraySyntaxCopy(tempdecl.members);
if (!tm.members)
return;
tm.symtab = new DsymbolTable();
for (Scope* sce = sc; 1; sce = sce.enclosing)
{
ScopeDsymbol sds = sce.scopesym;
if (sds)
{
sds.importScope(tm, Prot(Prot.Kind.public_));
break;
}
}
static if (LOG)
{
printf("\tcreate scope for template parameters '%s'\n", tm.toChars());
}
Scope* scy = sc.push(tm);
scy.parent = tm;
tm.argsym = new ScopeDsymbol();
tm.argsym.parent = scy.parent;
Scope* argscope = scy.push(tm.argsym);
uint errorsave = global.errors;
// Declare each template parameter as an alias for the argument type
tm.declareParameters(argscope);
// Add members to enclosing scope, as well as this scope
for (size_t i = 0; i < tm.members.dim; i++)
{
Dsymbol s = (*tm.members)[i];
s.addMember(argscope, tm);
//printf("sc.parent = %p, sc.scopesym = %p\n", sc.parent, sc.scopesym);
//printf("s.parent = %s\n", s.parent.toChars());
}
// Do semantic() analysis on template instance members
static if (LOG)
{
printf("\tdo semantic() on template instance members '%s'\n", tm.toChars());
}
Scope* sc2 = argscope.push(tm);
//size_t deferred_dim = Module.deferred.dim;
static __gshared int nest;
//printf("%d\n", nest);
if (++nest > 500)
{
global.gag = 0; // ensure error message gets printed
tm.error("recursive expansion");
fatal();
}
for (size_t i = 0; i < tm.members.dim; i++)
{
Dsymbol s = (*tm.members)[i];
s.setScope(sc2);
}
for (size_t i = 0; i < tm.members.dim; i++)
{
Dsymbol s = (*tm.members)[i];
s.importAll(sc2);
}
for (size_t i = 0; i < tm.members.dim; i++)
{
Dsymbol s = (*tm.members)[i];
s.dsymbolSemantic(sc2);
}
nest--;
/* In DeclDefs scope, TemplateMixin does not have to handle deferred symbols.
* Because the members would already call Module.addDeferredSemantic() for themselves.
* See Struct, Class, Interface, and EnumDeclaration.dsymbolSemantic().
*/
//if (!sc.func && Module.deferred.dim > deferred_dim) {}
AggregateDeclaration ad = tm.toParent().isAggregateDeclaration();
if (sc.func && !ad)
{
tm.semantic2(sc2);
tm.semantic3(sc2);
}
// Give additional context info if error occurred during instantiation
if (global.errors != errorsave)
{
tm.error("error instantiating");
tm.errors = true;
}
sc2.pop();
argscope.pop();
scy.pop();
static if (LOG)
{
printf("-TemplateMixin.dsymbolSemantic('%s', this=%p)\n", tm.toChars(), tm);
}
}
override void visit(Nspace ns)
{
if (ns.semanticRun != PASS.init)
return;
static if (LOG)
{
printf("+Nspace::semantic('%s')\n", ns.toChars());
}
if (ns._scope)
{
sc = ns._scope;
ns._scope = null;
}
if (!sc)
return;
ns.semanticRun = PASS.semantic;
ns.parent = sc.parent;
if (ns.members)
{
assert(sc);
sc = sc.push(ns);
sc.linkage = LINK.cpp; // note that namespaces imply C++ linkage
sc.parent = ns;
foreach (s; *ns.members)
{
s.importAll(sc);
}
foreach (s; *ns.members)
{
static if (LOG)
{
printf("\tmember '%s', kind = '%s'\n", s.toChars(), s.kind());
}
s.dsymbolSemantic(sc);
}
sc.pop();
}
ns.semanticRun = PASS.semanticdone;
static if (LOG)
{
printf("-Nspace::semantic('%s')\n", ns.toChars());
}
}
void funcDeclarationSemantic(FuncDeclaration funcdecl)
{
TypeFunction f;
AggregateDeclaration ad;
InterfaceDeclaration id;
version (none)
{
printf("FuncDeclaration::semantic(sc = %p, this = %p, '%s', linkage = %d)\n", sc, funcdecl, funcdecl.toPrettyChars(), sc.linkage);
if (funcdecl.isFuncLiteralDeclaration())
printf("\tFuncLiteralDeclaration()\n");
printf("sc.parent = %s, parent = %s\n", sc.parent.toChars(), funcdecl.parent ? funcdecl.parent.toChars() : "");
printf("type: %p, %s\n", funcdecl.type, funcdecl.type.toChars());
}
if (funcdecl.semanticRun != PASS.init && funcdecl.isFuncLiteralDeclaration())
{
/* Member functions that have return types that are
* forward references can have semantic() run more than
* once on them.
* See test\interface2.d, test20
*/
return;
}
if (funcdecl.semanticRun >= PASS.semanticdone)
return;
assert(funcdecl.semanticRun <= PASS.semantic);
funcdecl.semanticRun = PASS.semantic;
if (funcdecl._scope)
{
sc = funcdecl._scope;
funcdecl._scope = null;
}
if (!sc || funcdecl.errors)
return;
funcdecl.parent = sc.parent;
Dsymbol parent = funcdecl.toParent();
funcdecl.foverrides.setDim(0); // reset in case semantic() is being retried for this function
funcdecl.storage_class |= sc.stc & ~STC.ref_;
ad = funcdecl.isThis();
// Don't nest structs b/c of generated methods which should not access the outer scopes.
// https://issues.dlang.org/show_bug.cgi?id=16627
if (ad && !funcdecl.generated)
{
funcdecl.storage_class |= ad.storage_class & (STC.TYPECTOR | STC.synchronized_);
ad.makeNested();
}
if (sc.func)
funcdecl.storage_class |= sc.func.storage_class & STC.disable;
// Remove prefix storage classes silently.
if ((funcdecl.storage_class & STC.TYPECTOR) && !(ad || funcdecl.isNested()))
funcdecl.storage_class &= ~STC.TYPECTOR;
//printf("function storage_class = x%llx, sc.stc = x%llx, %x\n", storage_class, sc.stc, Declaration::isFinal());
if (sc.flags & SCOPE.compile)
funcdecl.flags |= FUNCFLAG.compileTimeOnly; // don't emit code for this function
FuncLiteralDeclaration fld = funcdecl.isFuncLiteralDeclaration();
if (fld && fld.treq)
{
Type treq = fld.treq;
assert(treq.nextOf().ty == Tfunction);
if (treq.ty == Tdelegate)
fld.tok = TOK.delegate_;
else if (treq.ty == Tpointer && treq.nextOf().ty == Tfunction)
fld.tok = TOK.function_;
else
assert(0);
funcdecl.linkage = treq.nextOf().toTypeFunction().linkage;
}
else
funcdecl.linkage = sc.linkage;
funcdecl.inlining = sc.inlining;
funcdecl.protection = sc.protection;
funcdecl.userAttribDecl = sc.userAttribDecl;
if (!funcdecl.originalType)
funcdecl.originalType = funcdecl.type.syntaxCopy();
if (funcdecl.type.ty != Tfunction)
{
if (funcdecl.type.ty != Terror)
{
funcdecl.error("`%s` must be a function instead of `%s`", funcdecl.toChars(), funcdecl.type.toChars());
funcdecl.type = Type.terror;
}
funcdecl.errors = true;
return;
}
if (!funcdecl.type.deco)
{
sc = sc.push();
sc.stc |= funcdecl.storage_class & (STC.disable | STC.deprecated_); // forward to function type
TypeFunction tf = funcdecl.type.toTypeFunction();
if (sc.func)
{
/* If the nesting parent is pure without inference,
* then this function defaults to pure too.
*
* auto foo() pure {
* auto bar() {} // become a weak purity function
* class C { // nested class
* auto baz() {} // become a weak purity function
* }
*
* static auto boo() {} // typed as impure
* // Even though, boo cannot call any impure functions.
* // See also Expression::checkPurity().
* }
*/
if (tf.purity == PURE.impure && (funcdecl.isNested() || funcdecl.isThis()))
{
FuncDeclaration fd = null;
for (Dsymbol p = funcdecl.toParent2(); p; p = p.toParent2())
{
if (AggregateDeclaration adx = p.isAggregateDeclaration())
{
if (adx.isNested())
continue;
break;
}
if ((fd = p.isFuncDeclaration()) !is null)
break;
}
/* If the parent's purity is inferred, then this function's purity needs
* to be inferred first.
*/
if (fd && fd.isPureBypassingInference() >= PURE.weak && !funcdecl.isInstantiated())
{
tf.purity = PURE.fwdref; // default to pure
}
}
}
if (tf.isref)
sc.stc |= STC.ref_;
if (tf.isscope)
sc.stc |= STC.scope_;
if (tf.isnothrow)
sc.stc |= STC.nothrow_;
if (tf.isnogc)
sc.stc |= STC.nogc;
if (tf.isproperty)
sc.stc |= STC.property;
if (tf.purity == PURE.fwdref)
sc.stc |= STC.pure_;
if (tf.trust != TRUST.default_)
sc.stc &= ~(STC.safe | STC.system | STC.trusted);
if (tf.trust == TRUST.safe)
sc.stc |= STC.safe;
if (tf.trust == TRUST.system)
sc.stc |= STC.system;
if (tf.trust == TRUST.trusted)
sc.stc |= STC.trusted;
if (funcdecl.isCtorDeclaration())
{
sc.flags |= SCOPE.ctor;
Type tret = ad.handleType();
assert(tret);
tret = tret.addStorageClass(funcdecl.storage_class | sc.stc);
tret = tret.addMod(funcdecl.type.mod);
tf.next = tret;
if (ad.isStructDeclaration())
sc.stc |= STC.ref_;
}
// 'return' on a non-static class member function implies 'scope' as well
if (ad && ad.isClassDeclaration() && (tf.isreturn || sc.stc & STC.return_) && !(sc.stc & STC.static_))
sc.stc |= STC.scope_;
// If 'this' has no pointers, remove 'scope' as it has no meaning
if (sc.stc & STC.scope_ && ad && ad.isStructDeclaration() && !ad.type.hasPointers())
{
sc.stc &= ~STC.scope_;
tf.isscope = false;
}
sc.linkage = funcdecl.linkage;
if (!tf.isNaked() && !(funcdecl.isThis() || funcdecl.isNested()))
{
OutBuffer buf;
MODtoBuffer(&buf, tf.mod);
funcdecl.error("without `this` cannot be `%s`", buf.peekString());
tf.mod = 0; // remove qualifiers
}
/* Apply const, immutable, wild and shared storage class
* to the function type. Do this before type semantic.
*/
auto stc = funcdecl.storage_class;
if (funcdecl.type.isImmutable())
stc |= STC.immutable_;
if (funcdecl.type.isConst())
stc |= STC.const_;
if (funcdecl.type.isShared() || funcdecl.storage_class & STC.synchronized_)
stc |= STC.shared_;
if (funcdecl.type.isWild())
stc |= STC.wild;
funcdecl.type = funcdecl.type.addSTC(stc);
funcdecl.type = funcdecl.type.typeSemantic(funcdecl.loc, sc);
sc = sc.pop();
}
if (funcdecl.type.ty != Tfunction)
{
if (funcdecl.type.ty != Terror)
{
funcdecl.error("`%s` must be a function instead of `%s`", funcdecl.toChars(), funcdecl.type.toChars());
funcdecl.type = Type.terror;
}
funcdecl.errors = true;
return;
}
else
{
// Merge back function attributes into 'originalType'.
// It's used for mangling, ddoc, and json output.
TypeFunction tfo = funcdecl.originalType.toTypeFunction();
TypeFunction tfx = funcdecl.type.toTypeFunction();
tfo.mod = tfx.mod;
tfo.isscope = tfx.isscope;
tfo.isscopeinferred = tfx.isscopeinferred;
tfo.isref = tfx.isref;
tfo.isnothrow = tfx.isnothrow;
tfo.isnogc = tfx.isnogc;
tfo.isproperty = tfx.isproperty;
tfo.purity = tfx.purity;
tfo.trust = tfx.trust;
funcdecl.storage_class &= ~(STC.TYPECTOR | STC.FUNCATTR);
}
f = cast(TypeFunction)funcdecl.type;
if ((funcdecl.storage_class & STC.auto_) && !f.isref && !funcdecl.inferRetType)
funcdecl.error("storage class `auto` has no effect if return type is not inferred");
/* Functions can only be 'scope' if they have a 'this'
*/
if (f.isscope && !funcdecl.isNested() && !ad)
{
funcdecl.error("functions cannot be `scope`");
}
if (f.isreturn && !funcdecl.needThis() && !funcdecl.isNested())
{
/* Non-static nested functions have a hidden 'this' pointer to which
* the 'return' applies
*/
funcdecl.error("`static` member has no `this` to which `return` can apply");
}
if (funcdecl.isAbstract() && !funcdecl.isVirtual())
{
const(char)* sfunc;
if (funcdecl.isStatic())
sfunc = "static";
else if (funcdecl.protection.kind == Prot.Kind.private_ || funcdecl.protection.kind == Prot.Kind.package_)
sfunc = protectionToChars(funcdecl.protection.kind);
else
sfunc = "final";
funcdecl.error("`%s` functions cannot be `abstract`", sfunc);
}
if (funcdecl.isOverride() && !funcdecl.isVirtual())
{
Prot.Kind kind = funcdecl.prot().kind;
if ((kind == Prot.Kind.private_ || kind == Prot.Kind.package_) && funcdecl.isMember())
funcdecl.error("`%s` method is not virtual and cannot override", protectionToChars(kind));
else
funcdecl.error("cannot override a non-virtual function");
}
if (funcdecl.isAbstract() && funcdecl.isFinalFunc())
funcdecl.error("cannot be both `final` and `abstract`");
version (none)
{
if (funcdecl.isAbstract() && funcdecl.fbody)
funcdecl.error("`abstract` functions cannot have bodies");
}
version (none)
{
if (funcdecl.isStaticConstructor() || funcdecl.isStaticDestructor())
{
if (!funcdecl.isStatic() || funcdecl.type.nextOf().ty != Tvoid)
funcdecl.error("static constructors / destructors must be `static void`");
if (f.arguments && f.arguments.dim)
funcdecl.error("static constructors / destructors must have empty parameter list");
// BUG: check for invalid storage classes
}
}
id = parent.isInterfaceDeclaration();
if (id)
{
funcdecl.storage_class |= STC.abstract_;
if (funcdecl.isCtorDeclaration() || funcdecl.isPostBlitDeclaration() || funcdecl.isDtorDeclaration() || funcdecl.isInvariantDeclaration() || funcdecl.isNewDeclaration() || funcdecl.isDelete())
funcdecl.error("constructors, destructors, postblits, invariants, new and delete functions are not allowed in interface `%s`", id.toChars());
if (funcdecl.fbody && funcdecl.isVirtual())
funcdecl.error("function body only allowed in `final` functions in interface `%s`", id.toChars());
}
if (UnionDeclaration ud = parent.isUnionDeclaration())
{
if (funcdecl.isPostBlitDeclaration() || funcdecl.isDtorDeclaration() || funcdecl.isInvariantDeclaration())
funcdecl.error("destructors, postblits and invariants are not allowed in union `%s`", ud.toChars());
}
if (StructDeclaration sd = parent.isStructDeclaration())
{
if (funcdecl.isCtorDeclaration())
{
goto Ldone;
}
}
if (ClassDeclaration cd = parent.isClassDeclaration())
{
if (funcdecl.isCtorDeclaration())
{
goto Ldone;
}
if (funcdecl.storage_class & STC.abstract_)
cd.isabstract = Abstract.yes;
// if static function, do not put in vtbl[]
if (!funcdecl.isVirtual())
{
//printf("\tnot virtual\n");
goto Ldone;
}
// Suppress further errors if the return type is an error
if (funcdecl.type.nextOf() == Type.terror)
goto Ldone;
bool may_override = false;
for (size_t i = 0; i < cd.baseclasses.dim; i++)
{
BaseClass* b = (*cd.baseclasses)[i];
ClassDeclaration cbd = b.type.toBasetype().isClassHandle();
if (!cbd)
continue;
for (size_t j = 0; j < cbd.vtbl.dim; j++)
{
FuncDeclaration f2 = cbd.vtbl[j].isFuncDeclaration();
if (!f2 || f2.ident != funcdecl.ident)
continue;
if (cbd.parent && cbd.parent.isTemplateInstance())
{
if (!f2.functionSemantic())
goto Ldone;
}
may_override = true;
}
}
if (may_override && funcdecl.type.nextOf() is null)
{
/* If same name function exists in base class but 'this' is auto return,
* cannot find index of base class's vtbl[] to override.
*/
funcdecl.error("return type inference is not supported if may override base class function");
}
/* Find index of existing function in base class's vtbl[] to override
* (the index will be the same as in cd's current vtbl[])
*/
int vi = cd.baseClass ? funcdecl.findVtblIndex(&cd.baseClass.vtbl, cast(int)cd.baseClass.vtbl.dim) : -1;
bool doesoverride = false;
switch (vi)
{
case -1:
Lintro:
/* Didn't find one, so
* This is an 'introducing' function which gets a new
* slot in the vtbl[].
*/
// Verify this doesn't override previous final function
if (cd.baseClass)
{
Dsymbol s = cd.baseClass.search(funcdecl.loc, funcdecl.ident);
if (s)
{
FuncDeclaration f2 = s.isFuncDeclaration();
if (f2)
{
f2 = f2.overloadExactMatch(funcdecl.type);
if (f2 && f2.isFinalFunc() && f2.prot().kind != Prot.Kind.private_)
funcdecl.error("cannot override `final` function `%s`", f2.toPrettyChars());
}
}
}
/* These quirky conditions mimic what VC++ appears to do
*/
if (global.params.mscoff && cd.classKind == ClassKind.cpp &&
cd.baseClass && cd.baseClass.vtbl.dim)
{
/* if overriding an interface function, then this is not
* introducing and don't put it in the class vtbl[]
*/
funcdecl.interfaceVirtual = funcdecl.overrideInterface();
if (funcdecl.interfaceVirtual)
{
//printf("\tinterface function %s\n", toChars());
cd.vtblFinal.push(funcdecl);
goto Linterfaces;
}
}
if (funcdecl.isFinalFunc())
{
// Don't check here, as it may override an interface function
//if (isOverride())
// error("is marked as override, but does not override any function");
cd.vtblFinal.push(funcdecl);
}
else
{
//printf("\tintroducing function %s\n", toChars());
funcdecl.introducing = 1;
if (cd.classKind == ClassKind.cpp && Target.reverseCppOverloads)
{
// with dmc, overloaded functions are grouped and in reverse order
funcdecl.vtblIndex = cast(int)cd.vtbl.dim;
for (size_t i = 0; i < cd.vtbl.dim; i++)
{
if (cd.vtbl[i].ident == funcdecl.ident && cd.vtbl[i].parent == parent)
{
funcdecl.vtblIndex = cast(int)i;
break;
}
}
// shift all existing functions back
for (size_t i = cd.vtbl.dim; i > funcdecl.vtblIndex; i--)
{
FuncDeclaration fd = cd.vtbl[i - 1].isFuncDeclaration();
assert(fd);
fd.vtblIndex++;
}
cd.vtbl.insert(funcdecl.vtblIndex, funcdecl);
}
else
{
// Append to end of vtbl[]
vi = cast(int)cd.vtbl.dim;
cd.vtbl.push(funcdecl);
funcdecl.vtblIndex = vi;
}
}
break;
case -2:
// can't determine because of forward references
funcdecl.errors = true;
return;
default:
{
FuncDeclaration fdv = cd.baseClass.vtbl[vi].isFuncDeclaration();
FuncDeclaration fdc = cd.vtbl[vi].isFuncDeclaration();
// This function is covariant with fdv
if (fdc == funcdecl)
{
doesoverride = true;
break;
}
if (fdc.toParent() == parent)
{
//printf("vi = %d,\tthis = %p %s %s @ [%s]\n\tfdc = %p %s %s @ [%s]\n\tfdv = %p %s %s @ [%s]\n",
// vi, this, this.toChars(), this.type.toChars(), this.loc.toChars(),
// fdc, fdc .toChars(), fdc .type.toChars(), fdc .loc.toChars(),
// fdv, fdv .toChars(), fdv .type.toChars(), fdv .loc.toChars());
// fdc overrides fdv exactly, then this introduces new function.
if (fdc.type.mod == fdv.type.mod && funcdecl.type.mod != fdv.type.mod)
goto Lintro;
}
if (fdv.isDeprecated)
deprecation(funcdecl.loc, "`%s` is overriding the deprecated method `%s`",
funcdecl.toPrettyChars, fdv.toPrettyChars);
// This function overrides fdv
if (fdv.isFinalFunc())
funcdecl.error("cannot override `final` function `%s`", fdv.toPrettyChars());
if (!funcdecl.isOverride())
{
if (fdv.isFuture())
{
deprecation(funcdecl.loc, "`@__future` base class method `%s` is being overridden by `%s`; rename the latter", fdv.toPrettyChars(), funcdecl.toPrettyChars());
// Treat 'this' as an introducing function, giving it a separate hierarchy in the vtbl[]
goto Lintro;
}
else
{
int vi2 = funcdecl.findVtblIndex(&cd.baseClass.vtbl, cast(int)cd.baseClass.vtbl.dim, false);
if (vi2 < 0)
// https://issues.dlang.org/show_bug.cgi?id=17349
deprecation(funcdecl.loc, "cannot implicitly override base class method `%s` with `%s`; add `override` attribute", fdv.toPrettyChars(), funcdecl.toPrettyChars());
else
error(funcdecl.loc, "cannot implicitly override base class method `%s` with `%s`; add `override` attribute", fdv.toPrettyChars(), funcdecl.toPrettyChars());
}
}
doesoverride = true;
if (fdc.toParent() == parent)
{
// If both are mixins, or both are not, then error.
// If either is not, the one that is not overrides the other.
bool thismixin = funcdecl.parent.isClassDeclaration() !is null;
bool fdcmixin = fdc.parent.isClassDeclaration() !is null;
if (thismixin == fdcmixin)
{
funcdecl.error("multiple overrides of same function");
}
else if (!thismixin) // fdc overrides fdv
{
// this doesn't override any function
break;
}
}
cd.vtbl[vi] = funcdecl;
funcdecl.vtblIndex = vi;
/* Remember which functions this overrides
*/
funcdecl.foverrides.push(fdv);
/* This works by whenever this function is called,
* it actually returns tintro, which gets dynamically
* cast to type. But we know that tintro is a base
* of type, so we could optimize it by not doing a
* dynamic cast, but just subtracting the isBaseOf()
* offset if the value is != null.
*/
if (fdv.tintro)
funcdecl.tintro = fdv.tintro;
else if (!funcdecl.type.equals(fdv.type))
{
/* Only need to have a tintro if the vptr
* offsets differ
*/
int offset;
if (fdv.type.nextOf().isBaseOf(funcdecl.type.nextOf(), &offset))
{
funcdecl.tintro = fdv.type;
}
}
break;
}
}
/* Go through all the interface bases.
* If this function is covariant with any members of those interface
* functions, set the tintro.
*/
Linterfaces:
foreach (b; cd.interfaces)
{
vi = funcdecl.findVtblIndex(&b.sym.vtbl, cast(int)b.sym.vtbl.dim);
switch (vi)
{
case -1:
break;
case -2:
// can't determine because of forward references
funcdecl.errors = true;
return;
default:
{
auto fdv = cast(FuncDeclaration)b.sym.vtbl[vi];
Type ti = null;
/* Remember which functions this overrides
*/
funcdecl.foverrides.push(fdv);
/* Should we really require 'override' when implementing
* an interface function?
*/
//if (!isOverride())
// warning(loc, "overrides base class function %s, but is not marked with 'override'", fdv.toPrettyChars());
if (fdv.tintro)
ti = fdv.tintro;
else if (!funcdecl.type.equals(fdv.type))
{
/* Only need to have a tintro if the vptr
* offsets differ
*/
int offset;
if (fdv.type.nextOf().isBaseOf(funcdecl.type.nextOf(), &offset))
{
ti = fdv.type;
}
}
if (ti)
{
if (funcdecl.tintro)
{
if (!funcdecl.tintro.nextOf().equals(ti.nextOf()) && !funcdecl.tintro.nextOf().isBaseOf(ti.nextOf(), null) && !ti.nextOf().isBaseOf(funcdecl.tintro.nextOf(), null))
{
funcdecl.error("incompatible covariant types `%s` and `%s`", funcdecl.tintro.toChars(), ti.toChars());
}
}
funcdecl.tintro = ti;
}
goto L2;
}
}
}
if (!doesoverride && funcdecl.isOverride() && (funcdecl.type.nextOf() || !may_override))
{
BaseClass* bc = null;
Dsymbol s = null;
for (size_t i = 0; i < cd.baseclasses.dim; i++)
{
bc = (*cd.baseclasses)[i];
s = bc.sym.search_correct(funcdecl.ident);
if (s)
break;
}
if (s)
{
auto fd = s.isFuncDeclaration();
assert(fd);
HdrGenState hgs;
OutBuffer buf1, buf2;
functionToBufferFull(cast(TypeFunction)(fd.type), &buf1,
new Identifier(fd.toPrettyChars()), &hgs, null);
functionToBufferFull(cast(TypeFunction)(funcdecl.type), &buf2,
new Identifier(funcdecl.toPrettyChars()), &hgs, null);
error(funcdecl.loc, "function `%s` does not override any function, did you mean to override `%s`?",
buf2.extractString(), buf1.extractString());
}
else
funcdecl.error("does not override any function");
}
L2:
/* Go through all the interface bases.
* Disallow overriding any final functions in the interface(s).
*/
foreach (b; cd.interfaces)
{
if (b.sym)
{
Dsymbol s = search_function(b.sym, funcdecl.ident);
if (s)
{
FuncDeclaration f2 = s.isFuncDeclaration();
if (f2)
{
f2 = f2.overloadExactMatch(funcdecl.type);
if (f2 && f2.isFinalFunc() && f2.prot().kind != Prot.Kind.private_)
funcdecl.error("cannot override `final` function `%s.%s`", b.sym.toChars(), f2.toPrettyChars());
}
}
}
}
if (funcdecl.isOverride)
{
if (funcdecl.storage_class & STC.disable)
deprecation(funcdecl.loc,
"`%s` cannot be annotated with `@disable` because it is overriding a function in the base class",
funcdecl.toPrettyChars);
if (funcdecl.isDeprecated)
deprecation(funcdecl.loc,
"`%s` cannot be marked as `deprecated` because it is overriding a function in the base class",
funcdecl.toPrettyChars);
}
}
else if (funcdecl.isOverride() && !parent.isTemplateInstance())
funcdecl.error("`override` only applies to class member functions");
// Reflect this.type to f because it could be changed by findVtblIndex
f = funcdecl.type.toTypeFunction();
Ldone:
if (!funcdecl.fbody && !funcdecl.allowsContractWithoutBody())
funcdecl.error("`in` and `out` contracts can only appear without a body when they are virtual interface functions or abstract");
/* Do not allow template instances to add virtual functions
* to a class.
*/
if (funcdecl.isVirtual())
{
TemplateInstance ti = parent.isTemplateInstance();
if (ti)
{
// Take care of nested templates
while (1)
{
TemplateInstance ti2 = ti.tempdecl.parent.isTemplateInstance();
if (!ti2)
break;
ti = ti2;
}
// If it's a member template
ClassDeclaration cd = ti.tempdecl.isClassMember();
if (cd)
{
funcdecl.error("cannot use template to add virtual function to class `%s`", cd.toChars());
}
}
}
if (funcdecl.isMain())
funcdecl.checkDmain(); // Check main() parameters and return type
/* Purity and safety can be inferred for some functions by examining
* the function body.
*/
if (funcdecl.canInferAttributes(sc))
funcdecl.initInferAttributes();
Module.dprogress++;
funcdecl.semanticRun = PASS.semanticdone;
/* Save scope for possible later use (if we need the
* function internals)
*/
funcdecl._scope = sc.copy();
funcdecl._scope.setNoFree();
static __gshared bool printedMain = false; // semantic might run more than once
if (global.params.verbose && !printedMain)
{
const(char)* type = funcdecl.isMain() ? "main" : funcdecl.isWinMain() ? "winmain" : funcdecl.isDllMain() ? "dllmain" : cast(const(char)*)null;
Module mod = sc._module;
if (type && mod)
{
printedMain = true;
const(char)* name = FileName.searchPath(global.path, mod.srcfile.toChars(), true);
message("entry %-10s\t%s", type, name);
}
}
if (funcdecl.fbody && funcdecl.isMain() && sc._module.isRoot())
genCmain(sc);
assert(funcdecl.type.ty != Terror || funcdecl.errors);
}
/// Do the semantic analysis on the external interface to the function.
override void visit(FuncDeclaration funcdecl)
{
funcDeclarationSemantic(funcdecl);
}
override void visit(CtorDeclaration ctd)
{
//printf("CtorDeclaration::semantic() %s\n", toChars());
if (ctd.semanticRun >= PASS.semanticdone)
return;
if (ctd._scope)
{
sc = ctd._scope;
ctd._scope = null;
}
ctd.parent = sc.parent;
Dsymbol p = ctd.toParent2();
AggregateDeclaration ad = p.isAggregateDeclaration();
if (!ad)
{
error(ctd.loc, "constructor can only be a member of aggregate, not %s `%s`", p.kind(), p.toChars());
ctd.type = Type.terror;
ctd.errors = true;
return;
}
sc = sc.push();
sc.stc &= ~STC.static_; // not a static constructor
sc.flags |= SCOPE.ctor;
funcDeclarationSemantic(ctd);
sc.pop();
if (ctd.errors)
return;
TypeFunction tf = ctd.type.toTypeFunction();
/* See if it's the default constructor
* But, template constructor should not become a default constructor.
*/
if (ad && (!ctd.parent.isTemplateInstance() || ctd.parent.isTemplateMixin()))
{
immutable dim = Parameter.dim(tf.parameters);
if (auto sd = ad.isStructDeclaration())
{
if (dim == 0 && tf.varargs == 0) // empty default ctor w/o any varargs
{
if (ctd.fbody || !(ctd.storage_class & STC.disable))
{
ctd.error("default constructor for structs only allowed " ~
"with `@disable`, no body, and no parameters");
ctd.storage_class |= STC.disable;
ctd.fbody = null;
}
sd.noDefaultCtor = true;
}
else if (dim == 0 && tf.varargs) // allow varargs only ctor
{
}
else if (dim && Parameter.getNth(tf.parameters, 0).defaultArg)
{
// if the first parameter has a default argument, then the rest does as well
if (ctd.storage_class & STC.disable)
{
ctd.deprecation("is marked `@disable`, so it cannot have default "~
"arguments for all parameters.");
deprecationSupplemental(ctd.loc, "Use `@disable this();` if you want to disable default initialization.");
}
else
ctd.deprecation("all parameters have default arguments, "~
"but structs cannot have default constructors.");
}
}
else if (dim == 0 && tf.varargs == 0)
{
ad.defaultCtor = ctd;
}
}
}
override void visit(PostBlitDeclaration pbd)
{
//printf("PostBlitDeclaration::semantic() %s\n", toChars());
//printf("ident: %s, %s, %p, %p\n", ident.toChars(), Id::dtor.toChars(), ident, Id::dtor);
//printf("stc = x%llx\n", sc.stc);
if (pbd.semanticRun >= PASS.semanticdone)
return;
if (pbd._scope)
{
sc = pbd._scope;
pbd._scope = null;
}
pbd.parent = sc.parent;
Dsymbol p = pbd.toParent2();
StructDeclaration ad = p.isStructDeclaration();
if (!ad)
{
error(pbd.loc, "postblit can only be a member of struct, not %s `%s`", p.kind(), p.toChars());
pbd.type = Type.terror;
pbd.errors = true;
return;
}
if (pbd.ident == Id.postblit && pbd.semanticRun < PASS.semantic)
ad.postblits.push(pbd);
if (!pbd.type)
pbd.type = new TypeFunction(null, Type.tvoid, false, LINK.d, pbd.storage_class);
sc = sc.push();
sc.stc &= ~STC.static_; // not static
sc.linkage = LINK.d;
funcDeclarationSemantic(pbd);
sc.pop();
}
override void visit(DtorDeclaration dd)
{
//printf("DtorDeclaration::semantic() %s\n", toChars());
//printf("ident: %s, %s, %p, %p\n", ident.toChars(), Id::dtor.toChars(), ident, Id::dtor);
if (dd.semanticRun >= PASS.semanticdone)
return;
if (dd._scope)
{
sc = dd._scope;
dd._scope = null;
}
dd.parent = sc.parent;
Dsymbol p = dd.toParent2();
AggregateDeclaration ad = p.isAggregateDeclaration();
if (!ad)
{
error(dd.loc, "destructor can only be a member of aggregate, not %s `%s`", p.kind(), p.toChars());
dd.type = Type.terror;
dd.errors = true;
return;
}
if (dd.ident == Id.dtor && dd.semanticRun < PASS.semantic)
ad.dtors.push(dd);
if (!dd.type)
dd.type = new TypeFunction(null, Type.tvoid, false, LINK.d, dd.storage_class);
sc = sc.push();
sc.stc &= ~STC.static_; // not a static destructor
if (sc.linkage != LINK.cpp)
sc.linkage = LINK.d;
funcDeclarationSemantic(dd);
sc.pop();
}
override void visit(StaticCtorDeclaration scd)
{
//printf("StaticCtorDeclaration::semantic()\n");
if (scd.semanticRun >= PASS.semanticdone)
return;
if (scd._scope)
{
sc = scd._scope;
scd._scope = null;
}
scd.parent = sc.parent;
Dsymbol p = scd.parent.pastMixin();
if (!p.isScopeDsymbol())
{
const(char)* s = (scd.isSharedStaticCtorDeclaration() ? "shared " : "");
error(scd.loc, "`%sstatic` constructor can only be member of module/aggregate/template, not %s `%s`", s, p.kind(), p.toChars());
scd.type = Type.terror;
scd.errors = true;
return;
}
if (!scd.type)
scd.type = new TypeFunction(null, Type.tvoid, false, LINK.d, scd.storage_class);
/* If the static ctor appears within a template instantiation,
* it could get called multiple times by the module constructors
* for different modules. Thus, protect it with a gate.
*/
if (scd.isInstantiated() && scd.semanticRun < PASS.semantic)
{
/* Add this prefix to the function:
* static int gate;
* if (++gate != 1) return;
* Note that this is not thread safe; should not have threads
* during static construction.
*/
auto v = new VarDeclaration(Loc.initial, Type.tint32, Id.gate, null);
v.storage_class = STC.temp | (scd.isSharedStaticCtorDeclaration() ? STC.static_ : STC.tls);
auto sa = new Statements();
Statement s = new ExpStatement(Loc.initial, v);
sa.push(s);
Expression e = new IdentifierExp(Loc.initial, v.ident);
e = new AddAssignExp(Loc.initial, e, new IntegerExp(1));
e = new EqualExp(TOK.notEqual, Loc.initial, e, new IntegerExp(1));
s = new IfStatement(Loc.initial, null, e, new ReturnStatement(Loc.initial, null), null, Loc.initial);
sa.push(s);
if (scd.fbody)
sa.push(scd.fbody);
scd.fbody = new CompoundStatement(Loc.initial, sa);
}
funcDeclarationSemantic(scd);
// We're going to need ModuleInfo
Module m = scd.getModule();
if (!m)
m = sc._module;
if (m)
{
m.needmoduleinfo = 1;
//printf("module1 %s needs moduleinfo\n", m.toChars());
}
}
override void visit(StaticDtorDeclaration sdd)
{
if (sdd.semanticRun >= PASS.semanticdone)
return;
if (sdd._scope)
{
sc = sdd._scope;
sdd._scope = null;
}
sdd.parent = sc.parent;
Dsymbol p = sdd.parent.pastMixin();
if (!p.isScopeDsymbol())
{
const(char)* s = (sdd.isSharedStaticDtorDeclaration() ? "shared " : "");
error(sdd.loc, "`%sstatic` destructor can only be member of module/aggregate/template, not %s `%s`", s, p.kind(), p.toChars());
sdd.type = Type.terror;
sdd.errors = true;
return;
}
if (!sdd.type)
sdd.type = new TypeFunction(null, Type.tvoid, false, LINK.d, sdd.storage_class);
/* If the static ctor appears within a template instantiation,
* it could get called multiple times by the module constructors
* for different modules. Thus, protect it with a gate.
*/
if (sdd.isInstantiated() && sdd.semanticRun < PASS.semantic)
{
/* Add this prefix to the function:
* static int gate;
* if (--gate != 0) return;
* Increment gate during constructor execution.
* Note that this is not thread safe; should not have threads
* during static destruction.
*/
auto v = new VarDeclaration(Loc.initial, Type.tint32, Id.gate, null);
v.storage_class = STC.temp | (sdd.isSharedStaticDtorDeclaration() ? STC.static_ : STC.tls);
auto sa = new Statements();
Statement s = new ExpStatement(Loc.initial, v);
sa.push(s);
Expression e = new IdentifierExp(Loc.initial, v.ident);
e = new AddAssignExp(Loc.initial, e, new IntegerExp(-1));
e = new EqualExp(TOK.notEqual, Loc.initial, e, new IntegerExp(0));
s = new IfStatement(Loc.initial, null, e, new ReturnStatement(Loc.initial, null), null, Loc.initial);
sa.push(s);
if (sdd.fbody)
sa.push(sdd.fbody);
sdd.fbody = new CompoundStatement(Loc.initial, sa);
sdd.vgate = v;
}
funcDeclarationSemantic(sdd);
// We're going to need ModuleInfo
Module m = sdd.getModule();
if (!m)
m = sc._module;
if (m)
{
m.needmoduleinfo = 1;
//printf("module2 %s needs moduleinfo\n", m.toChars());
}
}
override void visit(InvariantDeclaration invd)
{
if (invd.semanticRun >= PASS.semanticdone)
return;
if (invd._scope)
{
sc = invd._scope;
invd._scope = null;
}
invd.parent = sc.parent;
Dsymbol p = invd.parent.pastMixin();
AggregateDeclaration ad = p.isAggregateDeclaration();
if (!ad)
{
error(invd.loc, "`invariant` can only be a member of aggregate, not %s `%s`", p.kind(), p.toChars());
invd.type = Type.terror;
invd.errors = true;
return;
}
if (invd.ident != Id.classInvariant &&
invd.semanticRun < PASS.semantic &&
!ad.isUnionDeclaration() // users are on their own with union fields
)
ad.invs.push(invd);
if (!invd.type)
invd.type = new TypeFunction(null, Type.tvoid, false, LINK.d, invd.storage_class);
sc = sc.push();
sc.stc &= ~STC.static_; // not a static invariant
sc.stc |= STC.const_; // invariant() is always const
sc.flags = (sc.flags & ~SCOPE.contract) | SCOPE.invariant_;
sc.linkage = LINK.d;
funcDeclarationSemantic(invd);
sc.pop();
}
override void visit(UnitTestDeclaration utd)
{
if (utd.semanticRun >= PASS.semanticdone)
return;
if (utd._scope)
{
sc = utd._scope;
utd._scope = null;
}
utd.protection = sc.protection;
utd.parent = sc.parent;
Dsymbol p = utd.parent.pastMixin();
if (!p.isScopeDsymbol())
{
error(utd.loc, "`unittest` can only be a member of module/aggregate/template, not %s `%s`", p.kind(), p.toChars());
utd.type = Type.terror;
utd.errors = true;
return;
}
if (global.params.useUnitTests)
{
if (!utd.type)
utd.type = new TypeFunction(null, Type.tvoid, false, LINK.d, utd.storage_class);
Scope* sc2 = sc.push();
sc2.linkage = LINK.d;
funcDeclarationSemantic(utd);
sc2.pop();
}
version (none)
{
// We're going to need ModuleInfo even if the unit tests are not
// compiled in, because other modules may import this module and refer
// to this ModuleInfo.
// (This doesn't make sense to me?)
Module m = utd.getModule();
if (!m)
m = sc._module;
if (m)
{
//printf("module3 %s needs moduleinfo\n", m.toChars());
m.needmoduleinfo = 1;
}
}
}
override void visit(NewDeclaration nd)
{
//printf("NewDeclaration::semantic()\n");
if (nd.semanticRun >= PASS.semanticdone)
return;
if (nd._scope)
{
sc = nd._scope;
nd._scope = null;
}
nd.parent = sc.parent;
Dsymbol p = nd.parent.pastMixin();
if (!p.isAggregateDeclaration())
{
error(nd.loc, "allocator can only be a member of aggregate, not %s `%s`", p.kind(), p.toChars());
nd.type = Type.terror;
nd.errors = true;
return;
}
Type tret = Type.tvoid.pointerTo();
if (!nd.type)
nd.type = new TypeFunction(nd.parameters, tret, nd.varargs, LINK.d, nd.storage_class);
nd.type = nd.type.typeSemantic(nd.loc, sc);
// Check that there is at least one argument of type size_t
TypeFunction tf = nd.type.toTypeFunction();
if (Parameter.dim(tf.parameters) < 1)
{
nd.error("at least one argument of type `size_t` expected");
}
else
{
Parameter fparam = Parameter.getNth(tf.parameters, 0);
if (!fparam.type.equals(Type.tsize_t))
nd.error("first argument must be type `size_t`, not `%s`", fparam.type.toChars());
}
funcDeclarationSemantic(nd);
}
override void visit(DeleteDeclaration deld)
{
//printf("DeleteDeclaration::semantic()\n");
if (deld.semanticRun >= PASS.semanticdone)
return;
if (deld._scope)
{
sc = deld._scope;
deld._scope = null;
}
deld.parent = sc.parent;
Dsymbol p = deld.parent.pastMixin();
if (!p.isAggregateDeclaration())
{
error(deld.loc, "deallocator can only be a member of aggregate, not %s `%s`", p.kind(), p.toChars());
deld.type = Type.terror;
deld.errors = true;
return;
}
if (!deld.type)
deld.type = new TypeFunction(deld.parameters, Type.tvoid, 0, LINK.d, deld.storage_class);
deld.type = deld.type.typeSemantic(deld.loc, sc);
// Check that there is only one argument of type void*
TypeFunction tf = deld.type.toTypeFunction();
if (Parameter.dim(tf.parameters) != 1)
{
deld.error("one argument of type `void*` expected");
}
else
{
Parameter fparam = Parameter.getNth(tf.parameters, 0);
if (!fparam.type.equals(Type.tvoid.pointerTo()))
deld.error("one argument of type `void*` expected, not `%s`", fparam.type.toChars());
}
funcDeclarationSemantic(deld);
}
override void visit(StructDeclaration sd)
{
//printf("StructDeclaration::semantic(this=%p, '%s', sizeok = %d)\n", this, toPrettyChars(), sizeok);
//static int count; if (++count == 20) assert(0);
if (sd.semanticRun >= PASS.semanticdone)
return;
int errors = global.errors;
//printf("+StructDeclaration::semantic(this=%p, '%s', sizeok = %d)\n", this, toPrettyChars(), sizeok);
Scope* scx = null;
if (sd._scope)
{
sc = sd._scope;
scx = sd._scope; // save so we don't make redundant copies
sd._scope = null;
}
if (!sd.parent)
{
assert(sc.parent && sc.func);
sd.parent = sc.parent;
}
assert(sd.parent && !sd.isAnonymous());
if (sd.errors)
sd.type = Type.terror;
if (sd.semanticRun == PASS.init)
sd.type = sd.type.addSTC(sc.stc | sd.storage_class);
sd.type = sd.type.typeSemantic(sd.loc, sc);
if (sd.type.ty == Tstruct && (cast(TypeStruct)sd.type).sym != sd)
{
auto ti = (cast(TypeStruct)sd.type).sym.isInstantiated();
if (ti && isError(ti))
(cast(TypeStruct)sd.type).sym = sd;
}
// Ungag errors when not speculative
Ungag ungag = sd.ungagSpeculative();
if (sd.semanticRun == PASS.init)
{
sd.protection = sc.protection;
sd.alignment = sc.alignment();
sd.storage_class |= sc.stc;
if (sd.storage_class & STC.deprecated_)
sd.isdeprecated = true;
if (sd.storage_class & STC.abstract_)
sd.error("structs, unions cannot be `abstract`");
sd.userAttribDecl = sc.userAttribDecl;
}
else if (sd.symtab && !scx)
return;
sd.semanticRun = PASS.semantic;
if (!sd.members) // if opaque declaration
{
sd.semanticRun = PASS.semanticdone;
return;
}
if (!sd.symtab)
{
sd.symtab = new DsymbolTable();
for (size_t i = 0; i < sd.members.dim; i++)
{
auto s = (*sd.members)[i];
//printf("adding member '%s' to '%s'\n", s.toChars(), this.toChars());
s.addMember(sc, sd);
}
}
auto sc2 = sd.newScope(sc);
/* Set scope so if there are forward references, we still might be able to
* resolve individual members like enums.
*/
for (size_t i = 0; i < sd.members.dim; i++)
{
auto s = (*sd.members)[i];
//printf("struct: setScope %s %s\n", s.kind(), s.toChars());
s.setScope(sc2);
}
for (size_t i = 0; i < sd.members.dim; i++)
{
auto s = (*sd.members)[i];
s.importAll(sc2);
}
for (size_t i = 0; i < sd.members.dim; i++)
{
auto s = (*sd.members)[i];
s.dsymbolSemantic(sc2);
sd.errors |= s.errors;
}
if (sd.errors)
sd.type = Type.terror;
if (!sd.determineFields())
{
if (sd.type.ty != Terror)
{
sd.error(sd.loc, "circular or forward reference");
sd.errors = true;
sd.type = Type.terror;
}
sc2.pop();
sd.semanticRun = PASS.semanticdone;
return;
}
/* Following special member functions creation needs semantic analysis
* completion of sub-structs in each field types. For example, buildDtor
* needs to check existence of elaborate dtor in type of each fields.
* See the case in compilable/test14838.d
*/
foreach (v; sd.fields)
{
Type tb = v.type.baseElemOf();
if (tb.ty != Tstruct)
continue;
auto sdec = (cast(TypeStruct)tb).sym;
if (sdec.semanticRun >= PASS.semanticdone)
continue;
sc2.pop();
sd._scope = scx ? scx : sc.copy();
sd._scope.setNoFree();
sd._scope._module.addDeferredSemantic(sd);
//printf("\tdeferring %s\n", toChars());
return;
}
/* Look for special member functions.
*/
sd.aggNew = cast(NewDeclaration)sd.search(Loc.initial, Id.classNew);
sd.aggDelete = cast(DeleteDeclaration)sd.search(Loc.initial, Id.classDelete);
// Look for the constructor
sd.ctor = sd.searchCtor();
sd.dtor = buildDtor(sd, sc2);
sd.postblit = buildPostBlit(sd, sc2);
buildOpAssign(sd, sc2);
buildOpEquals(sd, sc2);
if (global.params.useTypeInfo && Type.dtypeinfo) // these functions are used for TypeInfo
{
sd.xeq = buildXopEquals(sd, sc2);
sd.xcmp = buildXopCmp(sd, sc2);
sd.xhash = buildXtoHash(sd, sc2);
}
sd.inv = buildInv(sd, sc2);
Module.dprogress++;
sd.semanticRun = PASS.semanticdone;
//printf("-StructDeclaration::semantic(this=%p, '%s')\n", this, toChars());
sc2.pop();
if (sd.ctor)
{
Dsymbol scall = sd.search(Loc.initial, Id.call);
if (scall)
{
uint xerrors = global.startGagging();
sc = sc.push();
sc.tinst = null;
sc.minst = null;
auto fcall = resolveFuncCall(sd.loc, sc, scall, null, null, null, 1);
sc = sc.pop();
global.endGagging(xerrors);
if (fcall && fcall.isStatic())
{
sd.error(fcall.loc, "`static opCall` is hidden by constructors and can never be called");
errorSupplemental(fcall.loc, "Please use a factory method instead, or replace all constructors with `static opCall`.");
}
}
}
if (global.errors != errors)
{
// The type is no good.
sd.type = Type.terror;
sd.errors = true;
if (sd.deferred)
sd.deferred.errors = true;
}
if (sd.deferred && !global.gag)
{
sd.deferred.semantic2(sc);
sd.deferred.semantic3(sc);
}
version (none)
{
if (sd.type.ty == Tstruct && (cast(TypeStruct)sd.type).sym != sd)
{
printf("this = %p %s\n", sd, sd.toChars());
printf("type = %d sym = %p\n", sd.type.ty, (cast(TypeStruct)sd.type).sym);
}
}
assert(sd.type.ty != Tstruct || (cast(TypeStruct)sd.type).sym == sd);
}
final void interfaceSemantic(ClassDeclaration cd)
{
cd.vtblInterfaces = new BaseClasses();
cd.vtblInterfaces.reserve(cd.interfaces.length);
foreach (b; cd.interfaces)
{
cd.vtblInterfaces.push(b);
b.copyBaseInterfaces(cd.vtblInterfaces);
}
}
override void visit(ClassDeclaration cldec)
{
//printf("ClassDeclaration.dsymbolSemantic(%s), type = %p, sizeok = %d, this = %p\n", toChars(), type, sizeok, this);
//printf("\tparent = %p, '%s'\n", sc.parent, sc.parent ? sc.parent.toChars() : "");
//printf("sc.stc = %x\n", sc.stc);
//{ static int n; if (++n == 20) *(char*)0=0; }
if (cldec.semanticRun >= PASS.semanticdone)
return;
int errors = global.errors;
//printf("+ClassDeclaration.dsymbolSemantic(%s), type = %p, sizeok = %d, this = %p\n", toChars(), type, sizeok, this);
Scope* scx = null;
if (cldec._scope)
{
sc = cldec._scope;
scx = cldec._scope; // save so we don't make redundant copies
cldec._scope = null;
}
if (!cldec.parent)
{
assert(sc.parent);
cldec.parent = sc.parent;
}
if (cldec.errors)
cldec.type = Type.terror;
cldec.type = cldec.type.typeSemantic(cldec.loc, sc);
if (cldec.type.ty == Tclass && (cast(TypeClass)cldec.type).sym != cldec)
{
auto ti = (cast(TypeClass)cldec.type).sym.isInstantiated();
if (ti && isError(ti))
(cast(TypeClass)cldec.type).sym = cldec;
}
// Ungag errors when not speculative
Ungag ungag = cldec.ungagSpeculative();
if (cldec.semanticRun == PASS.init)
{
cldec.protection = sc.protection;
cldec.storage_class |= sc.stc;
if (cldec.storage_class & STC.deprecated_)
cldec.isdeprecated = true;
if (cldec.storage_class & STC.auto_)
cldec.error("storage class `auto` is invalid when declaring a class, did you mean to use `scope`?");
if (cldec.storage_class & STC.scope_)
cldec.stack = true;
if (cldec.storage_class & STC.abstract_)
cldec.isabstract = Abstract.yes;
cldec.userAttribDecl = sc.userAttribDecl;
if (sc.linkage == LINK.cpp)
cldec.classKind = ClassKind.cpp;
if (sc.linkage == LINK.objc)
objc.setObjc(cldec);
}
else if (cldec.symtab && !scx)
{
cldec.semanticRun = PASS.semanticdone;
return;
}
cldec.semanticRun = PASS.semantic;
if (cldec.baseok < Baseok.done)
{
/* https://issues.dlang.org/show_bug.cgi?id=12078
* https://issues.dlang.org/show_bug.cgi?id=12143
* https://issues.dlang.org/show_bug.cgi?id=15733
* While resolving base classes and interfaces, a base may refer
* the member of this derived class. In that time, if all bases of
* this class can be determined, we can go forward the semantc process
* beyond the Lancestorsdone. To do the recursive semantic analysis,
* temporarily set and unset `_scope` around exp().
*/
T resolveBase(T)(lazy T exp)
{
if (!scx)
{
scx = sc.copy();
scx.setNoFree();
}
static if (!is(T == void))
{
cldec._scope = scx;
auto r = exp();
cldec._scope = null;
return r;
}
else
{
cldec._scope = scx;
exp();
cldec._scope = null;
}
}
cldec.baseok = Baseok.start;
// Expand any tuples in baseclasses[]
for (size_t i = 0; i < cldec.baseclasses.dim;)
{
auto b = (*cldec.baseclasses)[i];
b.type = resolveBase(b.type.typeSemantic(cldec.loc, sc));
Type tb = b.type.toBasetype();
if (tb.ty == Ttuple)
{
TypeTuple tup = cast(TypeTuple)tb;
cldec.baseclasses.remove(i);
size_t dim = Parameter.dim(tup.arguments);
for (size_t j = 0; j < dim; j++)
{
Parameter arg = Parameter.getNth(tup.arguments, j);
b = new BaseClass(arg.type);
cldec.baseclasses.insert(i + j, b);
}
}
else
i++;
}
if (cldec.baseok >= Baseok.done)
{
//printf("%s already semantic analyzed, semanticRun = %d\n", toChars(), semanticRun);
if (cldec.semanticRun >= PASS.semanticdone)
return;
goto Lancestorsdone;
}
// See if there's a base class as first in baseclasses[]
if (cldec.baseclasses.dim)
{
BaseClass* b = (*cldec.baseclasses)[0];
Type tb = b.type.toBasetype();
TypeClass tc = (tb.ty == Tclass) ? cast(TypeClass)tb : null;
if (!tc)
{
if (b.type != Type.terror)
cldec.error("base type must be `class` or `interface`, not `%s`", b.type.toChars());
cldec.baseclasses.remove(0);
goto L7;
}
if (tc.sym.isDeprecated())
{
if (!cldec.isDeprecated())
{
// Deriving from deprecated class makes this one deprecated too
cldec.isdeprecated = true;
tc.checkDeprecated(cldec.loc, sc);
}
}
if (tc.sym.isInterfaceDeclaration())
goto L7;
for (ClassDeclaration cdb = tc.sym; cdb; cdb = cdb.baseClass)
{
if (cdb == cldec)
{
cldec.error("circular inheritance");
cldec.baseclasses.remove(0);
goto L7;
}
}
/* https://issues.dlang.org/show_bug.cgi?id=11034
* Class inheritance hierarchy
* and instance size of each classes are orthogonal information.
* Therefore, even if tc.sym.sizeof == Sizeok.none,
* we need to set baseClass field for class covariance check.
*/
cldec.baseClass = tc.sym;
b.sym = cldec.baseClass;
if (tc.sym.baseok < Baseok.done)
resolveBase(tc.sym.dsymbolSemantic(null)); // Try to resolve forward reference
if (tc.sym.baseok < Baseok.done)
{
//printf("\ttry later, forward reference of base class %s\n", tc.sym.toChars());
if (tc.sym._scope)
tc.sym._scope._module.addDeferredSemantic(tc.sym);
cldec.baseok = Baseok.none;
}
L7:
}
// Treat the remaining entries in baseclasses as interfaces
// Check for errors, handle forward references
bool multiClassError = false;
for (size_t i = (cldec.baseClass ? 1 : 0); i < cldec.baseclasses.dim;)
{
BaseClass* b = (*cldec.baseclasses)[i];
Type tb = b.type.toBasetype();
TypeClass tc = (tb.ty == Tclass) ? cast(TypeClass)tb : null;
if (!tc || !tc.sym.isInterfaceDeclaration())
{
// It's a class
if (tc)
{
if (!multiClassError)
{
error(cldec.loc,"`%s`: multiple class inheritance is not supported." ~
" Use multiple interface inheritance and/or composition.", cldec.toPrettyChars());
multiClassError = true;
}
if (tc.sym.fields.dim)
errorSupplemental(cldec.loc,"`%s` has fields, consider making it a member of `%s`",
b.type.toChars(), cldec.type.toChars());
else
errorSupplemental(cldec.loc,"`%s` has no fields, consider making it an `interface`",
b.type.toChars());
}
// It's something else: e.g. `int` in `class Foo : Bar, int { ... }`
else if (b.type != Type.terror)
{
error(cldec.loc,"`%s`: base type must be `interface`, not `%s`",
cldec.toPrettyChars(), b.type.toChars());
}
cldec.baseclasses.remove(i);
continue;
}
// Check for duplicate interfaces
for (size_t j = (cldec.baseClass ? 1 : 0); j < i; j++)
{
BaseClass* b2 = (*cldec.baseclasses)[j];
if (b2.sym == tc.sym)
{
cldec.error("inherits from duplicate interface `%s`", b2.sym.toChars());
cldec.baseclasses.remove(i);
continue;
}
}
if (tc.sym.isDeprecated())
{
if (!cldec.isDeprecated())
{
// Deriving from deprecated class makes this one deprecated too
cldec.isdeprecated = true;
tc.checkDeprecated(cldec.loc, sc);
}
}
b.sym = tc.sym;
if (tc.sym.baseok < Baseok.done)
resolveBase(tc.sym.dsymbolSemantic(null)); // Try to resolve forward reference
if (tc.sym.baseok < Baseok.done)
{
//printf("\ttry later, forward reference of base %s\n", tc.sym.toChars());
if (tc.sym._scope)
tc.sym._scope._module.addDeferredSemantic(tc.sym);
cldec.baseok = Baseok.none;
}
i++;
}
if (cldec.baseok == Baseok.none)
{
// Forward referencee of one or more bases, try again later
cldec._scope = scx ? scx : sc.copy();
cldec._scope.setNoFree();
cldec._scope._module.addDeferredSemantic(cldec);
//printf("\tL%d semantic('%s') failed due to forward references\n", __LINE__, toChars());
return;
}
cldec.baseok = Baseok.done;
// If no base class, and this is not an Object, use Object as base class
if (!cldec.baseClass && cldec.ident != Id.Object && !cldec.classKind == ClassKind.cpp)
{
void badObjectDotD()
{
cldec.error("missing or corrupt object.d");
fatal();
}
if (!cldec.object || cldec.object.errors)
badObjectDotD();
Type t = cldec.object.type;
t = t.typeSemantic(cldec.loc, sc).toBasetype();
if (t.ty == Terror)
badObjectDotD();
assert(t.ty == Tclass);
TypeClass tc = cast(TypeClass)t;
auto b = new BaseClass(tc);
cldec.baseclasses.shift(b);
cldec.baseClass = tc.sym;
assert(!cldec.baseClass.isInterfaceDeclaration());
b.sym = cldec.baseClass;
}
if (cldec.baseClass)
{
if (cldec.baseClass.storage_class & STC.final_)
cldec.error("cannot inherit from class `%s` because it is `final`", cldec.baseClass.toChars());
// Inherit properties from base class
if (cldec.baseClass.isCOMclass())
cldec.com = true;
if (cldec.baseClass.isCPPclass())
cldec.classKind = ClassKind.cpp;
if (cldec.baseClass.stack)
cldec.stack = true;
cldec.enclosing = cldec.baseClass.enclosing;
cldec.storage_class |= cldec.baseClass.storage_class & STC.TYPECTOR;
}
cldec.interfaces = cldec.baseclasses.tdata()[(cldec.baseClass ? 1 : 0) .. cldec.baseclasses.dim];
foreach (b; cldec.interfaces)
{
// If this is an interface, and it derives from a COM interface,
// then this is a COM interface too.
if (b.sym.isCOMinterface())
cldec.com = true;
if (cldec.classKind == ClassKind.cpp && !b.sym.isCPPinterface())
{
error(cldec.loc, "C++ class `%s` cannot implement D interface `%s`",
cldec.toPrettyChars(), b.sym.toPrettyChars());
}
}
interfaceSemantic(cldec);
}
Lancestorsdone:
//printf("\tClassDeclaration.dsymbolSemantic(%s) baseok = %d\n", toChars(), baseok);
if (!cldec.members) // if opaque declaration
{
cldec.semanticRun = PASS.semanticdone;
return;
}
if (!cldec.symtab)
{
cldec.symtab = new DsymbolTable();
/* https://issues.dlang.org/show_bug.cgi?id=12152
* The semantic analysis of base classes should be finished
* before the members semantic analysis of this class, in order to determine
* vtbl in this class. However if a base class refers the member of this class,
* it can be resolved as a normal forward reference.
* Call addMember() and setScope() to make this class members visible from the base classes.
*/
for (size_t i = 0; i < cldec.members.dim; i++)
{
auto s = (*cldec.members)[i];
s.addMember(sc, cldec);
}
auto sc2 = cldec.newScope(sc);
/* Set scope so if there are forward references, we still might be able to
* resolve individual members like enums.
*/
for (size_t i = 0; i < cldec.members.dim; i++)
{
auto s = (*cldec.members)[i];
//printf("[%d] setScope %s %s, sc2 = %p\n", i, s.kind(), s.toChars(), sc2);
s.setScope(sc2);
}
sc2.pop();
}
for (size_t i = 0; i < cldec.baseclasses.dim; i++)
{
BaseClass* b = (*cldec.baseclasses)[i];
Type tb = b.type.toBasetype();
assert(tb.ty == Tclass);
TypeClass tc = cast(TypeClass)tb;
if (tc.sym.semanticRun < PASS.semanticdone)
{
// Forward referencee of one or more bases, try again later
cldec._scope = scx ? scx : sc.copy();
cldec._scope.setNoFree();
if (tc.sym._scope)
tc.sym._scope._module.addDeferredSemantic(tc.sym);
cldec._scope._module.addDeferredSemantic(cldec);
//printf("\tL%d semantic('%s') failed due to forward references\n", __LINE__, toChars());
return;
}
}
if (cldec.baseok == Baseok.done)
{
cldec.baseok = Baseok.semanticdone;
// initialize vtbl
if (cldec.baseClass)
{
if (cldec.classKind == ClassKind.cpp && cldec.baseClass.vtbl.dim == 0)
{
cldec.error("C++ base class `%s` needs at least one virtual function", cldec.baseClass.toChars());
}
// Copy vtbl[] from base class
cldec.vtbl.setDim(cldec.baseClass.vtbl.dim);
memcpy(cldec.vtbl.tdata(), cldec.baseClass.vtbl.tdata(), (void*).sizeof * cldec.vtbl.dim);
cldec.vthis = cldec.baseClass.vthis;
}
else
{
// No base class, so this is the root of the class hierarchy
cldec.vtbl.setDim(0);
if (cldec.vtblOffset())
cldec.vtbl.push(cldec); // leave room for classinfo as first member
}
/* If this is a nested class, add the hidden 'this'
* member which is a pointer to the enclosing scope.
*/
if (cldec.vthis) // if inheriting from nested class
{
// Use the base class's 'this' member
if (cldec.storage_class & STC.static_)
cldec.error("static class cannot inherit from nested class `%s`", cldec.baseClass.toChars());
if (cldec.toParent2() != cldec.baseClass.toParent2() &&
(!cldec.toParent2() ||
!cldec.baseClass.toParent2().getType() ||
!cldec.baseClass.toParent2().getType().isBaseOf(cldec.toParent2().getType(), null)))
{
if (cldec.toParent2())
{
cldec.error("is nested within `%s`, but super class `%s` is nested within `%s`",
cldec.toParent2().toChars(),
cldec.baseClass.toChars(),
cldec.baseClass.toParent2().toChars());
}
else
{
cldec.error("is not nested, but super class `%s` is nested within `%s`",
cldec.baseClass.toChars(),
cldec.baseClass.toParent2().toChars());
}
cldec.enclosing = null;
}
}
else
cldec.makeNested();
}
auto sc2 = cldec.newScope(sc);
for (size_t i = 0; i < cldec.members.dim; ++i)
{
auto s = (*cldec.members)[i];
s.importAll(sc2);
}
// Note that members.dim can grow due to tuple expansion during semantic()
for (size_t i = 0; i < cldec.members.dim; ++i)
{
auto s = (*cldec.members)[i];
s.dsymbolSemantic(sc2);
}
if (!cldec.determineFields())
{
assert(cldec.type == Type.terror);
sc2.pop();
return;
}
/* Following special member functions creation needs semantic analysis
* completion of sub-structs in each field types.
*/
foreach (v; cldec.fields)
{
Type tb = v.type.baseElemOf();
if (tb.ty != Tstruct)
continue;
auto sd = (cast(TypeStruct)tb).sym;
if (sd.semanticRun >= PASS.semanticdone)
continue;
sc2.pop();
cldec._scope = scx ? scx : sc.copy();
cldec._scope.setNoFree();
cldec._scope._module.addDeferredSemantic(cldec);
//printf("\tdeferring %s\n", toChars());
return;
}
/* Look for special member functions.
* They must be in this class, not in a base class.
*/
// Can be in base class
cldec.aggNew = cast(NewDeclaration)cldec.search(Loc.initial, Id.classNew);
cldec.aggDelete = cast(DeleteDeclaration)cldec.search(Loc.initial, Id.classDelete);
// Look for the constructor
cldec.ctor = cldec.searchCtor();
if (!cldec.ctor && cldec.noDefaultCtor)
{
// A class object is always created by constructor, so this check is legitimate.
foreach (v; cldec.fields)
{
if (v.storage_class & STC.nodefaultctor)
error(v.loc, "field `%s` must be initialized in constructor", v.toChars());
}
}
// If this class has no constructor, but base class has a default
// ctor, create a constructor:
// this() { }
if (!cldec.ctor && cldec.baseClass && cldec.baseClass.ctor)
{
auto fd = resolveFuncCall(cldec.loc, sc2, cldec.baseClass.ctor, null, cldec.type, null, 1);
if (!fd) // try shared base ctor instead
fd = resolveFuncCall(cldec.loc, sc2, cldec.baseClass.ctor, null, cldec.type.sharedOf, null, 1);
if (fd && !fd.errors)
{
//printf("Creating default this(){} for class %s\n", toChars());
auto btf = fd.type.toTypeFunction();
auto tf = new TypeFunction(null, null, 0, LINK.d, fd.storage_class);
tf.mod = btf.mod;
tf.purity = btf.purity;
tf.isnothrow = btf.isnothrow;
tf.isnogc = btf.isnogc;
tf.trust = btf.trust;
auto ctor = new CtorDeclaration(cldec.loc, Loc.initial, 0, tf);
ctor.fbody = new CompoundStatement(Loc.initial, new Statements());
cldec.members.push(ctor);
ctor.addMember(sc, cldec);
ctor.dsymbolSemantic(sc2);
cldec.ctor = ctor;
cldec.defaultCtor = ctor;
}
else
{
cldec.error("cannot implicitly generate a default constructor when base class `%s` is missing a default constructor",
cldec.baseClass.toPrettyChars());
}
}
cldec.dtor = buildDtor(cldec, sc2);
if (auto f = hasIdentityOpAssign(cldec, sc2))
{
if (!(f.storage_class & STC.disable))
cldec.error(f.loc, "identity assignment operator overload is illegal");
}
cldec.inv = buildInv(cldec, sc2);
Module.dprogress++;
cldec.semanticRun = PASS.semanticdone;
//printf("-ClassDeclaration.dsymbolSemantic(%s), type = %p\n", toChars(), type);
//members.print();
sc2.pop();
/* isAbstract() is undecidable in some cases because of circular dependencies.
* Now that semantic is finished, get a definitive result, and error if it is not the same.
*/
if (cldec.isabstract != Abstract.fwdref) // if evaluated it before completion
{
const isabstractsave = cldec.isabstract;
cldec.isabstract = Abstract.fwdref;
cldec.isAbstract(); // recalculate
if (cldec.isabstract != isabstractsave)
{
cldec.error("cannot infer `abstract` attribute due to circular dependencies");
}
}
if (cldec.type.ty == Tclass && (cast(TypeClass)cldec.type).sym != cldec)
{
// https://issues.dlang.org/show_bug.cgi?id=17492
ClassDeclaration cd = (cast(TypeClass)cldec.type).sym;
version (none)
{
printf("this = %p %s\n", cldec, cldec.toPrettyChars());
printf("type = %d sym = %p, %s\n", cldec.type.ty, cd, cd.toPrettyChars());
}
cldec.error("already exists at %s. Perhaps in another function with the same name?", cd.loc.toChars());
}
if (global.errors != errors)
{
// The type is no good.
cldec.type = Type.terror;
cldec.errors = true;
if (cldec.deferred)
cldec.deferred.errors = true;
}
// Verify fields of a synchronized class are not public
if (cldec.storage_class & STC.synchronized_)
{
foreach (vd; cldec.fields)
{
if (!vd.isThisDeclaration() &&
!vd.prot().isMoreRestrictiveThan(Prot(Prot.Kind.public_)))
{
vd.error("Field members of a `synchronized` class cannot be `%s`",
protectionToChars(vd.prot().kind));
}
}
}
if (cldec.deferred && !global.gag)
{
cldec.deferred.semantic2(sc);
cldec.deferred.semantic3(sc);
}
//printf("-ClassDeclaration.dsymbolSemantic(%s), type = %p, sizeok = %d, this = %p\n", toChars(), type, sizeok, this);
}
override void visit(InterfaceDeclaration idec)
{
//printf("InterfaceDeclaration.dsymbolSemantic(%s), type = %p\n", toChars(), type);
if (idec.semanticRun >= PASS.semanticdone)
return;
int errors = global.errors;
//printf("+InterfaceDeclaration.dsymbolSemantic(%s), type = %p\n", toChars(), type);
Scope* scx = null;
if (idec._scope)
{
sc = idec._scope;
scx = idec._scope; // save so we don't make redundant copies
idec._scope = null;
}
if (!idec.parent)
{
assert(sc.parent && sc.func);
idec.parent = sc.parent;
}
assert(idec.parent && !idec.isAnonymous());
if (idec.errors)
idec.type = Type.terror;
idec.type = idec.type.typeSemantic(idec.loc, sc);
if (idec.type.ty == Tclass && (cast(TypeClass)idec.type).sym != idec)
{
auto ti = (cast(TypeClass)idec.type).sym.isInstantiated();
if (ti && isError(ti))
(cast(TypeClass)idec.type).sym = idec;
}
// Ungag errors when not speculative
Ungag ungag = idec.ungagSpeculative();
if (idec.semanticRun == PASS.init)
{
idec.protection = sc.protection;
idec.storage_class |= sc.stc;
if (idec.storage_class & STC.deprecated_)
idec.isdeprecated = true;
idec.userAttribDecl = sc.userAttribDecl;
}
else if (idec.symtab)
{
if (idec.sizeok == Sizeok.done || !scx)
{
idec.semanticRun = PASS.semanticdone;
return;
}
}
idec.semanticRun = PASS.semantic;
if (idec.baseok < Baseok.done)
{
T resolveBase(T)(lazy T exp)
{
if (!scx)
{
scx = sc.copy();
scx.setNoFree();
}
static if (!is(T == void))
{
idec._scope = scx;
auto r = exp();
idec._scope = null;
return r;
}
else
{
idec._scope = scx;
exp();
idec._scope = null;
}
}
idec.baseok = Baseok.start;
// Expand any tuples in baseclasses[]
for (size_t i = 0; i < idec.baseclasses.dim;)
{
auto b = (*idec.baseclasses)[i];
b.type = resolveBase(b.type.typeSemantic(idec.loc, sc));
Type tb = b.type.toBasetype();
if (tb.ty == Ttuple)
{
TypeTuple tup = cast(TypeTuple)tb;
idec.baseclasses.remove(i);
size_t dim = Parameter.dim(tup.arguments);
for (size_t j = 0; j < dim; j++)
{
Parameter arg = Parameter.getNth(tup.arguments, j);
b = new BaseClass(arg.type);
idec.baseclasses.insert(i + j, b);
}
}
else
i++;
}
if (idec.baseok >= Baseok.done)
{
//printf("%s already semantic analyzed, semanticRun = %d\n", toChars(), semanticRun);
if (idec.semanticRun >= PASS.semanticdone)
return;
goto Lancestorsdone;
}
if (!idec.baseclasses.dim && sc.linkage == LINK.cpp)
idec.classKind = ClassKind.cpp;
if (sc.linkage == LINK.objc)
objc.setObjc(idec);
// Check for errors, handle forward references
for (size_t i = 0; i < idec.baseclasses.dim;)
{
BaseClass* b = (*idec.baseclasses)[i];
Type tb = b.type.toBasetype();
TypeClass tc = (tb.ty == Tclass) ? cast(TypeClass)tb : null;
if (!tc || !tc.sym.isInterfaceDeclaration())
{
if (b.type != Type.terror)
idec.error("base type must be `interface`, not `%s`", b.type.toChars());
idec.baseclasses.remove(i);
continue;
}
// Check for duplicate interfaces
for (size_t j = 0; j < i; j++)
{
BaseClass* b2 = (*idec.baseclasses)[j];
if (b2.sym == tc.sym)
{
idec.error("inherits from duplicate interface `%s`", b2.sym.toChars());
idec.baseclasses.remove(i);
continue;
}
}
if (tc.sym == idec || idec.isBaseOf2(tc.sym))
{
idec.error("circular inheritance of interface");
idec.baseclasses.remove(i);
continue;
}
if (tc.sym.isDeprecated())
{
if (!idec.isDeprecated())
{
// Deriving from deprecated class makes this one deprecated too
idec.isdeprecated = true;
tc.checkDeprecated(idec.loc, sc);
}
}
b.sym = tc.sym;
if (tc.sym.baseok < Baseok.done)
resolveBase(tc.sym.dsymbolSemantic(null)); // Try to resolve forward reference
if (tc.sym.baseok < Baseok.done)
{
//printf("\ttry later, forward reference of base %s\n", tc.sym.toChars());
if (tc.sym._scope)
tc.sym._scope._module.addDeferredSemantic(tc.sym);
idec.baseok = Baseok.none;
}
i++;
}
if (idec.baseok == Baseok.none)
{
// Forward referencee of one or more bases, try again later
idec._scope = scx ? scx : sc.copy();
idec._scope.setNoFree();
idec._scope._module.addDeferredSemantic(idec);
return;
}
idec.baseok = Baseok.done;
idec.interfaces = idec.baseclasses.tdata()[0 .. idec.baseclasses.dim];
foreach (b; idec.interfaces)
{
// If this is an interface, and it derives from a COM interface,
// then this is a COM interface too.
if (b.sym.isCOMinterface())
idec.com = true;
if (b.sym.isCPPinterface())
idec.classKind = ClassKind.cpp;
}
interfaceSemantic(idec);
}
Lancestorsdone:
if (!idec.members) // if opaque declaration
{
idec.semanticRun = PASS.semanticdone;
return;
}
if (!idec.symtab)
idec.symtab = new DsymbolTable();
for (size_t i = 0; i < idec.baseclasses.dim; i++)
{
BaseClass* b = (*idec.baseclasses)[i];
Type tb = b.type.toBasetype();
assert(tb.ty == Tclass);
TypeClass tc = cast(TypeClass)tb;
if (tc.sym.semanticRun < PASS.semanticdone)
{
// Forward referencee of one or more bases, try again later
idec._scope = scx ? scx : sc.copy();
idec._scope.setNoFree();
if (tc.sym._scope)
tc.sym._scope._module.addDeferredSemantic(tc.sym);
idec._scope._module.addDeferredSemantic(idec);
return;
}
}
if (idec.baseok == Baseok.done)
{
idec.baseok = Baseok.semanticdone;
objc.setMetaclass(idec);
// initialize vtbl
if (idec.vtblOffset())
idec.vtbl.push(idec); // leave room at vtbl[0] for classinfo
// Cat together the vtbl[]'s from base interfaces
foreach (i, b; idec.interfaces)
{
// Skip if b has already appeared
for (size_t k = 0; k < i; k++)
{
if (b == idec.interfaces[k])
goto Lcontinue;
}
// Copy vtbl[] from base class
if (b.sym.vtblOffset())
{
size_t d = b.sym.vtbl.dim;
if (d > 1)
{
idec.vtbl.reserve(d - 1);
for (size_t j = 1; j < d; j++)
idec.vtbl.push(b.sym.vtbl[j]);
}
}
else
{
idec.vtbl.append(&b.sym.vtbl);
}
Lcontinue:
}
}
for (size_t i = 0; i < idec.members.dim; i++)
{
Dsymbol s = (*idec.members)[i];
s.addMember(sc, idec);
}
auto sc2 = idec.newScope(sc);
/* Set scope so if there are forward references, we still might be able to
* resolve individual members like enums.
*/
for (size_t i = 0; i < idec.members.dim; i++)
{
Dsymbol s = (*idec.members)[i];
//printf("setScope %s %s\n", s.kind(), s.toChars());
s.setScope(sc2);
}
for (size_t i = 0; i < idec.members.dim; i++)
{
Dsymbol s = (*idec.members)[i];
s.importAll(sc2);
}
for (size_t i = 0; i < idec.members.dim; i++)
{
Dsymbol s = (*idec.members)[i];
s.dsymbolSemantic(sc2);
}
Module.dprogress++;
idec.semanticRun = PASS.semanticdone;
//printf("-InterfaceDeclaration.dsymbolSemantic(%s), type = %p\n", toChars(), type);
//members.print();
sc2.pop();
if (global.errors != errors)
{
// The type is no good.
idec.type = Type.terror;
}
version (none)
{
if (type.ty == Tclass && (cast(TypeClass)idec.type).sym != idec)
{
printf("this = %p %s\n", idec, idec.toChars());
printf("type = %d sym = %p\n", idec.type.ty, (cast(TypeClass)idec.type).sym);
}
}
assert(idec.type.ty != Tclass || (cast(TypeClass)idec.type).sym == idec);
}
}
void templateInstanceSemantic(TemplateInstance tempinst, Scope* sc, Expressions* fargs)
{
//printf("[%s] TemplateInstance.dsymbolSemantic('%s', this=%p, gag = %d, sc = %p)\n", loc.toChars(), toChars(), this, global.gag, sc);
version (none)
{
for (Dsymbol s = tempinst; s; s = s.parent)
{
printf("\t%s\n", s.toChars());
}
printf("Scope\n");
for (Scope* scx = sc; scx; scx = scx.enclosing)
{
printf("\t%s parent %s\n", scx._module ? scx._module.toChars() : "null", scx.parent ? scx.parent.toChars() : "null");
}
}
static if (LOG)
{
printf("\n+TemplateInstance.dsymbolSemantic('%s', this=%p)\n", tempinst.toChars(), tempinst);
}
if (tempinst.inst) // if semantic() was already run
{
static if (LOG)
{
printf("-TemplateInstance.dsymbolSemantic('%s', this=%p) already run\n", inst.toChars(), tempinst.inst);
}
return;
}
if (tempinst.semanticRun != PASS.init)
{
static if (LOG)
{
printf("Recursive template expansion\n");
}
auto ungag = Ungag(global.gag);
if (!tempinst.gagged)
global.gag = 0;
tempinst.error(tempinst.loc, "recursive template expansion");
if (tempinst.gagged)
tempinst.semanticRun = PASS.init;
else
tempinst.inst = tempinst;
tempinst.errors = true;
return;
}
// Get the enclosing template instance from the scope tinst
tempinst.tinst = sc.tinst;
// Get the instantiating module from the scope minst
tempinst.minst = sc.minst;
// https://issues.dlang.org/show_bug.cgi?id=10920
// If the enclosing function is non-root symbol,
// this instance should be speculative.
if (!tempinst.tinst && sc.func && sc.func.inNonRoot())
{
tempinst.minst = null;
}
tempinst.gagged = (global.gag > 0);
tempinst.semanticRun = PASS.semantic;
static if (LOG)
{
printf("\tdo semantic\n");
}
/* Find template declaration first,
* then run semantic on each argument (place results in tiargs[]),
* last find most specialized template from overload list/set.
*/
if (!tempinst.findTempDecl(sc, null) || !tempinst.semanticTiargs(sc) || !tempinst.findBestMatch(sc, fargs))
{
Lerror:
if (tempinst.gagged)
{
// https://issues.dlang.org/show_bug.cgi?id=13220
// Roll back status for later semantic re-running
tempinst.semanticRun = PASS.init;
}
else
tempinst.inst = tempinst;
tempinst.errors = true;
return;
}
TemplateDeclaration tempdecl = tempinst.tempdecl.isTemplateDeclaration();
assert(tempdecl);
// If tempdecl is a mixin, disallow it
if (tempdecl.ismixin)
{
tempinst.error("mixin templates are not regular templates");
goto Lerror;
}
tempinst.hasNestedArgs(tempinst.tiargs, tempdecl.isstatic);
if (tempinst.errors)
goto Lerror;
/* See if there is an existing TemplateInstantiation that already
* implements the typeargs. If so, just refer to that one instead.
*/
tempinst.inst = tempdecl.findExistingInstance(tempinst, fargs);
TemplateInstance errinst = null;
if (!tempinst.inst)
{
// So, we need to implement 'this' instance.
}
else if (tempinst.inst.gagged && !tempinst.gagged && tempinst.inst.errors)
{
// If the first instantiation had failed, re-run semantic,
// so that error messages are shown.
errinst = tempinst.inst;
}
else
{
// It's a match
tempinst.parent = tempinst.inst.parent;
tempinst.errors = tempinst.inst.errors;
// If both this and the previous instantiation were gagged,
// use the number of errors that happened last time.
global.errors += tempinst.errors;
global.gaggedErrors += tempinst.errors;
// If the first instantiation was gagged, but this is not:
if (tempinst.inst.gagged)
{
// It had succeeded, mark it is a non-gagged instantiation,
// and reuse it.
tempinst.inst.gagged = tempinst.gagged;
}
tempinst.tnext = tempinst.inst.tnext;
tempinst.inst.tnext = tempinst;
/* A module can have explicit template instance and its alias
* in module scope (e,g, `alias Base64 = Base64Impl!('+', '/');`).
* If the first instantiation 'inst' had happened in non-root module,
* compiler can assume that its instantiated code would be included
* in the separately compiled obj/lib file (e.g. phobos.lib).
*
* However, if 'this' second instantiation happened in root module,
* compiler might need to invoke its codegen
* (https://issues.dlang.org/show_bug.cgi?id=2500 & https://issues.dlang.org/show_bug.cgi?id=2644).
* But whole import graph is not determined until all semantic pass finished,
* so 'inst' should conservatively finish the semantic3 pass for the codegen.
*/
if (tempinst.minst && tempinst.minst.isRoot() && !(tempinst.inst.minst && tempinst.inst.minst.isRoot()))
{
/* Swap the position of 'inst' and 'this' in the instantiation graph.
* Then, the primary instance `inst` will be changed to a root instance.
*
* Before:
* non-root -> A!() -> B!()[inst] -> C!()
* |
* root -> D!() -> B!()[this]
*
* After:
* non-root -> A!() -> B!()[this]
* |
* root -> D!() -> B!()[inst] -> C!()
*/
Module mi = tempinst.minst;
TemplateInstance ti = tempinst.tinst;
tempinst.minst = tempinst.inst.minst;
tempinst.tinst = tempinst.inst.tinst;
tempinst.inst.minst = mi;
tempinst.inst.tinst = ti;
if (tempinst.minst) // if inst was not speculative
{
/* Add 'inst' once again to the root module members[], then the
* instance members will get codegen chances.
*/
tempinst.inst.appendToModuleMember();
}
}
static if (LOG)
{
printf("\tit's a match with instance %p, %d\n", tempinst.inst, tempinst.inst.semanticRun);
}
return;
}
static if (LOG)
{
printf("\timplement template instance %s '%s'\n", tempdecl.parent.toChars(), tempinst.toChars());
printf("\ttempdecl %s\n", tempdecl.toChars());
}
uint errorsave = global.errors;
tempinst.inst = tempinst;
tempinst.parent = tempinst.enclosing ? tempinst.enclosing : tempdecl.parent;
//printf("parent = '%s'\n", parent.kind());
TemplateInstance tempdecl_instance_idx = tempdecl.addInstance(tempinst);
//getIdent();
// Store the place we added it to in target_symbol_list(_idx) so we can
// remove it later if we encounter an error.
Dsymbols* target_symbol_list = tempinst.appendToModuleMember();
size_t target_symbol_list_idx = target_symbol_list ? target_symbol_list.dim - 1 : 0;
// Copy the syntax trees from the TemplateDeclaration
tempinst.members = Dsymbol.arraySyntaxCopy(tempdecl.members);
// resolve TemplateThisParameter
for (size_t i = 0; i < tempdecl.parameters.dim; i++)
{
if ((*tempdecl.parameters)[i].isTemplateThisParameter() is null)
continue;
Type t = isType((*tempinst.tiargs)[i]);
assert(t);
if (StorageClass stc = ModToStc(t.mod))
{
//printf("t = %s, stc = x%llx\n", t.toChars(), stc);
auto s = new Dsymbols();
s.push(new StorageClassDeclaration(stc, tempinst.members));
tempinst.members = s;
}
break;
}
// Create our own scope for the template parameters
Scope* _scope = tempdecl._scope;
if (tempdecl.semanticRun == PASS.init)
{
tempinst.error("template instantiation `%s` forward references template declaration `%s`", tempinst.toChars(), tempdecl.toChars());
return;
}
static if (LOG)
{
printf("\tcreate scope for template parameters '%s'\n", tempinst.toChars());
}
tempinst.argsym = new ScopeDsymbol();
tempinst.argsym.parent = _scope.parent;
_scope = _scope.push(tempinst.argsym);
_scope.tinst = tempinst;
_scope.minst = tempinst.minst;
//scope.stc = 0;
// Declare each template parameter as an alias for the argument type
Scope* paramscope = _scope.push();
paramscope.stc = 0;
paramscope.protection = Prot(Prot.Kind.public_); // https://issues.dlang.org/show_bug.cgi?id=14169
// template parameters should be public
tempinst.declareParameters(paramscope);
paramscope.pop();
// Add members of template instance to template instance symbol table
//parent = scope.scopesym;
tempinst.symtab = new DsymbolTable();
for (size_t i = 0; i < tempinst.members.dim; i++)
{
Dsymbol s = (*tempinst.members)[i];
static if (LOG)
{
printf("\t[%d] adding member '%s' %p kind %s to '%s'\n", i, s.toChars(), s, s.kind(), tempinst.toChars());
}
s.addMember(_scope, tempinst);
}
static if (LOG)
{
printf("adding members done\n");
}
/* See if there is only one member of template instance, and that
* member has the same name as the template instance.
* If so, this template instance becomes an alias for that member.
*/
//printf("members.dim = %d\n", members.dim);
if (tempinst.members.dim)
{
Dsymbol s;
if (Dsymbol.oneMembers(tempinst.members, &s, tempdecl.ident) && s)
{
//printf("tempdecl.ident = %s, s = '%s'\n", tempdecl.ident.toChars(), s.kind(), s.toPrettyChars());
//printf("setting aliasdecl\n");
tempinst.aliasdecl = s;
}
}
/* If function template declaration
*/
if (fargs && tempinst.aliasdecl)
{
FuncDeclaration fd = tempinst.aliasdecl.isFuncDeclaration();
if (fd)
{
/* Transmit fargs to type so that TypeFunction.dsymbolSemantic() can
* resolve any "auto ref" storage classes.
*/
TypeFunction tf = cast(TypeFunction)fd.type;
if (tf && tf.ty == Tfunction)
tf.fargs = fargs;
}
}
// Do semantic() analysis on template instance members
static if (LOG)
{
printf("\tdo semantic() on template instance members '%s'\n", tempinst.toChars());
}
Scope* sc2;
sc2 = _scope.push(tempinst);
//printf("enclosing = %d, sc.parent = %s\n", enclosing, sc.parent.toChars());
sc2.parent = tempinst;
sc2.tinst = tempinst;
sc2.minst = tempinst.minst;
tempinst.tryExpandMembers(sc2);
tempinst.semanticRun = PASS.semanticdone;
/* ConditionalDeclaration may introduce eponymous declaration,
* so we should find it once again after semantic.
*/
if (tempinst.members.dim)
{
Dsymbol s;
if (Dsymbol.oneMembers(tempinst.members, &s, tempdecl.ident) && s)
{
if (!tempinst.aliasdecl || tempinst.aliasdecl != s)
{
//printf("tempdecl.ident = %s, s = '%s'\n", tempdecl.ident.toChars(), s.kind(), s.toPrettyChars());
//printf("setting aliasdecl 2\n");
tempinst.aliasdecl = s;
}
}
}
if (global.errors != errorsave)
goto Laftersemantic;
/* If any of the instantiation members didn't get semantic() run
* on them due to forward references, we cannot run semantic2()
* or semantic3() yet.
*/
{
bool found_deferred_ad = false;
for (size_t i = 0; i < Module.deferred.dim; i++)
{
Dsymbol sd = Module.deferred[i];
AggregateDeclaration ad = sd.isAggregateDeclaration();
if (ad && ad.parent && ad.parent.isTemplateInstance())
{
//printf("deferred template aggregate: %s %s\n",
// sd.parent.toChars(), sd.toChars());
found_deferred_ad = true;
if (ad.parent == tempinst)
{
ad.deferred = tempinst;
break;
}
}
}
if (found_deferred_ad || Module.deferred.dim)
goto Laftersemantic;
}
/* The problem is when to parse the initializer for a variable.
* Perhaps VarDeclaration.dsymbolSemantic() should do it like it does
* for initializers inside a function.
*/
//if (sc.parent.isFuncDeclaration())
{
/* https://issues.dlang.org/show_bug.cgi?id=782
* this has problems if the classes this depends on
* are forward referenced. Find a way to defer semantic()
* on this template.
*/
tempinst.semantic2(sc2);
}
if (global.errors != errorsave)
goto Laftersemantic;
if ((sc.func || (sc.flags & SCOPE.fullinst)) && !tempinst.tinst)
{
/* If a template is instantiated inside function, the whole instantiation
* should be done at that position. But, immediate running semantic3 of
* dependent templates may cause unresolved forward reference.
* https://issues.dlang.org/show_bug.cgi?id=9050
* To avoid the issue, don't run semantic3 until semantic and semantic2 done.
*/
TemplateInstances deferred;
tempinst.deferred = &deferred;
//printf("Run semantic3 on %s\n", toChars());
tempinst.trySemantic3(sc2);
for (size_t i = 0; i < deferred.dim; i++)
{
//printf("+ run deferred semantic3 on %s\n", deferred[i].toChars());
deferred[i].semantic3(null);
}
tempinst.deferred = null;
}
else if (tempinst.tinst)
{
bool doSemantic3 = false;
if (sc.func && tempinst.aliasdecl && tempinst.aliasdecl.toAlias().isFuncDeclaration())
{
/* Template function instantiation should run semantic3 immediately
* for attribute inference.
*/
doSemantic3 = true;
}
else if (sc.func)
{
/* A lambda function in template arguments might capture the
* instantiated scope context. For the correct context inference,
* all instantiated functions should run the semantic3 immediately.
* See also compilable/test14973.d
*/
foreach (oarg; tempinst.tdtypes)
{
auto s = getDsymbol(oarg);
if (!s)
continue;
if (auto td = s.isTemplateDeclaration())
{
if (!td.literal)
continue;
assert(td.members && td.members.dim == 1);
s = (*td.members)[0];
}
if (auto fld = s.isFuncLiteralDeclaration())
{
if (fld.tok == TOK.reserved)
{
doSemantic3 = true;
break;
}
}
}
//printf("[%s] %s doSemantic3 = %d\n", loc.toChars(), toChars(), doSemantic3);
}
if (doSemantic3)
tempinst.trySemantic3(sc2);
TemplateInstance ti = tempinst.tinst;
int nest = 0;
while (ti && !ti.deferred && ti.tinst)
{
ti = ti.tinst;
if (++nest > 500)
{
global.gag = 0; // ensure error message gets printed
tempinst.error("recursive expansion");
fatal();
}
}
if (ti && ti.deferred)
{
//printf("deferred semantic3 of %p %s, ti = %s, ti.deferred = %p\n", this, toChars(), ti.toChars());
for (size_t i = 0;; i++)
{
if (i == ti.deferred.dim)
{
ti.deferred.push(tempinst);
break;
}
if ((*ti.deferred)[i] == tempinst)
break;
}
}
}
if (tempinst.aliasdecl)
{
/* https://issues.dlang.org/show_bug.cgi?id=13816
* AliasDeclaration tries to resolve forward reference
* twice (See inuse check in AliasDeclaration.toAlias()). It's
* necessary to resolve mutual references of instantiated symbols, but
* it will left a true recursive alias in tuple declaration - an
* AliasDeclaration A refers TupleDeclaration B, and B contains A
* in its elements. To correctly make it an error, we strictly need to
* resolve the alias of eponymous member.
*/
tempinst.aliasdecl = tempinst.aliasdecl.toAlias2();
}
Laftersemantic:
sc2.pop();
_scope.pop();
// Give additional context info if error occurred during instantiation
if (global.errors != errorsave)
{
if (!tempinst.errors)
{
if (!tempdecl.literal)
tempinst.error(tempinst.loc, "error instantiating");
if (tempinst.tinst)
tempinst.tinst.printInstantiationTrace();
}
tempinst.errors = true;
if (tempinst.gagged)
{
// Errors are gagged, so remove the template instance from the
// instance/symbol lists we added it to and reset our state to
// finish clean and so we can try to instantiate it again later
// (see https://issues.dlang.org/show_bug.cgi?id=4302 and https://issues.dlang.org/show_bug.cgi?id=6602).
tempdecl.removeInstance(tempdecl_instance_idx);
if (target_symbol_list)
{
// Because we added 'this' in the last position above, we
// should be able to remove it without messing other indices up.
assert((*target_symbol_list)[target_symbol_list_idx] == tempinst);
target_symbol_list.remove(target_symbol_list_idx);
tempinst.memberOf = null; // no longer a member
}
tempinst.semanticRun = PASS.init;
tempinst.inst = null;
tempinst.symtab = null;
}
}
else if (errinst)
{
/* https://issues.dlang.org/show_bug.cgi?id=14541
* If the previous gagged instance had failed by
* circular references, currrent "error reproduction instantiation"
* might succeed, because of the difference of instantiated context.
* On such case, the cached error instance needs to be overridden by the
* succeeded instance.
*/
//printf("replaceInstance()\n");
assert(errinst.errors);
auto ti1 = TemplateInstanceBox(errinst);
tempdecl.instances.remove(ti1);
auto ti2 = TemplateInstanceBox(tempinst);
tempdecl.instances[ti2] = tempinst;
}
static if (LOG)
{
printf("-TemplateInstance.dsymbolSemantic('%s', this=%p)\n", toChars(), this);
}
}
// function used to perform semantic on AliasDeclaration
void aliasSemantic(AliasDeclaration ds, Scope* sc)
{
//printf("AliasDeclaration::semantic() %s\n", toChars());
if (ds.aliassym)
{
auto fd = ds.aliassym.isFuncLiteralDeclaration();
auto td = ds.aliassym.isTemplateDeclaration();
if (fd || td && td.literal)
{
if (fd && fd.semanticRun >= PASS.semanticdone)
return;
Expression e = new FuncExp(ds.loc, ds.aliassym);
e = e.expressionSemantic(sc);
if (e.op == TOK.function_)
{
FuncExp fe = cast(FuncExp)e;
ds.aliassym = fe.td ? cast(Dsymbol)fe.td : fe.fd;
}
else
{
ds.aliassym = null;
ds.type = Type.terror;
}
return;
}
if (ds.aliassym.isTemplateInstance())
ds.aliassym.dsymbolSemantic(sc);
return;
}
ds.inuse = 1;
// Given:
// alias foo.bar.abc def;
// it is not knowable from the syntax whether this is an alias
// for a type or an alias for a symbol. It is up to the semantic()
// pass to distinguish.
// If it is a type, then type is set and getType() will return that
// type. If it is a symbol, then aliassym is set and type is NULL -
// toAlias() will return aliasssym.
uint errors = global.errors;
Type oldtype = ds.type;
// Ungag errors when not instantiated DeclDefs scope alias
auto ungag = Ungag(global.gag);
//printf("%s parent = %s, gag = %d, instantiated = %d\n", toChars(), parent, global.gag, isInstantiated());
if (ds.parent && global.gag && !ds.isInstantiated() && !ds.toParent2().isFuncDeclaration())
{
//printf("%s type = %s\n", toPrettyChars(), type.toChars());
global.gag = 0;
}
// https://issues.dlang.org/show_bug.cgi?id=18480
// Detect `alias sym = sym;` to prevent creating loops in overload overnext lists.
// Selective imports are allowed to alias to the same name `import mod : sym=sym`.
if (ds.type.ty == Tident && !ds._import)
{
auto tident = cast(TypeIdentifier)ds.type;
if (tident.ident is ds.ident && !tident.idents.dim)
{
error(ds.loc, "`alias %s = %s;` cannot alias itself, use a qualified name to create an overload set",
ds.ident.toChars(), tident.ident.toChars());
ds.type = Type.terror;
}
}
/* This section is needed because Type.resolve() will:
* const x = 3;
* alias y = x;
* try to convert identifier x to 3.
*/
auto s = ds.type.toDsymbol(sc);
if (errors != global.errors)
{
s = null;
ds.type = Type.terror;
}
if (s && s == ds)
{
ds.error("cannot resolve");
s = null;
ds.type = Type.terror;
}
if (!s || !s.isEnumMember())
{
Type t;
Expression e;
Scope* sc2 = sc;
if (ds.storage_class & (STC.ref_ | STC.nothrow_ | STC.nogc | STC.pure_ | STC.disable))
{
// For 'ref' to be attached to function types, and picked
// up by Type.resolve(), it has to go into sc.
sc2 = sc.push();
sc2.stc |= ds.storage_class & (STC.ref_ | STC.nothrow_ | STC.nogc | STC.pure_ | STC.shared_ | STC.disable);
}
ds.type = ds.type.addSTC(ds.storage_class);
ds.type.resolve(ds.loc, sc2, &e, &t, &s);
if (sc2 != sc)
sc2.pop();
if (e) // Try to convert Expression to Dsymbol
{
s = getDsymbol(e);
if (!s)
{
if (e.op != TOK.error)
ds.error("cannot alias an expression `%s`", e.toChars());
t = Type.terror;
}
}
ds.type = t;
}
if (s == ds)
{
assert(global.errors);
ds.type = Type.terror;
s = null;
}
if (!s) // it's a type alias
{
//printf("alias %s resolved to type %s\n", toChars(), type.toChars());
ds.type = ds.type.typeSemantic(ds.loc, sc);
ds.aliassym = null;
}
else // it's a symbolic alias
{
//printf("alias %s resolved to %s %s\n", toChars(), s.kind(), s.toChars());
ds.type = null;
ds.aliassym = s;
}
if (global.gag && errors != global.errors)
{
ds.type = oldtype;
ds.aliassym = null;
}
ds.inuse = 0;
ds.semanticRun = PASS.semanticdone;
if (auto sx = ds.overnext)
{
ds.overnext = null;
if (!ds.overloadInsert(sx))
ScopeDsymbol.multiplyDefined(Loc.initial, sx, ds);
}
}
|
D
|
/*
* ioapic.d
*
* This module implements the IO APIC
*
*/
module kernel.arch.x86_64.core.ioapic;
// We need to know how to initialize the pins
import kernel.arch.x86_64.core.info;
import kernel.arch.x86_64.core.lapic;
// for mapping the register space
import kernel.arch.x86_64.core.paging;
// For disabling PIC
import kernel.arch.x86_64.core.pic;
// We need port io
import architecture.cpu;
// Import common kernel stuff
import kernel.core.error;
import kernel.core.log;
import kernel.core.kprintf;
import user.types;
struct IOAPIC
{
static:
public:
// -- Common Routines -- //
// We assume that we set up IO APICs in order.
// The first IO APIC to get called gets pin 0 to pin maxRedirEnt (inclusive)
ErrorVal initialize() {
//kprintfln!("IOAPIC count: {}")(Info.numIOAPICs);
// Disable PIC
PIC.disable();
// for all IOAPICs, init them
for(int i = 0; i < Info.numIOAPICs; i++) {
initUnit(Info.IOAPICs[i].ID, Info.IOAPICs[i].address, false);
}
// setting the redirection entries from the Info struct
setRedirectionTableEntries();
return ErrorVal.Success;
}
ErrorVal unmaskIRQ(uint irq, uint core) {
// no good (no irqs above 15)
if (irq > 15) { return ErrorVal.Fail; }
unmaskRedirectionTableEntry(irqToIOAPIC[irq], irqToPin[irq]);
return ErrorVal.Success;
}
ErrorVal maskIRQ(uint irq) {
// no good (no irqs above 15)
if (irq > 15) { return ErrorVal.Fail; }
maskRedirectionTableEntry(irqToIOAPIC[irq], irqToPin[irq]);
return ErrorVal.Success;
}
ErrorVal unmaskPin(uint pin) {
if (pin >= numPins) {
// error: no pin available
return ErrorVal.Fail;
}
uint IOAPICID = pinToIOAPIC[pin];
uint IOAPICPin = pin - ioApicStartingPin[IOAPICID];
maskRedirectionTableEntry(IOAPICID, IOAPICPin);
return ErrorVal.Success;
}
ErrorVal maskPin(uint pin) {
if (pin >= numPins) {
// error: no pin available
return ErrorVal.Fail;
}
uint IOAPICID = pinToIOAPIC[pin];
uint IOAPICPin = pin - ioApicStartingPin[IOAPICID];
maskRedirectionTableEntry(IOAPICID, IOAPICPin);
return ErrorVal.Success;
}
private:
// -- Register Structures -- //
// The types of registers that can be accessed with the IO APIC
enum Register {
ID,
VER,
ARB,
REDTBL0LO = 0x10,
REDTBL0HI
}
// -- Setup -- //
void initUnit(ubyte ioAPICID, PhysicalAddress ioAPICAddress, bool hasIMCR) {
// disable the IMCR
if (hasIMCR) {
// write 0x70 to port 0x22
Cpu.ioOut!(ubyte, "0x22")(0x70);
// write 0x01 to port 0x23
Cpu.ioOut!(ubyte, "0x23")(0x01);
}
// map IOAPIC region
//kprintfln!("IOAPIC Addr {x}")(ioAPICAddress);
ubyte* IOAPICVirtAddr = Paging.mapRegion(ioAPICAddress, 4096).ptr;
//kprintfln!("IOAPIC Addr {x}")(IOAPICVirtAddr);
// set the addresses for the data register and window
ioApicRegisterSelect[ioAPICID] = cast(uint*)(IOAPICVirtAddr);
ioApicWindowRegister[ioAPICID] = cast(uint*)(IOAPICVirtAddr + 0x10);
// get the number of redirection table entries
ubyte apicVersion, maxRedirectionEntry;
getIOApicVersion(ioAPICID, apicVersion, maxRedirectionEntry);
// it will report one less
maxRedirectionEntry++;
//kprintfln!("Max Redirection Entry: {}")(maxRedirectionEntry);
// keep track of which IOAPIC unit has control of which pins
ioApicStartingPin[ioAPICID] = numPins;
for(int i = 0; i < maxRedirectionEntry; i++) {
pinToIOAPIC[i + numPins] = ioAPICID;
}
numPins += maxRedirectionEntry;
}
// -- Register Read and Write -- //
uint readRegister(uint ioApicID, Register reg) {
/*volatile*/ uint* ptr = ioApicRegisterSelect[ioApicID];
*ptr = cast(uint)reg;
return *(ioApicWindowRegister[ioApicID]);
}
void writeRegister(uint ioApicID, Register reg, in uint value) {
/*volatile*/ *(ioApicRegisterSelect[ioApicID]) = cast(uint)reg;
/*volatile*/ *(ioApicWindowRegister[ioApicID]) = value;
}
ubyte getID(uint ioApicID) {
uint value = readRegister(ioApicID, Register.ID);
value >>= 24;
value &= 0xF;
return cast(ubyte)value;
}
void setID(uint ioApicID, ubyte apicID) {
uint value = cast(uint)apicID << 24;
writeRegister(ioApicID, Register.ID, value);
}
void getIOApicVersion(uint ioApicID, out ubyte apicVersion,
out ubyte maxRedirectionEntry) {
uint value = readRegister(ioApicID, Register.VER);
apicVersion = (value & 0xFF);
value >>= 16;
maxRedirectionEntry = (value & 0xFF);
}
void setRedirectionTableEntry(uint ioApicID, uint registerIndex,
ubyte destinationField,
Info.InterruptType intType,
Info.TriggerMode triggerMode,
Info.InputPinPolarity inputPinPolarity,
Info.DestinationMode destinationMode,
Info.DeliveryMode deliveryMode,
ubyte interruptVector) {
int valuehi = destinationField;
valuehi <<= 24;
int valuelo = intType;
valuelo <<= 1;
valuelo |= triggerMode;
valuelo <<= 2;
valuelo |= inputPinPolarity;
valuelo <<= 2;
valuelo |= destinationMode;
valuelo <<= 3;
valuelo |= deliveryMode;
valuelo <<= 8;
valuelo |= interruptVector;
valuelo |= (1 << 16);
writeRegister(ioApicID, cast(Register)(Register.REDTBL0HI + (registerIndex*2)), valuehi);
writeRegister(ioApicID, cast(Register)(Register.REDTBL0LO + (registerIndex*2)), valuelo);
}
void setRedirectionTableEntries() {
//kprintfln!("setRedirectionTableEntries() : {}")(Info.numEntries);
for(int i = 0; i < Info.numEntries && i < numPins; i++) {
// get IOAPIC info and pin info for the specific IO APIC unit
int IOAPICID = pinToIOAPIC[i];
int IOAPICPin = i - ioApicStartingPin[IOAPICID];
// set the table entry
setRedirectionTableEntry(IOAPICID, IOAPICPin,
Info.redirectionEntries[i].destination,
Info.redirectionEntries[i].interruptType,
Info.redirectionEntries[i].triggerMode,
Info.redirectionEntries[i].inputPinPolarity,
Info.redirectionEntries[i].destinationMode,
Info.redirectionEntries[i].deliveryMode,
Info.redirectionEntries[i].vector);
// set IRQ stuff
if (Info.redirectionEntries[i].sourceBusIRQ < 16) {
irqToPin[Info.redirectionEntries[i].sourceBusIRQ] = i;
irqToIOAPIC[Info.redirectionEntries[i].sourceBusIRQ] = IOAPICID;
}
}
//kprintfln!("setRedirectionTableEntries() done")();
}
void unmaskRedirectionTableEntry(uint ioApicID, uint registerIndex) {
// read former entry values
uint lo = readRegister(ioApicID, cast(Register)(Register.REDTBL0LO + (registerIndex*2)));
// set the value necessary
// reset bit 0 of the hi word
lo &= ~(1 << 16);
// write it back
writeRegister(ioApicID, cast(Register)(Register.REDTBL0LO + (registerIndex*2)), lo);
}
void maskRedirectionTableEntry(uint ioApicID, uint registerIndex) {
// read former entry values
uint lo = readRegister(ioApicID, cast(Register)(Register.REDTBL0LO + (registerIndex*2)));
// set the value necessary
// set bit 0 of the hi word
lo |= (1 << 16);
// write it back
writeRegister(ioApicID, cast(Register)(Register.REDTBL0LO + (registerIndex*2)), lo);
}
// -- IRQs and PINs -- //
// stores which IO APIC pin a particular IRQ is connected.
// irqToPin = the pin number
// irqToIOAPIC = the io apic
uint irqToPin[16] = [0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15];
uint irqToIOAPIC[16] = [0];
// This array will give the IO APIC that a particular pin is attached.
uint pinToIOAPIC[256] = [0];
// How many pins do we have?
uint numPins = 0;
// -- The IO APIC Register Spaces -- //
// This assumes that there can be only 16 IO APICs
// These arrays are indexed by IO APIC ID
// null will indicate the absense of an IO APIC
uint* ioApicRegisterSelect[16];
uint* ioApicWindowRegister[16];
uint ioApicStartingPin[16]; // The starting pin index for this IO APIC
}
|
D
|
import std.numeric, std.range;
double[] zeros(int n){
return 0.0.rep(n);
}
unittest {
auto z = 10.zeros;
assert(z == [0,0,0,0,0,0,0,0,0,0]);
}
double[] ones(int n){
return 1.0.rep(n);
}
unittest {
auto z = 10.ones;
assert(z == [1,1,1,1,1,1,1,1,1,1]);
}
T [] rep(T)(T n, int p) in {
assert(p > 0);
}body {
return n.repeat().take(p).array;
}
|
D
|
/*
TEST_OUTPUT:
---
fail_compilation/ice10949.d(12): Deprecation: Using the result of a comma expression is deprecated
fail_compilation/ice10949.d(12): Error: array index 3 is out of bounds [5, 5][0 .. 2]
fail_compilation/ice10949.d(12): Error: array index 17 is out of bounds [2, 3][0 .. 2]
fail_compilation/ice10949.d(12): Error: array index 9 is out of bounds [3, 3, 3][0 .. 3]
fail_compilation/ice10949.d(12): while evaluating: static assert((__error) || (__error))
---
*/
int global;
static assert((((((([5,5][3] + global - global)*global/global%global)>>global) &global|global)^global) == 9, [2,3][17]) || ([3,3,3][9] is 4) && ([[1,2,3]][4]).length);
|
D
|
/Users/martin/Documents/programovanie/bc/RuLife/DerivedData/RuLife/Build/Intermediates/RuLife.build/Debug-iphonesimulator/RuLife.build/Objects-normal/i386/HomeViewController.o : /Users/martin/Documents/programovanie/bc/RuLife/RuLife/AppDelegate.swift /Users/martin/Documents/programovanie/bc/RuLife/RuLife/StopWatch.swift /Users/martin/Documents/programovanie/bc/RuLife/RuLife/StartWorkoutViewController.swift /Users/martin/Documents/programovanie/bc/RuLife/RuLife/StartWorkoutTableViewCell.swift /Users/martin/Documents/programovanie/bc/RuLife/RuLife/WorkoutTableViewCell.swift /Users/martin/Documents/programovanie/bc/RuLife/RuLife/HomeViewController.swift /Users/martin/Documents/programovanie/bc/RuLife/RuLife/WorkoutTableViewController.swift /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/i386/Swift.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/i386/UIKit.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/i386/Foundation.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/i386/Darwin.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/i386/Dispatch.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/i386/ObjectiveC.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/i386/CoreGraphics.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/i386/CoreImage.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/i386/CoreLocation.swiftmodule
/Users/martin/Documents/programovanie/bc/RuLife/DerivedData/RuLife/Build/Intermediates/RuLife.build/Debug-iphonesimulator/RuLife.build/Objects-normal/i386/HomeViewController~partial.swiftmodule : /Users/martin/Documents/programovanie/bc/RuLife/RuLife/AppDelegate.swift /Users/martin/Documents/programovanie/bc/RuLife/RuLife/StopWatch.swift /Users/martin/Documents/programovanie/bc/RuLife/RuLife/StartWorkoutViewController.swift /Users/martin/Documents/programovanie/bc/RuLife/RuLife/StartWorkoutTableViewCell.swift /Users/martin/Documents/programovanie/bc/RuLife/RuLife/WorkoutTableViewCell.swift /Users/martin/Documents/programovanie/bc/RuLife/RuLife/HomeViewController.swift /Users/martin/Documents/programovanie/bc/RuLife/RuLife/WorkoutTableViewController.swift /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/i386/Swift.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/i386/UIKit.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/i386/Foundation.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/i386/Darwin.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/i386/Dispatch.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/i386/ObjectiveC.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/i386/CoreGraphics.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/i386/CoreImage.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/i386/CoreLocation.swiftmodule
/Users/martin/Documents/programovanie/bc/RuLife/DerivedData/RuLife/Build/Intermediates/RuLife.build/Debug-iphonesimulator/RuLife.build/Objects-normal/i386/HomeViewController~partial.swiftdoc : /Users/martin/Documents/programovanie/bc/RuLife/RuLife/AppDelegate.swift /Users/martin/Documents/programovanie/bc/RuLife/RuLife/StopWatch.swift /Users/martin/Documents/programovanie/bc/RuLife/RuLife/StartWorkoutViewController.swift /Users/martin/Documents/programovanie/bc/RuLife/RuLife/StartWorkoutTableViewCell.swift /Users/martin/Documents/programovanie/bc/RuLife/RuLife/WorkoutTableViewCell.swift /Users/martin/Documents/programovanie/bc/RuLife/RuLife/HomeViewController.swift /Users/martin/Documents/programovanie/bc/RuLife/RuLife/WorkoutTableViewController.swift /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/i386/Swift.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/i386/UIKit.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/i386/Foundation.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/i386/Darwin.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/i386/Dispatch.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/i386/ObjectiveC.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/i386/CoreGraphics.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/i386/CoreImage.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/i386/CoreLocation.swiftmodule
|
D
|
/u/tlan2/Rust/Mini_Games/target/debug/deps/libcfg_if-ab5b41ba2251329a.rlib: /u/tlan2/.cargo/registry/src/github.com-1ecc6299db9ec823/cfg-if-0.1.9/src/lib.rs
/u/tlan2/Rust/Mini_Games/target/debug/deps/cfg_if-ab5b41ba2251329a.d: /u/tlan2/.cargo/registry/src/github.com-1ecc6299db9ec823/cfg-if-0.1.9/src/lib.rs
/u/tlan2/.cargo/registry/src/github.com-1ecc6299db9ec823/cfg-if-0.1.9/src/lib.rs:
|
D
|
module weapon.Blink;
import nuclear.Game;
import nuclear.Util;
import weapon.Weapon;
import weapon.AbstractWeapon;
import entity.Entity;
import entity.CollidingEntity;
import entity.Explosion;
import entity.Mattis;
import entity.graphic.BlinkExit;
import entity.graphic.BlinkParticle;
import entity.graphic.BlinkPortal;
import entity.projectile.Projectile;
import geom.Line;
import geom.Rectangle;
import geom.Vector2f;
import core.stdc.math;
import core.stdc.stdlib;
public class Blink : AbstractWeapon {
private static const int RANGE = 250;
private static const int MAX_POWER = 5;
private Rectangle collider;
public this(Mattis[] mattis, int power) {
super(mattis, power, "box_teleport.png");
}
private Rectangle getCollider() {
if (collider !is null) return collider;
Rectangle bounds = gameInstance.world.getBounds();
float radius = mattis[0].getCollider().getRadius();
float minX = bounds.getMinX() + radius;
float minY = bounds.getMinY() + radius;
collider = new Rectangle(minX, minY, bounds.getWidth() - 2 * radius, bounds.getHeight() - 2 * radius);
return collider;
}
public int getFireDelay() {
return 6000 - power * 1000;
}
public bool hasAmmo() {
return true;
}
public Projectile[] shoot(int player) {
gameInstance.playSound(Game.SOUND_TELEPORT);
// Project Mattis forward and explode
float x = mattis[player].getX();
float y = mattis[player].getY();
__gshared Projectile[1] result;
float rotation = mattis[player].getRotation();
float dx = RANGE * cast(float) cos(Util.PI + Util.toRadians(rotation));
float dy = RANGE * cast(float) sin(Util.PI + Util.toRadians(rotation));
float targetX;
float targetY;
if (!getCollider().contains(x + dx, y + dy)) {
Line line = new Line(x, y, dx, dy, true);
Vector2f intersection = getIntersection(line);
targetX = intersection.x;
targetY = intersection.y;
delete intersection;
} else {
targetX = x + dx;
targetY = y + dy;
}
mattis[player].setX(targetX);
mattis[player].setY(targetY);
spawnBlinkParticles(x, y, targetX, targetY);
gameInstance.world.addEntity(new BlinkPortal(x, y, targetX, targetY));
gameInstance.world.addEntity(new BlinkExit(targetX, targetY));
result[0] = cast(Projectile)new Explosion(targetX, targetY, 150, 8, 0, 0);
return result;
}
private void spawnBlinkParticles(float x, float y, float targetX, float targetY) {
float deltaX = (targetX - x) / 100f;
float deltaY = (targetY - y) / 100f;
int delta = 40;
for (int i = 0; i < 4; i++) {
int dx = (rand() % delta) - 20;
int dy = (rand() % delta) - 20;
int start = 10 + (rand() % 30);
int end = 10 + (rand() % 30);
gameInstance.world.addEntity(new BlinkParticle(x + dx + deltaX * start, y + dy + deltaY * start, targetX + dx - deltaX * end, targetY + dy - deltaY * end, (100f - start - end) / 100f));
}
}
private Vector2f getIntersection(Line line) {
float minX = collider.getMinX();
float minY = collider.getMinY();
float maxX = collider.getMaxX();
float maxY = collider.getMaxY();
// Top
Line topLine = new Line(minX, minY, maxX, minY);
Vector2f top = line.intersect(topLine, true);
if (top !is null) return top;
delete topLine;
// Bottom
Line bottomLine = new Line(minX, maxY, maxX, maxY);
Vector2f bottom = line.intersect(bottomLine, true);
if (top != bottom) return bottom;
delete bottom;
delete bottomLine;
// Left
Line leftLine = new Line(minX, minY, minX, maxY);
Vector2f left = line.intersect(leftLine, true);
if (top != left) return left;
delete left;
delete leftLine;
// Right
Line rightLine = new Line(maxX, minY, maxX, maxY);
Vector2f right = line.intersect(rightLine, true);
if (top != right) return right;
delete right;
delete rightLine;
Vector2f result = top.copy();
delete top;
return result; //TODO: free this?
}
public void setPower(int power) {
this.power = Util.min(MAX_POWER, power);
}
public WeaponSlot getSlot() {
return WeaponSlot.SECONDARY;
}
public Weapon copy() {
return new Blink(mattis, power);
}
public string toString() {
return getName();// + " " +power;
}
public string getName() {
return "Translocator";
}
public double getWeight() {
return 3f;
}
}
|
D
|
/**
* D header file for C99.
*
* $(C_HEADER_DESCRIPTION pubs.opengroup.org/onlinepubs/009695399/basedefs/_locale.h.html, _locale.h)
*
* Copyright: Copyright Sean Kelly 2005 - 2009.
* License: Distributed under the
* $(LINK2 http://www.boost.org/LICENSE_1_0.txt, Boost Software License 1.0).
* (See accompanying file LICENSE)
* Authors: Sean Kelly
* Source: $(DRUNTIMESRC core/stdc/_locale.d)
* Standards: ISO/IEC 9899:1999 (E)
*/
module core.stdc.locale;
version (OSX)
version = Darwin;
else version (iOS)
version = Darwin;
else version (TVOS)
version = Darwin;
else version (WatchOS)
version = Darwin;
extern (C):
@trusted: // Only setlocale operates on C strings.
nothrow:
@nogc:
///
struct lconv
{
char* decimal_point;
char* thousands_sep;
char* grouping;
char* int_curr_symbol;
char* currency_symbol;
char* mon_decimal_point;
char* mon_thousands_sep;
char* mon_grouping;
char* positive_sign;
char* negative_sign;
byte int_frac_digits;
byte frac_digits;
byte p_cs_precedes;
byte p_sep_by_space;
byte n_cs_precedes;
byte n_sep_by_space;
byte p_sign_posn;
byte n_sign_posn;
byte int_p_cs_precedes;
byte int_p_sep_by_space;
byte int_n_cs_precedes;
byte int_n_sep_by_space;
byte int_p_sign_posn;
byte int_n_sign_posn;
}
version(CRuntime_Glibc)
{
///
enum LC_CTYPE = 0;
///
enum LC_NUMERIC = 1;
///
enum LC_TIME = 2;
///
enum LC_COLLATE = 3;
///
enum LC_MONETARY = 4;
///
enum LC_MESSAGES = 5;
///
enum LC_ALL = 6;
///
enum LC_PAPER = 7; // non-standard
///
enum LC_NAME = 8; // non-standard
///
enum LC_ADDRESS = 9; // non-standard
///
enum LC_TELEPHONE = 10; // non-standard
///
enum LC_MEASUREMENT = 11; // non-standard
///
enum LC_IDENTIFICATION = 12; // non-standard
}
else version(Windows)
{
///
enum LC_ALL = 0;
///
enum LC_COLLATE = 1;
///
enum LC_CTYPE = 2;
///
enum LC_MONETARY = 3;
///
enum LC_NUMERIC = 4;
///
enum LC_TIME = 5;
}
else version(Darwin)
{
///
enum LC_ALL = 0;
///
enum LC_COLLATE = 1;
///
enum LC_CTYPE = 2;
///
enum LC_MONETARY = 3;
///
enum LC_NUMERIC = 4;
///
enum LC_TIME = 5;
///
enum LC_MESSAGES = 6;
}
else version(FreeBSD)
{
///
enum LC_ALL = 0;
///
enum LC_COLLATE = 1;
///
enum LC_CTYPE = 2;
///
enum LC_MONETARY = 3;
///
enum LC_NUMERIC = 4;
///
enum LC_TIME = 5;
///
enum LC_MESSAGES = 6;
}
else version(NetBSD)
{
///
enum LC_ALL = 0;
///
enum LC_COLLATE = 1;
///
enum LC_CTYPE = 2;
///
enum LC_MONETARY = 3;
///
enum LC_NUMERIC = 4;
///
enum LC_TIME = 5;
///
enum LC_MESSAGES = 6;
}
else version(OpenBSD)
{
///
enum LC_ALL = 0;
///
enum LC_COLLATE = 1;
///
enum LC_CTYPE = 2;
///
enum LC_MONETARY = 3;
///
enum LC_NUMERIC = 4;
///
enum LC_TIME = 5;
///
enum LC_MESSAGES = 6;
}
else version(CRuntime_Bionic)
{
enum
{
///
LC_CTYPE = 0,
///
LC_NUMERIC = 1,
///
LC_TIME = 2,
///
LC_COLLATE = 3,
///
LC_MONETARY = 4,
///
LC_MESSAGES = 5,
///
LC_ALL = 6,
///
LC_PAPER = 7,
///
LC_NAME = 8,
///
LC_ADDRESS = 9,
///
LC_TELEPHONE = 10,
///
LC_MEASUREMENT = 11,
///
LC_IDENTIFICATION = 12,
}
}
else version(Solaris)
{
///
enum LC_CTYPE = 0;
///
enum LC_NUMERIC = 1;
///
enum LC_TIME = 2;
///
enum LC_COLLATE = 3;
///
enum LC_MONETARY = 4;
///
enum LC_MESSAGES = 5;
///
enum LC_ALL = 6;
}
else
{
static assert(false, "Unsupported platform");
}
///
@system char* setlocale(int category, in char* locale);
///
lconv* localeconv();
|
D
|
/**
* Windows API header module
*
* Translated from MinGW API for MS-Windows 3.10
*
* License: $(LINK2 http://www.boost.org/LICENSE_1_0.txt, Boost License 1.0)
* Source: $(DRUNTIMESRC src/core/sys/windows/_winbase.d)
*/
module core.sys.windows.winbase;
version (Windows):
@system:
version (ANSI) {} else version = Unicode;
pragma(lib, "kernel32");
/**
Translation Notes:
The following macros are obsolete, and have no effect.
LockSegment(w), MakeProcInstance(p, i), UnlockResource(h), UnlockSegment(w)
FreeModule(m), FreeProcInstance(p), GetFreeSpace(w), DefineHandleTable(w)
SetSwapAreaSize(w), LimitEmsPages(n), Yield()
// These are not required for DMD.
//FIXME:
// #ifndef UNDER_CE
int WinMain(HINSTANCE, HINSTANCE, LPSTR, int);
#else
int WinMain(HINSTANCE, HINSTANCE, LPWSTR, int);
#endif
int wWinMain(HINSTANCE, HINSTANCE, LPWSTR, int);
*/
import core.sys.windows.windef, core.sys.windows.winver;
private import core.sys.windows.basetyps, core.sys.windows.w32api, core.sys.windows.winnt;
// FIXME:
//alias void va_list;
import core.stdc.stdarg : va_list;
// COMMPROP structure, used by GetCommProperties()
// -----------------------------------------------
// Communications provider type
enum : DWORD {
PST_UNSPECIFIED,
PST_RS232,
PST_PARALLELPORT,
PST_RS422,
PST_RS423,
PST_RS449,
PST_MODEM, // = 6
PST_FAX = 0x0021,
PST_SCANNER = 0x0022,
PST_NETWORK_BRIDGE = 0x0100,
PST_LAT = 0x0101,
PST_TCPIP_TELNET = 0x0102,
PST_X25 = 0x0103
}
// Max baud rate
enum : DWORD {
BAUD_075 = 0x00000001,
BAUD_110 = 0x00000002,
BAUD_134_5 = 0x00000004,
BAUD_150 = 0x00000008,
BAUD_300 = 0x00000010,
BAUD_600 = 0x00000020,
BAUD_1200 = 0x00000040,
BAUD_1800 = 0x00000080,
BAUD_2400 = 0x00000100,
BAUD_4800 = 0x00000200,
BAUD_7200 = 0x00000400,
BAUD_9600 = 0x00000800,
BAUD_14400 = 0x00001000,
BAUD_19200 = 0x00002000,
BAUD_38400 = 0x00004000,
BAUD_56K = 0x00008000,
BAUD_128K = 0x00010000,
BAUD_115200 = 0x00020000,
BAUD_57600 = 0x00040000,
BAUD_USER = 0x10000000
}
// Comm capabilities
enum : DWORD {
PCF_DTRDSR = 0x0001,
PCF_RTSCTS = 0x0002,
PCF_RLSD = 0x0004,
PCF_PARITY_CHECK = 0x0008,
PCF_XONXOFF = 0x0010,
PCF_SETXCHAR = 0x0020,
PCF_TOTALTIMEOUTS = 0x0040,
PCF_INTTIMEOUTS = 0x0080,
PCF_SPECIALCHARS = 0x0100,
PCF_16BITMODE = 0x0200
}
enum : DWORD {
SP_PARITY = 1,
SP_BAUD = 2,
SP_DATABITS = 4,
SP_STOPBITS = 8,
SP_HANDSHAKING = 16,
SP_PARITY_CHECK = 32,
SP_RLSD = 64
}
enum : DWORD {
DATABITS_5 = 1,
DATABITS_6 = 2,
DATABITS_7 = 4,
DATABITS_8 = 8,
DATABITS_16 = 16,
DATABITS_16X = 32
}
enum : WORD {
STOPBITS_10 = 0x0001,
STOPBITS_15 = 0x0002,
STOPBITS_20 = 0x0004,
PARITY_NONE = 0x0100,
PARITY_ODD = 0x0200,
PARITY_EVEN = 0x0400,
PARITY_MARK = 0x0800,
PARITY_SPACE = 0x1000
}
// used by dwServiceMask
enum SP_SERIALCOMM = 1;
struct COMMPROP {
WORD wPacketLength;
WORD wPacketVersion;
DWORD dwServiceMask;
DWORD dwReserved1;
DWORD dwMaxTxQueue;
DWORD dwMaxRxQueue;
DWORD dwMaxBaud;
DWORD dwProvSubType;
DWORD dwProvCapabilities;
DWORD dwSettableParams;
DWORD dwSettableBaud;
WORD wSettableData;
WORD wSettableStopParity;
DWORD dwCurrentTxQueue;
DWORD dwCurrentRxQueue;
DWORD dwProvSpec1;
DWORD dwProvSpec2;
WCHAR _wcProvChar = 0;
WCHAR* wcProvChar() return { return &_wcProvChar; }
}
alias COMMPROP* LPCOMMPROP;
// ----------
// for DEBUG_EVENT
enum : DWORD {
EXCEPTION_DEBUG_EVENT = 1,
CREATE_THREAD_DEBUG_EVENT,
CREATE_PROCESS_DEBUG_EVENT,
EXIT_THREAD_DEBUG_EVENT,
EXIT_PROCESS_DEBUG_EVENT,
LOAD_DLL_DEBUG_EVENT,
UNLOAD_DLL_DEBUG_EVENT,
OUTPUT_DEBUG_STRING_EVENT,
RIP_EVENT
}
enum HFILE HFILE_ERROR = cast(HFILE) (-1);
// for SetFilePointer()
enum : DWORD {
FILE_BEGIN = 0,
FILE_CURRENT = 1,
FILE_END = 2
}
enum DWORD INVALID_SET_FILE_POINTER = -1;
// for OpenFile()
deprecated enum : UINT {
OF_READ = 0,
OF_WRITE = 0x0001,
OF_READWRITE = 0x0002,
OF_SHARE_COMPAT = 0,
OF_SHARE_EXCLUSIVE = 0x0010,
OF_SHARE_DENY_WRITE = 0x0020,
OF_SHARE_DENY_READ = 0x0030,
OF_SHARE_DENY_NONE = 0x0040,
OF_PARSE = 0x0100,
OF_DELETE = 0x0200,
OF_VERIFY = 0x0400,
OF_CANCEL = 0x0800,
OF_CREATE = 0x1000,
OF_PROMPT = 0x2000,
OF_EXIST = 0x4000,
OF_REOPEN = 0x8000
}
enum : DWORD {
NMPWAIT_NOWAIT = 1,
NMPWAIT_WAIT_FOREVER = -1,
NMPWAIT_USE_DEFAULT_WAIT = 0
}
// for ClearCommError()
enum DWORD
CE_RXOVER = 0x0001,
CE_OVERRUN = 0x0002,
CE_RXPARITY = 0x0004,
CE_FRAME = 0x0008,
CE_BREAK = 0x0010,
CE_TXFULL = 0x0100,
CE_PTO = 0x0200,
CE_IOE = 0x0400,
CE_DNS = 0x0800,
CE_OOP = 0x1000,
CE_MODE = 0x8000;
// for CopyProgressRoutine callback.
enum : DWORD {
PROGRESS_CONTINUE = 0,
PROGRESS_CANCEL = 1,
PROGRESS_STOP = 2,
PROGRESS_QUIET = 3
}
enum : DWORD {
CALLBACK_CHUNK_FINISHED = 0,
CALLBACK_STREAM_SWITCH = 1
}
// CopyFileEx()
enum : DWORD {
COPY_FILE_FAIL_IF_EXISTS = 1,
COPY_FILE_RESTARTABLE = 2
}
enum : DWORD {
FILE_MAP_COPY = 1,
FILE_MAP_WRITE = 2,
FILE_MAP_READ = 4,
FILE_MAP_ALL_ACCESS = 0x000F001F
}
enum : DWORD {
MUTEX_ALL_ACCESS = 0x001f0001,
MUTEX_MODIFY_STATE = 0x00000001,
SEMAPHORE_ALL_ACCESS = 0x001f0003,
SEMAPHORE_MODIFY_STATE = 0x00000002,
EVENT_ALL_ACCESS = 0x001f0003,
EVENT_MODIFY_STATE = 0x00000002
}
// CreateNamedPipe()
enum : DWORD {
PIPE_ACCESS_INBOUND = 1,
PIPE_ACCESS_OUTBOUND = 2,
PIPE_ACCESS_DUPLEX = 3
}
enum DWORD
PIPE_TYPE_BYTE = 0,
PIPE_TYPE_MESSAGE = 4,
PIPE_READMODE_BYTE = 0,
PIPE_READMODE_MESSAGE = 2,
PIPE_WAIT = 0,
PIPE_NOWAIT = 1;
// GetNamedPipeInfo()
enum DWORD
PIPE_CLIENT_END = 0,
PIPE_SERVER_END = 1;
enum DWORD PIPE_UNLIMITED_INSTANCES = 255;
// dwCreationFlags for CreateProcess() and CreateProcessAsUser()
enum : DWORD {
DEBUG_PROCESS = 0x00000001,
DEBUG_ONLY_THIS_PROCESS = 0x00000002,
CREATE_SUSPENDED = 0x00000004,
DETACHED_PROCESS = 0x00000008,
CREATE_NEW_CONSOLE = 0x00000010,
NORMAL_PRIORITY_CLASS = 0x00000020,
IDLE_PRIORITY_CLASS = 0x00000040,
HIGH_PRIORITY_CLASS = 0x00000080,
REALTIME_PRIORITY_CLASS = 0x00000100,
CREATE_NEW_PROCESS_GROUP = 0x00000200,
CREATE_UNICODE_ENVIRONMENT = 0x00000400,
CREATE_SEPARATE_WOW_VDM = 0x00000800,
CREATE_SHARED_WOW_VDM = 0x00001000,
CREATE_FORCEDOS = 0x00002000,
BELOW_NORMAL_PRIORITY_CLASS = 0x00004000,
ABOVE_NORMAL_PRIORITY_CLASS = 0x00008000,
CREATE_BREAKAWAY_FROM_JOB = 0x01000000,
CREATE_WITH_USERPROFILE = 0x02000000,
CREATE_DEFAULT_ERROR_MODE = 0x04000000,
CREATE_NO_WINDOW = 0x08000000,
PROFILE_USER = 0x10000000,
PROFILE_KERNEL = 0x20000000,
PROFILE_SERVER = 0x40000000
}
enum DWORD CONSOLE_TEXTMODE_BUFFER = 1;
// CreateFile()
enum : DWORD {
CREATE_NEW = 1,
CREATE_ALWAYS,
OPEN_EXISTING,
OPEN_ALWAYS,
TRUNCATE_EXISTING
}
// CreateFile()
enum DWORD
FILE_FLAG_WRITE_THROUGH = 0x80000000,
FILE_FLAG_OVERLAPPED = 0x40000000,
FILE_FLAG_NO_BUFFERING = 0x20000000,
FILE_FLAG_RANDOM_ACCESS = 0x10000000,
FILE_FLAG_SEQUENTIAL_SCAN = 0x08000000,
FILE_FLAG_DELETE_ON_CLOSE = 0x04000000,
FILE_FLAG_BACKUP_SEMANTICS = 0x02000000,
FILE_FLAG_POSIX_SEMANTICS = 0x01000000,
FILE_FLAG_OPEN_REPARSE_POINT = 0x00200000,
FILE_FLAG_OPEN_NO_RECALL = 0x00100000;
static if (_WIN32_WINNT >= 0x500) {
enum DWORD FILE_FLAG_FIRST_PIPE_INSTANCE = 0x00080000;
}
// for CreateFile()
enum DWORD
SECURITY_ANONYMOUS = SECURITY_IMPERSONATION_LEVEL.SecurityAnonymous<<16,
SECURITY_IDENTIFICATION = SECURITY_IMPERSONATION_LEVEL.SecurityIdentification<<16,
SECURITY_IMPERSONATION = SECURITY_IMPERSONATION_LEVEL.SecurityImpersonation<<16,
SECURITY_DELEGATION = SECURITY_IMPERSONATION_LEVEL.SecurityDelegation<<16,
SECURITY_CONTEXT_TRACKING = 0x00040000,
SECURITY_EFFECTIVE_ONLY = 0x00080000,
SECURITY_SQOS_PRESENT = 0x00100000,
SECURITY_VALID_SQOS_FLAGS = 0x001F0000;
// Thread exit code
enum DWORD STILL_ACTIVE = 0x103;
/* ??? The only documentation of this seems to be about Windows CE and to
* state what _doesn't_ support it.
*/
enum DWORD FIND_FIRST_EX_CASE_SENSITIVE = 1;
// GetBinaryType()
enum : DWORD {
SCS_32BIT_BINARY = 0,
SCS_DOS_BINARY,
SCS_WOW_BINARY,
SCS_PIF_BINARY,
SCS_POSIX_BINARY,
SCS_OS216_BINARY
}
enum size_t
MAX_COMPUTERNAME_LENGTH = 15,
HW_PROFILE_GUIDLEN = 39,
MAX_PROFILE_LEN = 80;
// HW_PROFILE_INFO
enum DWORD
DOCKINFO_UNDOCKED = 1,
DOCKINFO_DOCKED = 2,
DOCKINFO_USER_SUPPLIED = 4,
DOCKINFO_USER_UNDOCKED = DOCKINFO_USER_SUPPLIED | DOCKINFO_UNDOCKED,
DOCKINFO_USER_DOCKED = DOCKINFO_USER_SUPPLIED | DOCKINFO_DOCKED;
// DriveType(), RealDriveType()
enum : int {
DRIVE_UNKNOWN = 0,
DRIVE_NO_ROOT_DIR,
DRIVE_REMOVABLE,
DRIVE_FIXED,
DRIVE_REMOTE,
DRIVE_CDROM,
DRIVE_RAMDISK
}
// GetFileType()
enum : DWORD {
FILE_TYPE_UNKNOWN = 0,
FILE_TYPE_DISK,
FILE_TYPE_CHAR,
FILE_TYPE_PIPE,
FILE_TYPE_REMOTE = 0x8000
}
// Get/SetHandleInformation()
enum DWORD
HANDLE_FLAG_INHERIT = 0x01,
HANDLE_FLAG_PROTECT_FROM_CLOSE = 0x02;
enum : DWORD {
STD_INPUT_HANDLE = 0xFFFFFFF6,
STD_OUTPUT_HANDLE = 0xFFFFFFF5,
STD_ERROR_HANDLE = 0xFFFFFFF4
}
enum HANDLE INVALID_HANDLE_VALUE = cast(HANDLE) (-1);
enum : DWORD {
GET_TAPE_MEDIA_INFORMATION = 0,
GET_TAPE_DRIVE_INFORMATION = 1
}
enum : DWORD {
SET_TAPE_MEDIA_INFORMATION = 0,
SET_TAPE_DRIVE_INFORMATION = 1
}
// SetThreadPriority()/GetThreadPriority()
enum : int {
THREAD_PRIORITY_IDLE = -15,
THREAD_PRIORITY_LOWEST = -2,
THREAD_PRIORITY_BELOW_NORMAL = -1,
THREAD_PRIORITY_NORMAL = 0,
THREAD_PRIORITY_ABOVE_NORMAL = 1,
THREAD_PRIORITY_HIGHEST = 2,
THREAD_PRIORITY_TIME_CRITICAL = 15,
THREAD_PRIORITY_ERROR_RETURN = 2147483647
}
enum : DWORD {
TIME_ZONE_ID_UNKNOWN,
TIME_ZONE_ID_STANDARD,
TIME_ZONE_ID_DAYLIGHT,
TIME_ZONE_ID_INVALID = 0xFFFFFFFF
}
enum DWORD
FS_CASE_SENSITIVE = 1,
FS_CASE_IS_PRESERVED = 2,
FS_UNICODE_STORED_ON_DISK = 4,
FS_PERSISTENT_ACLS = 8,
FS_FILE_COMPRESSION = 16,
FS_VOL_IS_COMPRESSED = 32768;
// Flags for GlobalAlloc
enum UINT
GMEM_FIXED = 0,
GMEM_MOVEABLE = 0x0002,
GMEM_ZEROINIT = 0x0040,
GPTR = 0x0040,
GHND = 0x0042,
GMEM_MODIFY = 0x0080, // used only for GlobalRealloc
GMEM_VALID_FLAGS = 0x7F72;
/+ // Obselete flags (Win16 only)
GMEM_NOCOMPACT=16;
GMEM_NODISCARD=32;
GMEM_DISCARDABLE=256;
GMEM_NOT_BANKED=4096;
GMEM_LOWER=4096;
GMEM_SHARE=8192;
GMEM_DDESHARE=8192;
GMEM_LOCKCOUNT=255;
// for GlobalFlags()
GMEM_DISCARDED = 16384;
GMEM_INVALID_HANDLE = 32768;
GMEM_NOTIFY = 16384;
+/
enum UINT
LMEM_FIXED = 0,
LMEM_MOVEABLE = 0x0002,
LMEM_NONZEROLPTR = 0,
NONZEROLPTR = 0,
LMEM_NONZEROLHND = 0x0002,
NONZEROLHND = 0x0002,
LMEM_DISCARDABLE = 0x0F00,
LMEM_NOCOMPACT = 0x0010,
LMEM_NODISCARD = 0x0020,
LMEM_ZEROINIT = 0x0040,
LPTR = 0x0040,
LHND = 0x0042,
LMEM_MODIFY = 0x0080,
LMEM_LOCKCOUNT = 0x00FF,
LMEM_DISCARDED = 0x4000,
LMEM_INVALID_HANDLE = 0x8000;
// used in EXCEPTION_RECORD
enum : DWORD {
STATUS_WAIT_0 = 0,
STATUS_ABANDONED_WAIT_0 = 0x00000080,
STATUS_USER_APC = 0x000000C0,
STATUS_TIMEOUT = 0x00000102,
STATUS_PENDING = 0x00000103,
STATUS_SEGMENT_NOTIFICATION = 0x40000005,
STATUS_GUARD_PAGE_VIOLATION = 0x80000001,
STATUS_DATATYPE_MISALIGNMENT = 0x80000002,
STATUS_BREAKPOINT = 0x80000003,
STATUS_SINGLE_STEP = 0x80000004,
STATUS_ACCESS_VIOLATION = 0xC0000005,
STATUS_IN_PAGE_ERROR = 0xC0000006,
STATUS_INVALID_HANDLE = 0xC0000008,
STATUS_NO_MEMORY = 0xC0000017,
STATUS_ILLEGAL_INSTRUCTION = 0xC000001D,
STATUS_NONCONTINUABLE_EXCEPTION = 0xC0000025,
STATUS_INVALID_DISPOSITION = 0xC0000026,
STATUS_ARRAY_BOUNDS_EXCEEDED = 0xC000008C,
STATUS_FLOAT_DENORMAL_OPERAND = 0xC000008D,
STATUS_FLOAT_DIVIDE_BY_ZERO = 0xC000008E,
STATUS_FLOAT_INEXACT_RESULT = 0xC000008F,
STATUS_FLOAT_INVALID_OPERATION = 0xC0000090,
STATUS_FLOAT_OVERFLOW = 0xC0000091,
STATUS_FLOAT_STACK_CHECK = 0xC0000092,
STATUS_FLOAT_UNDERFLOW = 0xC0000093,
STATUS_INTEGER_DIVIDE_BY_ZERO = 0xC0000094,
STATUS_INTEGER_OVERFLOW = 0xC0000095,
STATUS_PRIVILEGED_INSTRUCTION = 0xC0000096,
STATUS_STACK_OVERFLOW = 0xC00000FD,
STATUS_CONTROL_C_EXIT = 0xC000013A,
STATUS_DLL_INIT_FAILED = 0xC0000142,
STATUS_DLL_INIT_FAILED_LOGOFF = 0xC000026B,
CONTROL_C_EXIT = STATUS_CONTROL_C_EXIT,
EXCEPTION_ACCESS_VIOLATION = STATUS_ACCESS_VIOLATION,
EXCEPTION_DATATYPE_MISALIGNMENT = STATUS_DATATYPE_MISALIGNMENT,
EXCEPTION_BREAKPOINT = STATUS_BREAKPOINT,
EXCEPTION_SINGLE_STEP = STATUS_SINGLE_STEP,
EXCEPTION_ARRAY_BOUNDS_EXCEEDED = STATUS_ARRAY_BOUNDS_EXCEEDED,
EXCEPTION_FLT_DENORMAL_OPERAND = STATUS_FLOAT_DENORMAL_OPERAND,
EXCEPTION_FLT_DIVIDE_BY_ZERO = STATUS_FLOAT_DIVIDE_BY_ZERO,
EXCEPTION_FLT_INEXACT_RESULT = STATUS_FLOAT_INEXACT_RESULT,
EXCEPTION_FLT_INVALID_OPERATION = STATUS_FLOAT_INVALID_OPERATION,
EXCEPTION_FLT_OVERFLOW = STATUS_FLOAT_OVERFLOW,
EXCEPTION_FLT_STACK_CHECK = STATUS_FLOAT_STACK_CHECK,
EXCEPTION_FLT_UNDERFLOW = STATUS_FLOAT_UNDERFLOW,
EXCEPTION_INT_DIVIDE_BY_ZERO = STATUS_INTEGER_DIVIDE_BY_ZERO,
EXCEPTION_INT_OVERFLOW = STATUS_INTEGER_OVERFLOW,
EXCEPTION_PRIV_INSTRUCTION = STATUS_PRIVILEGED_INSTRUCTION,
EXCEPTION_IN_PAGE_ERROR = STATUS_IN_PAGE_ERROR,
EXCEPTION_ILLEGAL_INSTRUCTION = STATUS_ILLEGAL_INSTRUCTION,
EXCEPTION_NONCONTINUABLE_EXCEPTION = STATUS_NONCONTINUABLE_EXCEPTION,
EXCEPTION_STACK_OVERFLOW = STATUS_STACK_OVERFLOW,
EXCEPTION_INVALID_DISPOSITION = STATUS_INVALID_DISPOSITION,
EXCEPTION_GUARD_PAGE = STATUS_GUARD_PAGE_VIOLATION,
EXCEPTION_INVALID_HANDLE = STATUS_INVALID_HANDLE
}
// for PROCESS_HEAP_ENTRY
enum WORD
PROCESS_HEAP_REGION = 1,
PROCESS_HEAP_UNCOMMITTED_RANGE = 2,
PROCESS_HEAP_ENTRY_BUSY = 4,
PROCESS_HEAP_ENTRY_MOVEABLE = 16,
PROCESS_HEAP_ENTRY_DDESHARE = 32;
// for LoadLibraryEx()
enum DWORD
DONT_RESOLVE_DLL_REFERENCES = 0x01, // not for WinME and earlier
LOAD_LIBRARY_AS_DATAFILE = 0x02,
LOAD_WITH_ALTERED_SEARCH_PATH = 0x08,
LOAD_IGNORE_CODE_AUTHZ_LEVEL = 0x10; // only for XP and later
// for LockFile()
enum DWORD
LOCKFILE_FAIL_IMMEDIATELY = 1,
LOCKFILE_EXCLUSIVE_LOCK = 2;
enum MAXIMUM_WAIT_OBJECTS = 64;
enum MAXIMUM_SUSPEND_COUNT = 0x7F;
enum WAIT_OBJECT_0 = 0;
enum WAIT_ABANDONED_0 = 128;
//const WAIT_TIMEOUT=258; // also in winerror.h
enum : DWORD {
WAIT_IO_COMPLETION = 0x000000C0,
WAIT_ABANDONED = 0x00000080,
WAIT_FAILED = 0xFFFFFFFF
}
// PurgeComm()
enum DWORD
PURGE_TXABORT = 1,
PURGE_RXABORT = 2,
PURGE_TXCLEAR = 4,
PURGE_RXCLEAR = 8;
// ReadEventLog()
enum DWORD
EVENTLOG_SEQUENTIAL_READ = 1,
EVENTLOG_SEEK_READ = 2,
EVENTLOG_FORWARDS_READ = 4,
EVENTLOG_BACKWARDS_READ = 8;
// ReportEvent()
enum : WORD {
EVENTLOG_SUCCESS = 0,
EVENTLOG_ERROR_TYPE = 1,
EVENTLOG_WARNING_TYPE = 2,
EVENTLOG_INFORMATION_TYPE = 4,
EVENTLOG_AUDIT_SUCCESS = 8,
EVENTLOG_AUDIT_FAILURE = 16
}
// FormatMessage()
enum DWORD
FORMAT_MESSAGE_ALLOCATE_BUFFER = 0x0100,
FORMAT_MESSAGE_IGNORE_INSERTS = 0x0200,
FORMAT_MESSAGE_FROM_STRING = 0x0400,
FORMAT_MESSAGE_FROM_HMODULE = 0x0800,
FORMAT_MESSAGE_FROM_SYSTEM = 0x1000,
FORMAT_MESSAGE_ARGUMENT_ARRAY = 0x2000;
enum DWORD FORMAT_MESSAGE_MAX_WIDTH_MASK = 255;
// also in ddk/ntapi.h
// To restore default error mode, call SetErrorMode(0)
enum {
SEM_FAILCRITICALERRORS = 0x0001,
SEM_NOGPFAULTERRORBOX = 0x0002,
SEM_NOALIGNMENTFAULTEXCEPT = 0x0004,
SEM_NOOPENFILEERRORBOX = 0x8000
}
// end ntapi.h
enum {
SLE_ERROR = 1,
SLE_MINORERROR,
SLE_WARNING
}
enum SHUTDOWN_NORETRY = 1;
// Return type for exception filters.
enum : LONG {
EXCEPTION_EXECUTE_HANDLER = 1,
EXCEPTION_CONTINUE_EXECUTION = -1,
EXCEPTION_CONTINUE_SEARCH = 0
}
enum : ATOM {
MAXINTATOM = 0xC000,
INVALID_ATOM = 0
}
enum IGNORE = 0;
enum INFINITE = 0xFFFFFFFF;
// EscapeCommFunction()
enum {
SETXOFF = 1,
SETXON,
SETRTS,
CLRRTS,
SETDTR,
CLRDTR, // = 6
SETBREAK = 8,
CLRBREAK = 9
}
// for SetCommMask()
enum DWORD
EV_RXCHAR = 0x0001,
EV_RXFLAG = 0x0002,
EV_TXEMPTY = 0x0004,
EV_CTS = 0x0008,
EV_DSR = 0x0010,
EV_RLSD = 0x0020,
EV_BREAK = 0x0040,
EV_ERR = 0x0080,
EV_RING = 0x0100,
EV_PERR = 0x0200,
EV_RX80FULL = 0x0400,
EV_EVENT1 = 0x0800,
EV_EVENT2 = 0x1000;
// GetCommModemStatus()
enum DWORD
MS_CTS_ON = 0x0010,
MS_DSR_ON = 0x0020,
MS_RING_ON = 0x0040,
MS_RLSD_ON = 0x0080;
// DCB
enum : BYTE {
NOPARITY = 0,
ODDPARITY,
EVENPARITY,
MARKPARITY,
SPACEPARITY
}
// DCB
enum : BYTE {
ONESTOPBIT = 0,
ONE5STOPBITS,
TWOSTOPBITS
}
// DCB
enum : DWORD {
CBR_110 = 110,
CBR_300 = 300,
CBR_600 = 600,
CBR_1200 = 1200,
CBR_2400 = 2400,
CBR_4800 = 4800,
CBR_9600 = 9600,
CBR_14400 = 14400,
CBR_19200 = 19200,
CBR_38400 = 38400,
CBR_56000 = 56000,
CBR_57600 = 57600,
CBR_115200 = 115200,
CBR_128000 = 128000,
CBR_256000 = 256000
}
// DCB, 2-bit bitfield
enum {
DTR_CONTROL_DISABLE = 0,
DTR_CONTROL_ENABLE,
DTR_CONTROL_HANDSHAKE
}
// DCB, 2-bit bitfield
enum {
RTS_CONTROL_DISABLE = 0,
RTS_CONTROL_ENABLE,
RTS_CONTROL_HANDSHAKE,
RTS_CONTROL_TOGGLE,
}
// WIN32_STREAM_ID
enum : DWORD {
BACKUP_INVALID = 0,
BACKUP_DATA,
BACKUP_EA_DATA,
BACKUP_SECURITY_DATA,
BACKUP_ALTERNATE_DATA,
BACKUP_LINK,
BACKUP_PROPERTY_DATA,
BACKUP_OBJECT_ID,
BACKUP_REPARSE_DATA,
BACKUP_SPARSE_BLOCK
}
// WIN32_STREAM_ID
enum : DWORD {
STREAM_NORMAL_ATTRIBUTE = 0,
STREAM_MODIFIED_WHEN_READ = 1,
STREAM_CONTAINS_SECURITY = 2,
STREAM_CONTAINS_PROPERTIES = 4
}
// STARTUPINFO
enum DWORD
STARTF_USESHOWWINDOW = 0x0001,
STARTF_USESIZE = 0x0002,
STARTF_USEPOSITION = 0x0004,
STARTF_USECOUNTCHARS = 0x0008,
STARTF_USEFILLATTRIBUTE = 0x0010,
STARTF_RUNFULLSCREEN = 0x0020,
STARTF_FORCEONFEEDBACK = 0x0040,
STARTF_FORCEOFFFEEDBACK = 0x0080,
STARTF_USESTDHANDLES = 0x0100,
STARTF_USEHOTKEY = 0x0200;
// ???
enum {
TC_NORMAL = 0,
TC_HARDERR = 1,
TC_GP_TRAP = 2,
TC_SIGNAL = 3
}
/+ These seem to be Windows CE-specific
enum {
AC_LINE_OFFLINE = 0,
AC_LINE_ONLINE = 1,
AC_LINE_BACKUP_POWER = 2,
AC_LINE_UNKNOWN = 255
}
enum {
BATTERY_FLAG_HIGH = 1,
BATTERY_FLAG_LOW = 2,
BATTERY_FLAG_CRITICAL = 4,
BATTERY_FLAG_CHARGING = 8,
BATTERY_FLAG_NO_BATTERY = 128,
BATTERY_FLAG_UNKNOWN = 255,
BATTERY_PERCENTAGE_UNKNOWN = 255,
BATTERY_LIFE_UNKNOWN = 0xFFFFFFFF
}
+/
// ???
enum HINSTANCE_ERROR = 32;
// returned from GetFileSize()
enum DWORD INVALID_FILE_SIZE = 0xFFFFFFFF;
enum DWORD TLS_OUT_OF_INDEXES = 0xFFFFFFFF;
// GetWriteWatch()
enum DWORD WRITE_WATCH_FLAG_RESET = 1;
// for LogonUser()
enum : DWORD {
LOGON32_LOGON_INTERACTIVE = 2,
LOGON32_LOGON_NETWORK = 3,
LOGON32_LOGON_BATCH = 4,
LOGON32_LOGON_SERVICE = 5,
LOGON32_LOGON_UNLOCK = 7
}
// for LogonUser()
enum : DWORD {
LOGON32_PROVIDER_DEFAULT,
LOGON32_PROVIDER_WINNT35,
LOGON32_PROVIDER_WINNT40,
LOGON32_PROVIDER_WINNT50
}
// for MoveFileEx()
enum DWORD
MOVEFILE_REPLACE_EXISTING = 1,
MOVEFILE_COPY_ALLOWED = 2,
MOVEFILE_DELAY_UNTIL_REBOOT = 4,
MOVEFILE_WRITE_THROUGH = 8;
// DefineDosDevice()
enum DWORD
DDD_RAW_TARGET_PATH = 1,
DDD_REMOVE_DEFINITION = 2,
DDD_EXACT_MATCH_ON_REMOVE = 4;
static if (_WIN32_WINNT >= 0x500) {
enum : DWORD {
LOGON32_LOGON_NETWORK_CLEARTEXT = 8,
LOGON32_LOGON_NEW_CREDENTIALS = 9
}
// ReplaceFile()
enum DWORD
REPLACEFILE_WRITE_THROUGH = 1,
REPLACEFILE_IGNORE_MERGE_ERRORS = 2;
}
static if (_WIN32_WINNT >= 0x501) {
enum DWORD
GET_MODULE_HANDLE_EX_FLAG_PIN = 1,
GET_MODULE_HANDLE_EX_FLAG_UNCHANGED_REFCOUNT = 2,
GET_MODULE_HANDLE_EX_FLAG_FROM_ADDRESS = 4;
// for ACTCTX
enum DWORD
ACTCTX_FLAG_PROCESSOR_ARCHITECTURE_VALID = 0x01,
ACTCTX_FLAG_LANGID_VALID = 0x02,
ACTCTX_FLAG_ASSEMBLY_DIRECTORY_VALID = 0x04,
ACTCTX_FLAG_RESOURCE_NAME_VALID = 0x08,
ACTCTX_FLAG_SET_PROCESS_DEFAULT = 0x10,
ACTCTX_FLAG_APPLICATION_NAME_VALID = 0x20,
ACTCTX_FLAG_HMODULE_VALID = 0x80;
// DeactivateActCtx()
enum DWORD DEACTIVATE_ACTCTX_FLAG_FORCE_EARLY_DEACTIVATION = 1;
// FindActCtxSectionString()
enum DWORD FIND_ACTCTX_SECTION_KEY_RETURN_HACTCTX = 1;
// QueryActCtxW()
enum DWORD
QUERY_ACTCTX_FLAG_USE_ACTIVE_ACTCTX = 0x04,
QUERY_ACTCTX_FLAG_ACTCTX_IS_HMODULE = 0x08,
QUERY_ACTCTX_FLAG_ACTCTX_IS_ADDRESS = 0x10;
enum {
LOGON_WITH_PROFILE = 1,
LOGON_NETCREDENTIALS_ONLY
}
}
// ----
struct FILETIME {
DWORD dwLowDateTime;
DWORD dwHighDateTime;
}
alias FILETIME* PFILETIME, LPFILETIME;
struct BY_HANDLE_FILE_INFORMATION {
DWORD dwFileAttributes;
FILETIME ftCreationTime;
FILETIME ftLastAccessTime;
FILETIME ftLastWriteTime;
DWORD dwVolumeSerialNumber;
DWORD nFileSizeHigh;
DWORD nFileSizeLow;
DWORD nNumberOfLinks;
DWORD nFileIndexHigh;
DWORD nFileIndexLow;
}
alias BY_HANDLE_FILE_INFORMATION* LPBY_HANDLE_FILE_INFORMATION;
struct DCB {
DWORD DCBlength = DCB.sizeof;
DWORD BaudRate;
/+
DWORD fBinary:1; // Binary Mode (skip EOF check)
DWORD fParity:1; // Enable parity checking
DWORD fOutxCtsFlow:1; // CTS handshaking on output
DWORD fOutxDsrFlow:1; // DSR handshaking on output
DWORD fDtrControl:2; // DTR Flow control
DWORD fDsrSensitivity:1; // DSR Sensitivity
DWORD fTXContinueOnXoff:1; // Continue TX when Xoff sent
DWORD fOutX:1; // Enable output X-ON/X-OFF
DWORD fInX:1; // Enable input X-ON/X-OFF
DWORD fErrorChar:1; // Enable Err Replacement
DWORD fNull:1; // Enable Null stripping
DWORD fRtsControl:2; // Rts Flow control
DWORD fAbortOnError:1; // Abort all reads and writes on Error
DWORD fDummy2:17; // Reserved
+/
uint _bf;
bool fBinary(bool f) { _bf = (_bf & ~0x0001) | f; return f; }
bool fParity(bool f) { _bf = (_bf & ~0x0002) | (f<<1); return f; }
bool fOutxCtsFlow(bool f) { _bf = (_bf & ~0x0004) | (f<<2); return f; }
bool fOutxDsrFlow(bool f) { _bf = (_bf & ~0x0008) | (f<<3); return f; }
byte fDtrControl(byte x) { _bf = (_bf & ~0x0030) | (x<<4); return cast(byte)(x & 3); }
bool fDsrSensitivity(bool f) { _bf = (_bf & ~0x0040) | (f<<6); return f; }
bool fTXContinueOnXoff(bool f) { _bf = (_bf & ~0x0080) | (f<<7); return f; }
bool fOutX(bool f) { _bf = (_bf & ~0x0100) | (f<<8); return f; }
bool fInX(bool f) { _bf = (_bf & ~0x0200) | (f<<9); return f; }
bool fErrorChar(bool f) { _bf = (_bf & ~0x0400) | (f<<10); return f; }
bool fNull(bool f) { _bf = (_bf & ~0x0800) | (f<<11); return f; }
byte fRtsControl(byte x) { _bf = (_bf & ~0x3000) | (x<<12); return cast(byte)(x & 3); }
bool fAbortOnError(bool f) { _bf = (_bf & ~0x4000) | (f<<14); return f; }
bool fBinary() { return cast(bool) (_bf & 1); }
bool fParity() { return cast(bool) (_bf & 2); }
bool fOutxCtsFlow() { return cast(bool) (_bf & 4); }
bool fOutxDsrFlow() { return cast(bool) (_bf & 8); }
byte fDtrControl() { return cast(byte) ((_bf & (32+16))>>4); }
bool fDsrSensitivity() { return cast(bool) (_bf & 64); }
bool fTXContinueOnXoff() { return cast(bool) (_bf & 128); }
bool fOutX() { return cast(bool) (_bf & 256); }
bool fInX() { return cast(bool) (_bf & 512); }
bool fErrorChar() { return cast(bool) (_bf & 1024); }
bool fNull() { return cast(bool) (_bf & 2048); }
byte fRtsControl() { return cast(byte) ((_bf & (4096+8192))>>12); }
bool fAbortOnError() { return cast(bool) (_bf & 16384); }
WORD wReserved;
WORD XonLim;
WORD XoffLim;
BYTE ByteSize;
BYTE Parity;
BYTE StopBits;
char XonChar = 0;
char XoffChar = 0;
char ErrorChar = 0;
char EofChar = 0;
char EvtChar = 0;
WORD wReserved1;
}
alias DCB* LPDCB;
struct COMMCONFIG {
DWORD dwSize = COMMCONFIG.sizeof;
WORD wVersion;
WORD wReserved;
DCB dcb;
DWORD dwProviderSubType;
DWORD dwProviderOffset;
DWORD dwProviderSize;
WCHAR _wcProviderData = 0;
WCHAR* wcProviderData() return { return &_wcProviderData; }
}
alias COMMCONFIG* LPCOMMCONFIG;
struct COMMTIMEOUTS {
DWORD ReadIntervalTimeout;
DWORD ReadTotalTimeoutMultiplier;
DWORD ReadTotalTimeoutConstant;
DWORD WriteTotalTimeoutMultiplier;
DWORD WriteTotalTimeoutConstant;
}
alias COMMTIMEOUTS* LPCOMMTIMEOUTS;
struct COMSTAT {
/+
DWORD fCtsHold:1;
DWORD fDsrHold:1;
DWORD fRlsdHold:1;
DWORD fXoffHold:1;
DWORD fXoffSent:1;
DWORD fEof:1;
DWORD fTxim:1;
DWORD fReserved:25;
+/
DWORD _bf;
bool fCtsHold(bool f) { _bf = (_bf & ~1) | f; return f; }
bool fDsrHold(bool f) { _bf = (_bf & ~2) | (f<<1); return f; }
bool fRlsdHold(bool f) { _bf = (_bf & ~4) | (f<<2); return f; }
bool fXoffHold(bool f) { _bf = (_bf & ~8) | (f<<3); return f; }
bool fXoffSent(bool f) { _bf = (_bf & ~16) | (f<<4); return f; }
bool fEof(bool f) { _bf = (_bf & ~32) | (f<<5); return f; }
bool fTxim(bool f) { _bf = (_bf & ~64) | (f<<6); return f; }
bool fCtsHold() { return cast(bool) (_bf & 1); }
bool fDsrHold() { return cast(bool) (_bf & 2); }
bool fRlsdHold() { return cast(bool) (_bf & 4); }
bool fXoffHold() { return cast(bool) (_bf & 8); }
bool fXoffSent() { return cast(bool) (_bf & 16); }
bool fEof() { return cast(bool) (_bf & 32); }
bool fTxim() { return cast(bool) (_bf & 64); }
DWORD cbInQue;
DWORD cbOutQue;
}
alias COMSTAT* LPCOMSTAT;
struct CREATE_PROCESS_DEBUG_INFO {
HANDLE hFile;
HANDLE hProcess;
HANDLE hThread;
LPVOID lpBaseOfImage;
DWORD dwDebugInfoFileOffset;
DWORD nDebugInfoSize;
LPVOID lpThreadLocalBase;
LPTHREAD_START_ROUTINE lpStartAddress;
LPVOID lpImageName;
WORD fUnicode;
}
alias CREATE_PROCESS_DEBUG_INFO* LPCREATE_PROCESS_DEBUG_INFO;
struct CREATE_THREAD_DEBUG_INFO {
HANDLE hThread;
LPVOID lpThreadLocalBase;
LPTHREAD_START_ROUTINE lpStartAddress;
}
alias CREATE_THREAD_DEBUG_INFO* LPCREATE_THREAD_DEBUG_INFO;
struct EXCEPTION_DEBUG_INFO {
EXCEPTION_RECORD ExceptionRecord;
DWORD dwFirstChance;
}
alias EXCEPTION_DEBUG_INFO* LPEXCEPTION_DEBUG_INFO;
struct EXIT_THREAD_DEBUG_INFO {
DWORD dwExitCode;
}
alias EXIT_THREAD_DEBUG_INFO* LPEXIT_THREAD_DEBUG_INFO;
struct EXIT_PROCESS_DEBUG_INFO {
DWORD dwExitCode;
}
alias EXIT_PROCESS_DEBUG_INFO* LPEXIT_PROCESS_DEBUG_INFO;
struct LOAD_DLL_DEBUG_INFO {
HANDLE hFile;
LPVOID lpBaseOfDll;
DWORD dwDebugInfoFileOffset;
DWORD nDebugInfoSize;
LPVOID lpImageName;
WORD fUnicode;
}
alias LOAD_DLL_DEBUG_INFO* LPLOAD_DLL_DEBUG_INFO;
struct UNLOAD_DLL_DEBUG_INFO {
LPVOID lpBaseOfDll;
}
alias UNLOAD_DLL_DEBUG_INFO* LPUNLOAD_DLL_DEBUG_INFO;
struct OUTPUT_DEBUG_STRING_INFO {
LPSTR lpDebugStringData;
WORD fUnicode;
WORD nDebugStringLength;
}
alias OUTPUT_DEBUG_STRING_INFO* LPOUTPUT_DEBUG_STRING_INFO;
struct RIP_INFO {
DWORD dwError;
DWORD dwType;
}
alias RIP_INFO* LPRIP_INFO;
struct DEBUG_EVENT {
DWORD dwDebugEventCode;
DWORD dwProcessId;
DWORD dwThreadId;
union {
EXCEPTION_DEBUG_INFO Exception;
CREATE_THREAD_DEBUG_INFO CreateThread;
CREATE_PROCESS_DEBUG_INFO CreateProcessInfo;
EXIT_THREAD_DEBUG_INFO ExitThread;
EXIT_PROCESS_DEBUG_INFO ExitProcess;
LOAD_DLL_DEBUG_INFO LoadDll;
UNLOAD_DLL_DEBUG_INFO UnloadDll;
OUTPUT_DEBUG_STRING_INFO DebugString;
RIP_INFO RipInfo;
}
}
alias DEBUG_EVENT* LPDEBUG_EVENT;
struct OVERLAPPED {
ULONG_PTR Internal;
ULONG_PTR InternalHigh;
union {
struct {
DWORD Offset;
DWORD OffsetHigh;
}
PVOID Pointer;
}
HANDLE hEvent;
}
alias OVERLAPPED* POVERLAPPED, LPOVERLAPPED;
struct STARTUPINFOA {
DWORD cb = STARTUPINFOA.sizeof;
LPSTR lpReserved;
LPSTR lpDesktop;
LPSTR lpTitle;
DWORD dwX;
DWORD dwY;
DWORD dwXSize;
DWORD dwYSize;
DWORD dwXCountChars;
DWORD dwYCountChars;
DWORD dwFillAttribute;
DWORD dwFlags;
WORD wShowWindow;
WORD cbReserved2;
PBYTE lpReserved2;
HANDLE hStdInput;
HANDLE hStdOutput;
HANDLE hStdError;
}
alias STARTUPINFOA* LPSTARTUPINFOA;
struct STARTUPINFOW {
DWORD cb = STARTUPINFOW.sizeof;
LPWSTR lpReserved;
LPWSTR lpDesktop;
LPWSTR lpTitle;
DWORD dwX;
DWORD dwY;
DWORD dwXSize;
DWORD dwYSize;
DWORD dwXCountChars;
DWORD dwYCountChars;
DWORD dwFillAttribute;
DWORD dwFlags;
WORD wShowWindow;
WORD cbReserved2;
PBYTE lpReserved2;
HANDLE hStdInput;
HANDLE hStdOutput;
HANDLE hStdError;
}
alias STARTUPINFOW STARTUPINFO_W;
alias STARTUPINFOW* LPSTARTUPINFOW, LPSTARTUPINFO_W;
struct PROCESS_INFORMATION {
HANDLE hProcess;
HANDLE hThread;
DWORD dwProcessId;
DWORD dwThreadId;
}
alias PROCESS_INFORMATION* PPROCESS_INFORMATION, LPPROCESS_INFORMATION;
/*
struct CRITICAL_SECTION_DEBUG {
WORD Type;
WORD CreatorBackTraceIndex;
CRITICAL_SECTION* CriticalSection;
LIST_ENTRY ProcessLocksList;
DWORD EntryCount;
DWORD ContentionCount;
DWORD[2] Spare;
}
alias CRITICAL_SECTION_DEBUG* PCRITICAL_SECTION_DEBUG;
struct CRITICAL_SECTION {
PCRITICAL_SECTION_DEBUG DebugInfo;
LONG LockCount;
LONG RecursionCount;
HANDLE OwningThread;
HANDLE LockSemaphore;
DWORD SpinCount;
}
alias CRITICAL_SECTION* PCRITICAL_SECTION, LPCRITICAL_SECTION;
*/
alias CRITICAL_SECTION_DEBUG = RTL_CRITICAL_SECTION_DEBUG;
alias CRITICAL_SECTION_DEBUG* PCRITICAL_SECTION_DEBUG;
alias CRITICAL_SECTION = RTL_CRITICAL_SECTION;
alias CRITICAL_SECTION* PCRITICAL_SECTION, LPCRITICAL_SECTION;
struct SYSTEMTIME {
WORD wYear;
WORD wMonth;
WORD wDayOfWeek;
WORD wDay;
WORD wHour;
WORD wMinute;
WORD wSecond;
WORD wMilliseconds;
}
alias SYSTEMTIME* LPSYSTEMTIME;
struct WIN32_FILE_ATTRIBUTE_DATA {
DWORD dwFileAttributes;
FILETIME ftCreationTime;
FILETIME ftLastAccessTime;
FILETIME ftLastWriteTime;
DWORD nFileSizeHigh;
DWORD nFileSizeLow;
}
alias WIN32_FILE_ATTRIBUTE_DATA* LPWIN32_FILE_ATTRIBUTE_DATA;
struct WIN32_FIND_DATAA {
DWORD dwFileAttributes;
FILETIME ftCreationTime;
FILETIME ftLastAccessTime;
FILETIME ftLastWriteTime;
DWORD nFileSizeHigh;
DWORD nFileSizeLow;
// #ifdef _WIN32_WCE
// DWORD dwOID;
// #else
DWORD dwReserved0;
DWORD dwReserved1;
// #endif
CHAR[MAX_PATH] cFileName = 0;
// #ifndef _WIN32_WCE
CHAR[14] cAlternateFileName = 0;
// #endif
}
alias WIN32_FIND_DATAA* PWIN32_FIND_DATAA, LPWIN32_FIND_DATAA;
struct WIN32_FIND_DATAW {
DWORD dwFileAttributes;
FILETIME ftCreationTime;
FILETIME ftLastAccessTime;
FILETIME ftLastWriteTime;
DWORD nFileSizeHigh;
DWORD nFileSizeLow;
// #ifdef _WIN32_WCE
// DWORD dwOID;
// #else
DWORD dwReserved0;
DWORD dwReserved1;
// #endif
WCHAR[MAX_PATH] cFileName = 0;
// #ifndef _WIN32_WCE
WCHAR[14] cAlternateFileName = 0;
// #endif
}
alias WIN32_FIND_DATAW* PWIN32_FIND_DATAW, LPWIN32_FIND_DATAW;
struct WIN32_STREAM_ID {
DWORD dwStreamId;
DWORD dwStreamAttributes;
LARGE_INTEGER Size;
DWORD dwStreamNameSize;
WCHAR _cStreamName = 0;
WCHAR* cStreamName() return { return &_cStreamName; }
}
alias WIN32_STREAM_ID* LPWIN32_STREAM_ID;
static if (_WIN32_WINNT >= 0x601) {
enum FINDEX_INFO_LEVELS {
FindExInfoStandard,
FindExInfoBasic,
FindExInfoMaxInfoLevel,
}
} else {
enum FINDEX_INFO_LEVELS {
FindExInfoStandard,
FindExInfoMaxInfoLevel,
}
}
enum FINDEX_SEARCH_OPS {
FindExSearchNameMatch,
FindExSearchLimitToDirectories,
FindExSearchLimitToDevices,
FindExSearchMaxSearchOp
}
enum ACL_INFORMATION_CLASS {
AclRevisionInformation = 1,
AclSizeInformation
}
struct HW_PROFILE_INFOA {
DWORD dwDockInfo;
CHAR[HW_PROFILE_GUIDLEN] szHwProfileGuid = 0;
CHAR[MAX_PROFILE_LEN] szHwProfileName = 0;
}
alias HW_PROFILE_INFOA* LPHW_PROFILE_INFOA;
struct HW_PROFILE_INFOW {
DWORD dwDockInfo;
WCHAR[HW_PROFILE_GUIDLEN] szHwProfileGuid = 0;
WCHAR[MAX_PROFILE_LEN] szHwProfileName = 0;
}
alias HW_PROFILE_INFOW* LPHW_PROFILE_INFOW;
/* ??? MSDN documents this only for Windows CE/Mobile, but it's used by
* GetFileAttributesEx, which is in desktop Windows.
*/
enum GET_FILEEX_INFO_LEVELS {
GetFileExInfoStandard,
GetFileExMaxInfoLevel
}
struct SYSTEM_INFO {
union {
DWORD dwOemId;
struct {
WORD wProcessorArchitecture;
WORD wReserved;
}
}
DWORD dwPageSize;
PVOID lpMinimumApplicationAddress;
PVOID lpMaximumApplicationAddress;
DWORD_PTR dwActiveProcessorMask;
DWORD dwNumberOfProcessors;
DWORD dwProcessorType;
DWORD dwAllocationGranularity;
WORD wProcessorLevel;
WORD wProcessorRevision;
}
alias SYSTEM_INFO* LPSYSTEM_INFO;
static if (_WIN32_WINNT >= 0x500) {
struct SYSTEM_POWER_STATUS {
BYTE ACLineStatus;
BYTE BatteryFlag;
BYTE BatteryLifePercent;
BYTE Reserved1;
DWORD BatteryLifeTime;
DWORD BatteryFullLifeTime;
}
alias SYSTEM_POWER_STATUS* LPSYSTEM_POWER_STATUS;
}
struct TIME_ZONE_INFORMATION {
LONG Bias;
WCHAR[32] StandardName = 0;
SYSTEMTIME StandardDate;
LONG StandardBias;
WCHAR[32] DaylightName = 0;
SYSTEMTIME DaylightDate;
LONG DaylightBias;
}
alias TIME_ZONE_INFORMATION* LPTIME_ZONE_INFORMATION;
// Does not exist in Windows headers, only MSDN
// documentation (for TIME_ZONE_INFORMATION).
// Provided solely for compatibility with the old
// core.sys.windows.windows
struct REG_TZI_FORMAT {
LONG Bias;
LONG StandardBias;
LONG DaylightBias;
SYSTEMTIME StandardDate;
SYSTEMTIME DaylightDate;
}
// MSDN documents this, possibly erroneously, as Win2000+.
struct MEMORYSTATUS {
DWORD dwLength;
DWORD dwMemoryLoad;
SIZE_T dwTotalPhys;
SIZE_T dwAvailPhys;
SIZE_T dwTotalPageFile;
SIZE_T dwAvailPageFile;
SIZE_T dwTotalVirtual;
SIZE_T dwAvailVirtual;
}
alias MEMORYSTATUS* LPMEMORYSTATUS;
static if (_WIN32_WINNT >= 0x500) {
struct MEMORYSTATUSEX {
DWORD dwLength;
DWORD dwMemoryLoad;
DWORDLONG ullTotalPhys;
DWORDLONG ullAvailPhys;
DWORDLONG ullTotalPageFile;
DWORDLONG ullAvailPageFile;
DWORDLONG ullTotalVirtual;
DWORDLONG ullAvailVirtual;
DWORDLONG ullAvailExtendedVirtual;
}
alias MEMORYSTATUSEX* LPMEMORYSTATUSEX;
}
struct LDT_ENTRY {
WORD LimitLow;
WORD BaseLow;
struct {
BYTE BaseMid;
BYTE Flags1;
BYTE Flags2;
BYTE BaseHi;
byte Type(byte f) { Flags1 = cast(BYTE) ((Flags1 & 0xE0) | f); return cast(byte)(f & 0x1F); }
byte Dpl(byte f) { Flags1 = cast(BYTE) ((Flags1 & 0x9F) | (f<<5)); return cast(byte)(f & 3); }
bool Pres(bool f) { Flags1 = cast(BYTE) ((Flags1 & 0x7F) | (f<<7)); return f; }
byte LimitHi(byte f) { Flags2 = cast(BYTE) ((Flags2 & 0xF0) | (f&0x0F)); return cast(byte)(f & 0x0F); }
bool Sys(bool f) { Flags2 = cast(BYTE) ((Flags2 & 0xEF) | (f<<4)); return f; }
// Next bit is reserved
bool Default_Big(bool f) { Flags2 = cast(BYTE) ((Flags2 & 0xBF) | (f<<6)); return f; }
bool Granularity(bool f) { Flags2 = cast(BYTE) ((Flags2 & 0x7F) | (f<<7)); return f; }
byte Type() { return cast(byte) (Flags1 & 0x1F); }
byte Dpl() { return cast(byte) ((Flags1 & 0x60)>>5); }
bool Pres() { return cast(bool) (Flags1 & 0x80); }
byte LimitHi() { return cast(byte) (Flags2 & 0x0F); }
bool Sys() { return cast(bool) (Flags2 & 0x10); }
bool Default_Big() { return cast(bool) (Flags2 & 0x40); }
bool Granularity() { return cast(bool) (Flags2 & 0x80); }
}
/+
union HighWord {
struct Bytes {
BYTE BaseMid;
BYTE Flags1;
BYTE Flags2;
BYTE BaseHi;
}
struct Bits {
DWORD BaseMid:8;
DWORD Type:5;
DWORD Dpl:2;
DWORD Pres:1;
DWORD LimitHi:4;
DWORD Sys:1;
DWORD Reserved_0:1;
DWORD Default_Big:1;
DWORD Granularity:1;
DWORD BaseHi:8;
}
}
+/
}
alias LDT_ENTRY* PLDT_ENTRY, LPLDT_ENTRY;
/* As with the other memory management functions and structures, MSDN's
* Windows version info shall be taken with a cup of salt.
*/
struct PROCESS_HEAP_ENTRY {
PVOID lpData;
DWORD cbData;
BYTE cbOverhead;
BYTE iRegionIndex;
WORD wFlags;
union {
struct _Block {
HANDLE hMem;
DWORD[3] dwReserved;
}
_Block Block;
struct _Region {
DWORD dwCommittedSize;
DWORD dwUnCommittedSize;
LPVOID lpFirstBlock;
LPVOID lpLastBlock;
}
_Region Region;
}
}
alias PROCESS_HEAP_ENTRY* LPPROCESS_HEAP_ENTRY;
struct OFSTRUCT {
BYTE cBytes = OFSTRUCT.sizeof;
BYTE fFixedDisk;
WORD nErrCode;
WORD Reserved1;
WORD Reserved2;
CHAR[128] szPathName = 0; // const OFS_MAXPATHNAME = 128;
}
alias OFSTRUCT* LPOFSTRUCT, POFSTRUCT;
/* ??? MSDN documents this only for Windows CE, but it's used by
* ImageGetCertificateData, which is in desktop Windows.
*/
struct WIN_CERTIFICATE {
DWORD dwLength;
WORD wRevision;
WORD wCertificateType;
BYTE _bCertificate;
BYTE* bCertificate() return { return &_bCertificate; }
}
alias WIN_CERTIFICATE* LPWIN_CERTIFICATE;
static if (_WIN32_WINNT >= 0x500) {
enum COMPUTER_NAME_FORMAT {
ComputerNameNetBIOS,
ComputerNameDnsHostname,
ComputerNameDnsDomain,
ComputerNameDnsFullyQualified,
ComputerNamePhysicalNetBIOS,
ComputerNamePhysicalDnsHostname,
ComputerNamePhysicalDnsDomain,
ComputerNamePhysicalDnsFullyQualified,
ComputerNameMax
}
}
static if (_WIN32_WINNT >= 0x501) {
struct ACTCTXA {
ULONG cbSize = this.sizeof;
DWORD dwFlags;
LPCSTR lpSource;
USHORT wProcessorArchitecture;
LANGID wLangId;
LPCSTR lpAssemblyDirectory;
LPCSTR lpResourceName;
LPCSTR lpApplicationName;
HMODULE hModule;
}
alias ACTCTXA* PACTCTXA;
alias const(ACTCTXA)* PCACTCTXA;
struct ACTCTXW {
ULONG cbSize = this.sizeof;
DWORD dwFlags;
LPCWSTR lpSource;
USHORT wProcessorArchitecture;
LANGID wLangId;
LPCWSTR lpAssemblyDirectory;
LPCWSTR lpResourceName;
LPCWSTR lpApplicationName;
HMODULE hModule;
}
alias ACTCTXW* PACTCTXW;
alias const(ACTCTXW)* PCACTCTXW;
struct ACTCTX_SECTION_KEYED_DATA {
ULONG cbSize = this.sizeof;
ULONG ulDataFormatVersion;
PVOID lpData;
ULONG ulLength;
PVOID lpSectionGlobalData;
ULONG ulSectionGlobalDataLength;
PVOID lpSectionBase;
ULONG ulSectionTotalLength;
HANDLE hActCtx;
HANDLE ulAssemblyRosterIndex;
}
alias ACTCTX_SECTION_KEYED_DATA* PACTCTX_SECTION_KEYED_DATA;
alias const(ACTCTX_SECTION_KEYED_DATA)* PCACTCTX_SECTION_KEYED_DATA;
enum MEMORY_RESOURCE_NOTIFICATION_TYPE {
LowMemoryResourceNotification,
HighMemoryResourceNotification
}
} // (_WIN32_WINNT >= 0x501)
static if (_WIN32_WINNT >= 0x410) {
/* apparently used only by SetThreadExecutionState (Win2000+)
* and DDK functions (version compatibility not established)
*/
alias DWORD EXECUTION_STATE;
}
// CreateSymbolicLink
static if (_WIN32_WINNT >= 0x600) {
enum {
SYMBOLIC_LINK_FLAG_DIRECTORY = 0x1,
SYMBOLIC_LINK_FLAG_ALLOW_UNPRIVILEGED_CREATE = 0x2
}
}
// Callbacks
extern (Windows) {
alias DWORD function(LPVOID) LPTHREAD_START_ROUTINE;
alias DWORD function(LARGE_INTEGER, LARGE_INTEGER, LARGE_INTEGER, LARGE_INTEGER,
DWORD, DWORD, HANDLE, HANDLE, LPVOID) LPPROGRESS_ROUTINE;
alias void function(PVOID) LPFIBER_START_ROUTINE;
alias BOOL function(HMODULE, LPCSTR, LPCSTR, WORD, LONG_PTR) ENUMRESLANGPROCA;
alias BOOL function(HMODULE, LPCWSTR, LPCWSTR, WORD, LONG_PTR) ENUMRESLANGPROCW;
alias BOOL function(HMODULE, LPCSTR, LPSTR, LONG_PTR) ENUMRESNAMEPROCA;
alias BOOL function(HMODULE, LPCWSTR, LPWSTR, LONG_PTR) ENUMRESNAMEPROCW;
alias BOOL function(HMODULE, LPSTR, LONG_PTR) ENUMRESTYPEPROCA;
alias BOOL function(HMODULE, LPWSTR, LONG_PTR) ENUMRESTYPEPROCW;
alias void function(DWORD, DWORD, LPOVERLAPPED) LPOVERLAPPED_COMPLETION_ROUTINE;
alias LONG function(LPEXCEPTION_POINTERS) PTOP_LEVEL_EXCEPTION_FILTER;
alias PTOP_LEVEL_EXCEPTION_FILTER LPTOP_LEVEL_EXCEPTION_FILTER;
alias void function(ULONG_PTR) PAPCFUNC;
alias void function(PVOID, DWORD, DWORD) PTIMERAPCROUTINE;
static if (_WIN32_WINNT >= 0x500) {
alias void function(PVOID, BOOLEAN) WAITORTIMERCALLBACK;
}
}
LPTSTR MAKEINTATOM()(ushort i) {
return cast(LPTSTR) cast(size_t) i;
}
extern (Windows) nothrow @nogc {
// The following Win16 functions are obselete in Win32.
int _hread(HFILE, LPVOID, int);
int _hwrite(HFILE, LPCSTR, int);
HFILE _lclose(HFILE);
HFILE _lcreat(LPCSTR, int);
LONG _llseek(HFILE, LONG, int);
HFILE _lopen(LPCSTR, int);
UINT _lread(HFILE, LPVOID, UINT);
UINT _lwrite(HFILE, LPCSTR, UINT);
SIZE_T GlobalCompact(DWORD);
VOID GlobalFix(HGLOBAL);
// MSDN contradicts itself on GlobalFlags:
// "This function is provided only for compatibility with 16-bit versions of Windows."
// but also requires Windows 2000 or above
UINT GlobalFlags(HGLOBAL);
VOID GlobalUnfix(HGLOBAL);
BOOL GlobalUnWire(HGLOBAL);
PVOID GlobalWire(HGLOBAL);
SIZE_T LocalCompact(UINT);
UINT LocalFlags(HLOCAL);
SIZE_T LocalShrink(HLOCAL, UINT);
/+
//--------------------------------------
// These functions are problematic
version (UseNtoSKernel) {}else {
/* CAREFUL: These are exported from ntoskrnl.exe and declared in winddk.h
as __fastcall functions, but are exported from kernel32.dll as __stdcall */
static if (_WIN32_WINNT >= 0x501) {
VOID InitializeSListHead(PSLIST_HEADER);
}
LONG InterlockedCompareExchange(LPLONG, LONG, LONG);
// PVOID WINAPI InterlockedCompareExchangePointer(PVOID*, PVOID, PVOID);
(PVOID)InterlockedCompareExchange((LPLONG)(d) (PVOID)InterlockedCompareExchange((LPLONG)(d), (LONG)(e), (LONG)(c))
LONG InterlockedDecrement(LPLONG);
LONG InterlockedExchange(LPLONG, LONG);
// PVOID WINAPI InterlockedExchangePointer(PVOID*, PVOID);
(PVOID)InterlockedExchange((LPLONG)((PVOID)InterlockedExchange((LPLONG)(t), (LONG)(v))
LONG InterlockedExchangeAdd(LPLONG, LONG);
static if (_WIN32_WINNT >= 0x501) {
PSLIST_ENTRY InterlockedFlushSList(PSLIST_HEADER);
}
LONG InterlockedIncrement(LPLONG);
static if (_WIN32_WINNT >= 0x501) {
PSLIST_ENTRY InterlockedPopEntrySList(PSLIST_HEADER);
PSLIST_ENTRY InterlockedPushEntrySList(PSLIST_HEADER, PSLIST_ENTRY);
}
} // #endif // __USE_NTOSKRNL__
//--------------------------------------
+/
LONG InterlockedIncrement(LPLONG lpAddend);
LONG InterlockedDecrement(LPLONG lpAddend);
LONG InterlockedExchange(LPLONG Target, LONG Value);
LONG InterlockedExchangeAdd(LPLONG Addend, LONG Value);
LONG InterlockedCompareExchange(LONG *Destination, LONG Exchange, LONG Comperand);
ATOM AddAtomA(LPCSTR);
ATOM AddAtomW(LPCWSTR);
BOOL AreFileApisANSI();
BOOL Beep(DWORD, DWORD);
HANDLE BeginUpdateResourceA(LPCSTR, BOOL);
HANDLE BeginUpdateResourceW(LPCWSTR, BOOL);
BOOL BuildCommDCBA(LPCSTR, LPDCB);
BOOL BuildCommDCBW(LPCWSTR, LPDCB);
BOOL BuildCommDCBAndTimeoutsA(LPCSTR, LPDCB, LPCOMMTIMEOUTS);
BOOL BuildCommDCBAndTimeoutsW(LPCWSTR, LPDCB, LPCOMMTIMEOUTS);
BOOL CallNamedPipeA(LPCSTR, PVOID, DWORD, PVOID, DWORD, PDWORD, DWORD);
BOOL CallNamedPipeW(LPCWSTR, PVOID, DWORD, PVOID, DWORD, PDWORD, DWORD);
BOOL CancelDeviceWakeupRequest(HANDLE);
BOOL CheckTokenMembership(HANDLE, PSID, PBOOL);
BOOL ClearCommBreak(HANDLE);
BOOL ClearCommError(HANDLE, PDWORD, LPCOMSTAT);
BOOL CloseHandle(HANDLE) @trusted;
BOOL CommConfigDialogA(LPCSTR, HWND, LPCOMMCONFIG);
BOOL CommConfigDialogW(LPCWSTR, HWND, LPCOMMCONFIG);
LONG CompareFileTime(const(FILETIME)*, const(FILETIME)*);
BOOL ContinueDebugEvent(DWORD, DWORD, DWORD);
BOOL CopyFileA(LPCSTR, LPCSTR, BOOL);
BOOL CopyFileW(LPCWSTR, LPCWSTR, BOOL);
BOOL CopyFileExA(LPCSTR, LPCSTR, LPPROGRESS_ROUTINE, LPVOID, LPBOOL, DWORD);
BOOL CopyFileExW(LPCWSTR, LPCWSTR, LPPROGRESS_ROUTINE, LPVOID, LPBOOL, DWORD);
/+ FIXME
alias memmove RtlMoveMemory;
alias memcpy RtlCopyMemory;
void RtlFillMemory(PVOID dest, SIZE_T len, BYTE fill) {
memset(dest, fill, len);
}
void RtlZeroMemory(PVOID dest, SIZE_T len) {
RtlFillMemory(dest, len, 0);
}
alias RtlMoveMemory MoveMemory;
alias RtlCopyMemory CopyMemory;
alias RtlFillMemory FillMemory;
alias RtlZeroMemory ZeroMemory;
+/
BOOL CreateDirectoryA(LPCSTR, LPSECURITY_ATTRIBUTES);
BOOL CreateDirectoryW(LPCWSTR, LPSECURITY_ATTRIBUTES);
BOOL CreateDirectoryExA(LPCSTR, LPCSTR, LPSECURITY_ATTRIBUTES);
BOOL CreateDirectoryExW(LPCWSTR, LPCWSTR, LPSECURITY_ATTRIBUTES);
HANDLE CreateEventA(LPSECURITY_ATTRIBUTES, BOOL, BOOL, LPCSTR);
HANDLE CreateEventW(LPSECURITY_ATTRIBUTES, BOOL, BOOL, LPCWSTR);
HANDLE CreateFileA(LPCSTR, DWORD, DWORD, LPSECURITY_ATTRIBUTES, DWORD, DWORD, HANDLE);
HANDLE CreateFileW(LPCWSTR, DWORD, DWORD, LPSECURITY_ATTRIBUTES, DWORD, DWORD, HANDLE);
HANDLE CreateIoCompletionPort(HANDLE, HANDLE, ULONG_PTR, DWORD);
HANDLE CreateMailslotA(LPCSTR, DWORD, DWORD, LPSECURITY_ATTRIBUTES);
HANDLE CreateMailslotW(LPCWSTR, DWORD, DWORD, LPSECURITY_ATTRIBUTES);
HANDLE CreateMutexA(LPSECURITY_ATTRIBUTES, BOOL, LPCSTR);
HANDLE CreateMutexW(LPSECURITY_ATTRIBUTES, BOOL, LPCWSTR);
BOOL CreatePipe(PHANDLE, PHANDLE, LPSECURITY_ATTRIBUTES, DWORD);
BOOL CreateProcessA(LPCSTR, LPSTR, LPSECURITY_ATTRIBUTES, LPSECURITY_ATTRIBUTES, BOOL, DWORD, PVOID, LPCSTR, LPSTARTUPINFOA, LPPROCESS_INFORMATION);
BOOL CreateProcessW(LPCWSTR, LPWSTR, LPSECURITY_ATTRIBUTES, LPSECURITY_ATTRIBUTES, BOOL, DWORD, PVOID, LPCWSTR, LPSTARTUPINFOW, LPPROCESS_INFORMATION);
HANDLE CreateSemaphoreA(LPSECURITY_ATTRIBUTES, LONG, LONG, LPCSTR) @trusted;
HANDLE CreateSemaphoreW(LPSECURITY_ATTRIBUTES, LONG, LONG, LPCWSTR) @trusted;
HANDLE CreateThread(LPSECURITY_ATTRIBUTES, SIZE_T, LPTHREAD_START_ROUTINE, PVOID, DWORD, PDWORD);
BOOL DebugActiveProcess(DWORD);
void DebugBreak();
ATOM DeleteAtom(ATOM);
void DeleteCriticalSection(PCRITICAL_SECTION);
BOOL DeleteFileA(LPCSTR);
BOOL DeleteFileW(LPCWSTR);
BOOL DisableThreadLibraryCalls(HMODULE);
BOOL DosDateTimeToFileTime(WORD, WORD, LPFILETIME);
BOOL DuplicateHandle(HANDLE, HANDLE, HANDLE, PHANDLE, DWORD, BOOL, DWORD);
BOOL EndUpdateResourceA(HANDLE, BOOL);
BOOL EndUpdateResourceW(HANDLE, BOOL);
void EnterCriticalSection(LPCRITICAL_SECTION);
void EnterCriticalSection(shared(CRITICAL_SECTION)*);
BOOL EnumResourceLanguagesA(HMODULE, LPCSTR, LPCSTR, ENUMRESLANGPROC, LONG_PTR);
BOOL EnumResourceLanguagesW(HMODULE, LPCWSTR, LPCWSTR, ENUMRESLANGPROC, LONG_PTR);
BOOL EnumResourceNamesA(HMODULE, LPCSTR, ENUMRESNAMEPROC, LONG_PTR);
BOOL EnumResourceNamesW(HMODULE, LPCWSTR, ENUMRESNAMEPROC, LONG_PTR);
BOOL EnumResourceTypesA(HMODULE, ENUMRESTYPEPROC, LONG_PTR);
BOOL EnumResourceTypesW(HMODULE, ENUMRESTYPEPROC, LONG_PTR);
BOOL EscapeCommFunction(HANDLE, DWORD);
void ExitProcess(UINT); // Never returns
void ExitThread(DWORD); // Never returns
DWORD ExpandEnvironmentStringsA(LPCSTR, LPSTR, DWORD);
DWORD ExpandEnvironmentStringsW(LPCWSTR, LPWSTR, DWORD);
void FatalAppExitA(UINT, LPCSTR);
void FatalAppExitW(UINT, LPCWSTR);
void FatalExit(int);
BOOL FileTimeToDosDateTime(const(FILETIME)*, LPWORD, LPWORD);
BOOL FileTimeToLocalFileTime(const(FILETIME)*, LPFILETIME);
BOOL FileTimeToSystemTime(const(FILETIME)*, LPSYSTEMTIME);
ATOM FindAtomA(LPCSTR);
ATOM FindAtomW(LPCWSTR);
BOOL FindClose(HANDLE);
BOOL FindCloseChangeNotification(HANDLE);
HANDLE FindFirstChangeNotificationA(LPCSTR, BOOL, DWORD);
HANDLE FindFirstChangeNotificationW(LPCWSTR, BOOL, DWORD);
HANDLE FindFirstFileA(LPCSTR, LPWIN32_FIND_DATAA);
HANDLE FindFirstFileW(LPCWSTR, LPWIN32_FIND_DATAW);
BOOL FindNextChangeNotification(HANDLE);
BOOL FindNextFileA(HANDLE, LPWIN32_FIND_DATAA);
BOOL FindNextFileW(HANDLE, LPWIN32_FIND_DATAW);
HRSRC FindResourceA(HMODULE, LPCSTR, LPCSTR);
HRSRC FindResourceW(HINSTANCE, LPCWSTR, LPCWSTR);
HRSRC FindResourceExA(HINSTANCE, LPCSTR, LPCSTR, WORD);
HRSRC FindResourceExW(HINSTANCE, LPCWSTR, LPCWSTR, WORD);
BOOL FlushFileBuffers(HANDLE);
BOOL FlushInstructionCache(HANDLE, PCVOID, SIZE_T);
DWORD FormatMessageA(DWORD, PCVOID, DWORD, DWORD, LPSTR, DWORD, va_list*);
DWORD FormatMessageW(DWORD, PCVOID, DWORD, DWORD, LPWSTR, DWORD, va_list*);
BOOL FreeEnvironmentStringsA(LPSTR);
BOOL FreeEnvironmentStringsW(LPWSTR);
BOOL FreeLibrary(HMODULE);
void FreeLibraryAndExitThread(HMODULE, DWORD); // never returns
BOOL FreeResource(HGLOBAL);
UINT GetAtomNameA(ATOM, LPSTR, int);
UINT GetAtomNameW(ATOM, LPWSTR, int);
LPSTR GetCommandLineA();
LPWSTR GetCommandLineW();
BOOL GetCommConfig(HANDLE, LPCOMMCONFIG, PDWORD);
BOOL GetCommMask(HANDLE, PDWORD);
BOOL GetCommModemStatus(HANDLE, PDWORD);
BOOL GetCommProperties(HANDLE, LPCOMMPROP);
BOOL GetCommState(HANDLE, LPDCB);
BOOL GetCommTimeouts(HANDLE, LPCOMMTIMEOUTS);
BOOL GetComputerNameA(LPSTR, PDWORD);
BOOL GetComputerNameW(LPWSTR, PDWORD);
DWORD GetCurrentDirectoryA(DWORD, LPSTR);
DWORD GetCurrentDirectoryW(DWORD, LPWSTR);
HANDLE GetCurrentProcess();
DWORD GetCurrentProcessId();
HANDLE GetCurrentThread();
/* In MinGW:
#ifdef _WIN32_WCE
extern DWORD GetCurrentThreadId(void);
#else
WINBASEAPI DWORD WINAPI GetCurrentThreadId(void);
#endif
*/
DWORD GetCurrentThreadId();
alias GetTickCount GetCurrentTime;
BOOL GetDefaultCommConfigA(LPCSTR, LPCOMMCONFIG, PDWORD);
BOOL GetDefaultCommConfigW(LPCWSTR, LPCOMMCONFIG, PDWORD);
BOOL GetDiskFreeSpaceA(LPCSTR, PDWORD, PDWORD, PDWORD, PDWORD);
BOOL GetDiskFreeSpaceW(LPCWSTR, PDWORD, PDWORD, PDWORD, PDWORD);
BOOL GetDiskFreeSpaceExA(LPCSTR, PULARGE_INTEGER, PULARGE_INTEGER, PULARGE_INTEGER);
BOOL GetDiskFreeSpaceExW(LPCWSTR, PULARGE_INTEGER, PULARGE_INTEGER, PULARGE_INTEGER);
UINT GetDriveTypeA(LPCSTR);
UINT GetDriveTypeW(LPCWSTR);
LPSTR GetEnvironmentStringsA();
LPWSTR GetEnvironmentStringsW();
DWORD GetEnvironmentVariableA(LPCSTR, LPSTR, DWORD);
DWORD GetEnvironmentVariableW(LPCWSTR, LPWSTR, DWORD);
BOOL GetExitCodeProcess(HANDLE, PDWORD);
BOOL GetExitCodeThread(HANDLE, PDWORD);
DWORD GetFileAttributesA(LPCSTR);
DWORD GetFileAttributesW(LPCWSTR);
BOOL GetFileInformationByHandle(HANDLE, LPBY_HANDLE_FILE_INFORMATION);
DWORD GetFileSize(HANDLE, PDWORD);
BOOL GetFileTime(HANDLE, LPFILETIME, LPFILETIME, LPFILETIME);
DWORD GetFileType(HANDLE);
DWORD GetFullPathNameA(LPCSTR, DWORD, LPSTR, LPSTR*);
DWORD GetFullPathNameW(LPCWSTR, DWORD, LPWSTR, LPWSTR*);
DWORD GetLastError() @trusted;
void GetLocalTime(LPSYSTEMTIME);
DWORD GetLogicalDrives();
DWORD GetLogicalDriveStringsA(DWORD, LPSTR);
DWORD GetLogicalDriveStringsW(DWORD, LPWSTR);
BOOL GetMailslotInfo(HANDLE, PDWORD, PDWORD, PDWORD, PDWORD);
DWORD GetModuleFileNameA(HINSTANCE, LPSTR, DWORD);
DWORD GetModuleFileNameW(HINSTANCE, LPWSTR, DWORD);
HMODULE GetModuleHandleA(LPCSTR);
HMODULE GetModuleHandleW(LPCWSTR);
BOOL GetNamedPipeHandleStateA(HANDLE, PDWORD, PDWORD, PDWORD, PDWORD, LPSTR, DWORD);
BOOL GetNamedPipeHandleStateW(HANDLE, PDWORD, PDWORD, PDWORD, PDWORD, LPWSTR, DWORD);
BOOL GetNamedPipeInfo(HANDLE, PDWORD, PDWORD, PDWORD, PDWORD);
BOOL GetOverlappedResult(HANDLE, LPOVERLAPPED, PDWORD, BOOL);
DWORD GetPriorityClass(HANDLE);
UINT GetPrivateProfileIntA(LPCSTR, LPCSTR, INT, LPCSTR);
UINT GetPrivateProfileIntW(LPCWSTR, LPCWSTR, INT, LPCWSTR);
DWORD GetPrivateProfileSectionA(LPCSTR, LPSTR, DWORD, LPCSTR);
DWORD GetPrivateProfileSectionW(LPCWSTR, LPWSTR, DWORD, LPCWSTR);
DWORD GetPrivateProfileSectionNamesA(LPSTR, DWORD, LPCSTR);
DWORD GetPrivateProfileSectionNamesW(LPWSTR, DWORD, LPCWSTR);
DWORD GetPrivateProfileStringA(LPCSTR, LPCSTR, LPCSTR, LPSTR, DWORD, LPCSTR);
DWORD GetPrivateProfileStringW(LPCWSTR, LPCWSTR, LPCWSTR, LPWSTR, DWORD, LPCWSTR);
BOOL GetPrivateProfileStructA(LPCSTR, LPCSTR, LPVOID, UINT, LPCSTR);
BOOL GetPrivateProfileStructW(LPCWSTR, LPCWSTR, LPVOID, UINT, LPCWSTR);
FARPROC GetProcAddress(HMODULE, LPCSTR); // 1st param wrongly HINSTANCE in MinGW
BOOL GetProcessAffinityMask(HANDLE, PDWORD_PTR, PDWORD_PTR);
DWORD GetProcessVersion(DWORD);
UINT GetProfileIntA(LPCSTR, LPCSTR, INT);
UINT GetProfileIntW(LPCWSTR, LPCWSTR, INT);
DWORD GetProfileSectionA(LPCSTR, LPSTR, DWORD);
DWORD GetProfileSectionW(LPCWSTR, LPWSTR, DWORD);
DWORD GetProfileStringA(LPCSTR, LPCSTR, LPCSTR, LPSTR, DWORD);
DWORD GetProfileStringW(LPCWSTR, LPCWSTR, LPCWSTR, LPWSTR, DWORD);
DWORD GetShortPathNameA(LPCSTR, LPSTR, DWORD);
DWORD GetShortPathNameW(LPCWSTR, LPWSTR, DWORD);
VOID GetStartupInfoA(LPSTARTUPINFOA);
VOID GetStartupInfoW(LPSTARTUPINFOW);
HANDLE GetStdHandle(DWORD);
UINT GetSystemDirectoryA(LPSTR, UINT);
UINT GetSystemDirectoryW(LPWSTR, UINT);
VOID GetSystemInfo(LPSYSTEM_INFO);
VOID GetSystemTime(LPSYSTEMTIME);
BOOL GetSystemTimeAdjustment(PDWORD, PDWORD, PBOOL);
void GetSystemTimeAsFileTime(LPFILETIME);
UINT GetTempFileNameA(LPCSTR, LPCSTR, UINT, LPSTR);
UINT GetTempFileNameW(LPCWSTR, LPCWSTR, UINT, LPWSTR);
DWORD GetTempPathA(DWORD, LPSTR);
DWORD GetTempPathW(DWORD, LPWSTR);
BOOL GetThreadContext(HANDLE, LPCONTEXT);
int GetThreadPriority(HANDLE);
BOOL GetThreadSelectorEntry(HANDLE, DWORD, LPLDT_ENTRY);
DWORD GetTickCount();
DWORD GetTimeZoneInformation(LPTIME_ZONE_INFORMATION);
BOOL GetUserNameA (LPSTR, PDWORD);
BOOL GetUserNameW(LPWSTR, PDWORD);
DWORD GetVersion();
BOOL GetVersionExA(LPOSVERSIONINFOA);
BOOL GetVersionExW(LPOSVERSIONINFOW);
BOOL GetVolumeInformationA(LPCSTR, LPSTR, DWORD, PDWORD, PDWORD, PDWORD, LPSTR, DWORD);
BOOL GetVolumeInformationW(LPCWSTR, LPWSTR, DWORD, PDWORD, PDWORD, PDWORD, LPWSTR, DWORD);
UINT GetWindowsDirectoryA(LPSTR, UINT);
UINT GetWindowsDirectoryW(LPWSTR, UINT);
DWORD GetWindowThreadProcessId(HWND, PDWORD);
ATOM GlobalAddAtomA(LPCSTR);
ATOM GlobalAddAtomW(LPCWSTR);
ATOM GlobalDeleteAtom(ATOM);
ATOM GlobalFindAtomA(LPCSTR);
ATOM GlobalFindAtomW(LPCWSTR);
UINT GlobalGetAtomNameA(ATOM, LPSTR, int);
UINT GlobalGetAtomNameW(ATOM, LPWSTR, int);
bool HasOverlappedIoCompleted(LPOVERLAPPED lpOverlapped) {
return lpOverlapped.Internal != STATUS_PENDING;
}
BOOL InitAtomTable(DWORD);
VOID InitializeCriticalSection(LPCRITICAL_SECTION) @trusted;
/* ??? The next two are allegedly obsolete and "supported only for
* backward compatibility with the 16-bit Windows API". Yet the
* replacements IsBadReadPtr and IsBadWritePtr are apparently Win2000+
* only. Where's the mistake?
*/
BOOL IsBadHugeReadPtr(PCVOID, UINT_PTR);
BOOL IsBadHugeWritePtr(PVOID, UINT_PTR);
BOOL IsBadReadPtr(PCVOID, UINT_PTR);
BOOL IsBadStringPtrA(LPCSTR, UINT_PTR);
BOOL IsBadStringPtrW(LPCWSTR, UINT_PTR);
BOOL IsBadWritePtr(PVOID, UINT_PTR);
void LeaveCriticalSection(LPCRITICAL_SECTION);
void LeaveCriticalSection(shared(CRITICAL_SECTION)*);
HINSTANCE LoadLibraryA(LPCSTR);
HINSTANCE LoadLibraryW(LPCWSTR);
HINSTANCE LoadLibraryExA(LPCSTR, HANDLE, DWORD);
HINSTANCE LoadLibraryExW(LPCWSTR, HANDLE, DWORD);
DWORD LoadModule(LPCSTR, PVOID);
HGLOBAL LoadResource(HINSTANCE, HRSRC);
BOOL LocalFileTimeToFileTime(const(FILETIME)*, LPFILETIME);
BOOL LockFile(HANDLE, DWORD, DWORD, DWORD, DWORD);
PVOID LockResource(HGLOBAL);
LPSTR lstrcatA(LPSTR, LPCSTR);
LPWSTR lstrcatW(LPWSTR, LPCWSTR);
int lstrcmpA(LPCSTR, LPCSTR);
int lstrcmpiA(LPCSTR, LPCSTR);
int lstrcmpiW(LPCWSTR, LPCWSTR);
int lstrcmpW(LPCWSTR, LPCWSTR);
LPSTR lstrcpyA(LPSTR, LPCSTR);
LPSTR lstrcpynA(LPSTR, LPCSTR, int);
LPWSTR lstrcpynW(LPWSTR, LPCWSTR, int);
LPWSTR lstrcpyW(LPWSTR, LPCWSTR);
int lstrlenA(LPCSTR);
int lstrlenW(LPCWSTR);
BOOL MoveFileA(LPCSTR, LPCSTR);
BOOL MoveFileW(LPCWSTR, LPCWSTR);
int MulDiv(int, int, int);
HANDLE OpenEventA(DWORD, BOOL, LPCSTR);
HANDLE OpenEventW(DWORD, BOOL, LPCWSTR);
deprecated HFILE OpenFile(LPCSTR, LPOFSTRUCT, UINT);
HANDLE OpenMutexA(DWORD, BOOL, LPCSTR);
HANDLE OpenMutexW(DWORD, BOOL, LPCWSTR);
HANDLE OpenProcess(DWORD, BOOL, DWORD);
HANDLE OpenSemaphoreA(DWORD, BOOL, LPCSTR);
HANDLE OpenSemaphoreW(DWORD, BOOL, LPCWSTR);
void OutputDebugStringA(LPCSTR);
void OutputDebugStringW(LPCWSTR);
BOOL PeekNamedPipe(HANDLE, PVOID, DWORD, PDWORD, PDWORD, PDWORD);
BOOL PulseEvent(HANDLE);
BOOL PurgeComm(HANDLE, DWORD);
BOOL QueryPerformanceCounter(PLARGE_INTEGER);
BOOL QueryPerformanceFrequency(PLARGE_INTEGER);
DWORD QueueUserAPC(PAPCFUNC, HANDLE, ULONG_PTR);
void RaiseException(DWORD, DWORD, DWORD, const(ULONG_PTR)*);
BOOL ReadFile(HANDLE, PVOID, DWORD, PDWORD, LPOVERLAPPED);
BOOL ReadFileEx(HANDLE, PVOID, DWORD, LPOVERLAPPED, LPOVERLAPPED_COMPLETION_ROUTINE);
BOOL ReadProcessMemory(HANDLE, PCVOID, PVOID, SIZE_T, SIZE_T*);
BOOL ReleaseMutex(HANDLE);
BOOL ReleaseSemaphore(HANDLE, LONG, LPLONG);
BOOL RemoveDirectoryA(LPCSTR);
BOOL RemoveDirectoryW(LPCWSTR);
/* In MinGW:
#ifdef _WIN32_WCE
extern BOOL ResetEvent(HANDLE);
#else
WINBASEAPI BOOL WINAPI ResetEvent(HANDLE);
#endif
*/
BOOL ResetEvent(HANDLE);
DWORD ResumeThread(HANDLE);
DWORD SearchPathA(LPCSTR, LPCSTR, LPCSTR, DWORD, LPSTR, LPSTR*);
DWORD SearchPathW(LPCWSTR, LPCWSTR, LPCWSTR, DWORD, LPWSTR, LPWSTR*);
BOOL SetCommBreak(HANDLE);
BOOL SetCommConfig(HANDLE, LPCOMMCONFIG, DWORD);
BOOL SetCommMask(HANDLE, DWORD);
BOOL SetCommState(HANDLE, LPDCB);
BOOL SetCommTimeouts(HANDLE, LPCOMMTIMEOUTS);
BOOL SetComputerNameA(LPCSTR);
BOOL SetComputerNameW(LPCWSTR);
BOOL SetCurrentDirectoryA(LPCSTR);
BOOL SetCurrentDirectoryW(LPCWSTR);
BOOL SetDefaultCommConfigA(LPCSTR, LPCOMMCONFIG, DWORD);
BOOL SetDefaultCommConfigW(LPCWSTR, LPCOMMCONFIG, DWORD);
BOOL SetEndOfFile(HANDLE);
BOOL SetEnvironmentVariableA(LPCSTR, LPCSTR);
BOOL SetEnvironmentVariableW(LPCWSTR, LPCWSTR);
UINT SetErrorMode(UINT);
/* In MinGW:
#ifdef _WIN32_WCE
extern BOOL SetEvent(HANDLE);
#else
WINBASEAPI BOOL WINAPI SetEvent(HANDLE);
#endif
*/
BOOL SetEvent(HANDLE);
VOID SetFileApisToANSI();
VOID SetFileApisToOEM();
BOOL SetFileAttributesA(LPCSTR, DWORD);
BOOL SetFileAttributesW(LPCWSTR, DWORD);
DWORD SetFilePointer(HANDLE, LONG, PLONG, DWORD);
BOOL SetFileTime(HANDLE, const(FILETIME)*, const(FILETIME)*, const(FILETIME)*);
deprecated UINT SetHandleCount(UINT);
void SetLastError(DWORD);
void SetLastErrorEx(DWORD, DWORD);
BOOL SetLocalTime(const(SYSTEMTIME)*);
BOOL SetMailslotInfo(HANDLE, DWORD);
BOOL SetNamedPipeHandleState(HANDLE, PDWORD, PDWORD, PDWORD);
BOOL SetPriorityClass(HANDLE, DWORD);
BOOL SetStdHandle(DWORD, HANDLE);
BOOL SetSystemTime(const(SYSTEMTIME)*);
DWORD_PTR SetThreadAffinityMask(HANDLE, DWORD_PTR);
BOOL SetThreadContext(HANDLE, const(CONTEXT)*);
BOOL SetThreadPriority(HANDLE, int);
BOOL SetTimeZoneInformation(const(TIME_ZONE_INFORMATION)*);
LPTOP_LEVEL_EXCEPTION_FILTER SetUnhandledExceptionFilter(LPTOP_LEVEL_EXCEPTION_FILTER);
BOOL SetupComm(HANDLE, DWORD, DWORD);
BOOL SetVolumeLabelA(LPCSTR, LPCSTR);
BOOL SetVolumeLabelW(LPCWSTR, LPCWSTR);
DWORD SizeofResource(HINSTANCE, HRSRC);
void Sleep(DWORD);
DWORD SleepEx(DWORD, BOOL);
DWORD SuspendThread(HANDLE);
BOOL SystemTimeToFileTime(const(SYSTEMTIME)*, LPFILETIME);
BOOL TerminateProcess(HANDLE, UINT);
BOOL TerminateThread(HANDLE, DWORD);
DWORD TlsAlloc();
BOOL TlsFree(DWORD);
PVOID TlsGetValue(DWORD);
BOOL TlsSetValue(DWORD, PVOID);
BOOL TransactNamedPipe(HANDLE, PVOID, DWORD, PVOID, DWORD, PDWORD, LPOVERLAPPED);
BOOL TransmitCommChar(HANDLE, char);
LONG UnhandledExceptionFilter(LPEXCEPTION_POINTERS);
BOOL UnlockFile(HANDLE, DWORD, DWORD, DWORD, DWORD);
BOOL WaitCommEvent(HANDLE, PDWORD, LPOVERLAPPED);
BOOL WaitForDebugEvent(LPDEBUG_EVENT, DWORD);
DWORD WaitForMultipleObjects(DWORD, const(HANDLE)*, BOOL, DWORD);
DWORD WaitForMultipleObjectsEx(DWORD, const(HANDLE)*, BOOL, DWORD, BOOL);
DWORD WaitForSingleObject(HANDLE, DWORD);
DWORD WaitForSingleObjectEx(HANDLE, DWORD, BOOL);
BOOL WaitNamedPipeA(LPCSTR, DWORD);
BOOL WaitNamedPipeW(LPCWSTR, DWORD);
// undocumented on MSDN
BOOL WinLoadTrustProvider(GUID*);
BOOL WriteFile(HANDLE, PCVOID, DWORD, PDWORD, LPOVERLAPPED);
BOOL WriteFileEx(HANDLE, PCVOID, DWORD, LPOVERLAPPED, LPOVERLAPPED_COMPLETION_ROUTINE);
BOOL WritePrivateProfileSectionA(LPCSTR, LPCSTR, LPCSTR);
BOOL WritePrivateProfileSectionW(LPCWSTR, LPCWSTR, LPCWSTR);
BOOL WritePrivateProfileStringA(LPCSTR, LPCSTR, LPCSTR, LPCSTR);
BOOL WritePrivateProfileStringW(LPCWSTR, LPCWSTR, LPCWSTR, LPCWSTR);
BOOL WritePrivateProfileStructA(LPCSTR, LPCSTR, LPVOID, UINT, LPCSTR);
BOOL WritePrivateProfileStructW(LPCWSTR, LPCWSTR, LPVOID, UINT, LPCWSTR);
BOOL WriteProcessMemory(HANDLE, LPVOID, LPCVOID, SIZE_T, SIZE_T*);
BOOL WriteProfileSectionA(LPCSTR, LPCSTR);
BOOL WriteProfileSectionW(LPCWSTR, LPCWSTR);
BOOL WriteProfileStringA(LPCSTR, LPCSTR, LPCSTR);
BOOL WriteProfileStringW(LPCWSTR, LPCWSTR, LPCWSTR);
/* Memory allocation functions.
* MSDN documents these erroneously as Win2000+; thus it is uncertain what
* version compatibility they really have.
*/
HGLOBAL GlobalAlloc(UINT, SIZE_T);
HGLOBAL GlobalDiscard(HGLOBAL);
HGLOBAL GlobalFree(HGLOBAL);
HGLOBAL GlobalHandle(PCVOID);
LPVOID GlobalLock(HGLOBAL);
VOID GlobalMemoryStatus(LPMEMORYSTATUS);
HGLOBAL GlobalReAlloc(HGLOBAL, SIZE_T, UINT);
SIZE_T GlobalSize(HGLOBAL);
BOOL GlobalUnlock(HGLOBAL);
PVOID HeapAlloc(HANDLE, DWORD, SIZE_T);
SIZE_T HeapCompact(HANDLE, DWORD);
HANDLE HeapCreate(DWORD, SIZE_T, SIZE_T);
BOOL HeapDestroy(HANDLE);
BOOL HeapFree(HANDLE, DWORD, PVOID);
BOOL HeapLock(HANDLE);
PVOID HeapReAlloc(HANDLE, DWORD, PVOID, SIZE_T);
SIZE_T HeapSize(HANDLE, DWORD, PCVOID);
BOOL HeapUnlock(HANDLE);
BOOL HeapValidate(HANDLE, DWORD, PCVOID);
BOOL HeapWalk(HANDLE, LPPROCESS_HEAP_ENTRY);
HLOCAL LocalAlloc(UINT, SIZE_T);
HLOCAL LocalDiscard(HLOCAL);
HLOCAL LocalFree(HLOCAL);
HLOCAL LocalHandle(LPCVOID);
PVOID LocalLock(HLOCAL);
HLOCAL LocalReAlloc(HLOCAL, SIZE_T, UINT);
SIZE_T LocalSize(HLOCAL);
BOOL LocalUnlock(HLOCAL);
PVOID VirtualAlloc(PVOID, SIZE_T, DWORD, DWORD);
PVOID VirtualAllocEx(HANDLE, PVOID, SIZE_T, DWORD, DWORD);
BOOL VirtualFree(PVOID, SIZE_T, DWORD);
BOOL VirtualFreeEx(HANDLE, PVOID, SIZE_T, DWORD);
BOOL VirtualLock(PVOID, SIZE_T);
BOOL VirtualProtect(PVOID, SIZE_T, DWORD, PDWORD);
BOOL VirtualProtectEx(HANDLE, PVOID, SIZE_T, DWORD, PDWORD);
SIZE_T VirtualQuery(LPCVOID, PMEMORY_BASIC_INFORMATION, SIZE_T);
SIZE_T VirtualQueryEx(HANDLE, LPCVOID, PMEMORY_BASIC_INFORMATION, SIZE_T);
BOOL VirtualUnlock(PVOID, SIZE_T);
// not in MinGW 4.0 - ???
static if (_WIN32_WINNT >= 0x600) {
BOOL CancelIoEx(HANDLE, LPOVERLAPPED);
}
BOOL CancelIo(HANDLE);
BOOL CancelWaitableTimer(HANDLE);
PVOID ConvertThreadToFiber(PVOID);
LPVOID CreateFiber(SIZE_T, LPFIBER_START_ROUTINE, LPVOID);
HANDLE CreateWaitableTimerA(LPSECURITY_ATTRIBUTES, BOOL, LPCSTR);
HANDLE CreateWaitableTimerW(LPSECURITY_ATTRIBUTES, BOOL, LPCWSTR);
void DeleteFiber(PVOID);
BOOL GetFileAttributesExA(LPCSTR, GET_FILEEX_INFO_LEVELS, PVOID);
BOOL GetFileAttributesExW(LPCWSTR, GET_FILEEX_INFO_LEVELS, PVOID);
DWORD GetLongPathNameA(LPCSTR, LPSTR, DWORD);
DWORD GetLongPathNameW(LPCWSTR, LPWSTR, DWORD);
BOOL InitializeCriticalSectionAndSpinCount(LPCRITICAL_SECTION, DWORD);
BOOL IsDebuggerPresent();
HANDLE OpenWaitableTimerA(DWORD, BOOL, LPCSTR);
HANDLE OpenWaitableTimerW(DWORD, BOOL, LPCWSTR);
DWORD QueryDosDeviceA(LPCSTR, LPSTR, DWORD);
DWORD QueryDosDeviceW(LPCWSTR, LPWSTR, DWORD);
BOOL SetWaitableTimer(HANDLE, const(LARGE_INTEGER)*, LONG, PTIMERAPCROUTINE, PVOID, BOOL);
void SwitchToFiber(PVOID);
static if (_WIN32_WINNT >= 0x500) {
HANDLE OpenThread(DWORD, BOOL, DWORD);
}
BOOL AccessCheck(PSECURITY_DESCRIPTOR, HANDLE, DWORD, PGENERIC_MAPPING, PPRIVILEGE_SET, PDWORD, PDWORD, PBOOL);
BOOL AccessCheckAndAuditAlarmA(LPCSTR, LPVOID, LPSTR, LPSTR, PSECURITY_DESCRIPTOR, DWORD, PGENERIC_MAPPING, BOOL, PDWORD, PBOOL, PBOOL);
BOOL AccessCheckAndAuditAlarmW(LPCWSTR, LPVOID, LPWSTR, LPWSTR, PSECURITY_DESCRIPTOR, DWORD, PGENERIC_MAPPING, BOOL, PDWORD, PBOOL, PBOOL);
BOOL AddAccessAllowedAce(PACL, DWORD, DWORD, PSID);
BOOL AddAccessDeniedAce(PACL, DWORD, DWORD, PSID);
BOOL AddAce(PACL, DWORD, DWORD, PVOID, DWORD);
BOOL AddAuditAccessAce(PACL, DWORD, DWORD, PSID, BOOL, BOOL);
BOOL AdjustTokenGroups(HANDLE, BOOL, PTOKEN_GROUPS, DWORD, PTOKEN_GROUPS, PDWORD);
BOOL AdjustTokenPrivileges(HANDLE, BOOL, PTOKEN_PRIVILEGES, DWORD, PTOKEN_PRIVILEGES, PDWORD);
BOOL AllocateAndInitializeSid(PSID_IDENTIFIER_AUTHORITY, BYTE, DWORD, DWORD, DWORD, DWORD, DWORD, DWORD, DWORD, DWORD, PSID*);
BOOL AllocateLocallyUniqueId(PLUID);
BOOL AreAllAccessesGranted(DWORD, DWORD);
BOOL AreAnyAccessesGranted(DWORD, DWORD);
BOOL BackupEventLogA(HANDLE, LPCSTR);
BOOL BackupEventLogW(HANDLE, LPCWSTR);
BOOL BackupRead(HANDLE, LPBYTE, DWORD, LPDWORD, BOOL, BOOL, LPVOID*);
BOOL BackupSeek(HANDLE, DWORD, DWORD, LPDWORD, LPDWORD, LPVOID*);
BOOL BackupWrite(HANDLE, LPBYTE, DWORD, LPDWORD, BOOL, BOOL, LPVOID*);
BOOL ClearEventLogA(HANDLE, LPCSTR);
BOOL ClearEventLogW(HANDLE, LPCWSTR);
BOOL CloseEventLog(HANDLE);
BOOL ConnectNamedPipe(HANDLE, LPOVERLAPPED);
BOOL CopySid(DWORD, PSID, PSID);
HANDLE CreateNamedPipeA(LPCSTR, DWORD, DWORD, DWORD, DWORD, DWORD, DWORD, LPSECURITY_ATTRIBUTES);
HANDLE CreateNamedPipeW(LPCWSTR, DWORD, DWORD, DWORD, DWORD, DWORD, DWORD, LPSECURITY_ATTRIBUTES);
BOOL CreatePrivateObjectSecurity(PSECURITY_DESCRIPTOR, PSECURITY_DESCRIPTOR, PSECURITY_DESCRIPTOR*, BOOL, HANDLE, PGENERIC_MAPPING);
BOOL CreateProcessAsUserA(HANDLE, LPCSTR, LPSTR, LPSECURITY_ATTRIBUTES, LPSECURITY_ATTRIBUTES, BOOL, DWORD, PVOID, LPCSTR, LPSTARTUPINFOA, LPPROCESS_INFORMATION);
BOOL CreateProcessAsUserW(HANDLE, LPCWSTR, LPWSTR, LPSECURITY_ATTRIBUTES, LPSECURITY_ATTRIBUTES, BOOL, DWORD, PVOID, LPCWSTR, LPSTARTUPINFOW, LPPROCESS_INFORMATION);
HANDLE CreateRemoteThread(HANDLE, LPSECURITY_ATTRIBUTES, SIZE_T, LPTHREAD_START_ROUTINE, LPVOID, DWORD, LPDWORD);
DWORD CreateTapePartition(HANDLE, DWORD, DWORD, DWORD);
BOOL DefineDosDeviceA(DWORD, LPCSTR, LPCSTR);
BOOL DefineDosDeviceW(DWORD, LPCWSTR, LPCWSTR);
BOOL DeleteAce(PACL, DWORD);
BOOL DeregisterEventSource(HANDLE);
BOOL DestroyPrivateObjectSecurity(PSECURITY_DESCRIPTOR*);
BOOL DeviceIoControl(HANDLE, DWORD, PVOID, DWORD, PVOID, DWORD, PDWORD, POVERLAPPED);
BOOL DisconnectNamedPipe(HANDLE);
BOOL DuplicateToken(HANDLE, SECURITY_IMPERSONATION_LEVEL, PHANDLE);
BOOL DuplicateTokenEx(HANDLE, DWORD, LPSECURITY_ATTRIBUTES, SECURITY_IMPERSONATION_LEVEL, TOKEN_TYPE, PHANDLE);
BOOL EqualPrefixSid(PSID, PSID);
BOOL EqualSid(PSID, PSID);
DWORD EraseTape(HANDLE, DWORD, BOOL);
HANDLE FindFirstFileExA(LPCSTR, FINDEX_INFO_LEVELS, PVOID, FINDEX_SEARCH_OPS, PVOID, DWORD);
HANDLE FindFirstFileExW(LPCWSTR, FINDEX_INFO_LEVELS, PVOID, FINDEX_SEARCH_OPS, PVOID, DWORD);
BOOL FindFirstFreeAce(PACL, PVOID*);
PVOID FreeSid(PSID);
BOOL GetAce(PACL, DWORD, LPVOID*);
BOOL GetAclInformation(PACL, PVOID, DWORD, ACL_INFORMATION_CLASS);
BOOL GetBinaryTypeA(LPCSTR, PDWORD);
BOOL GetBinaryTypeW(LPCWSTR, PDWORD);
DWORD GetCompressedFileSizeA(LPCSTR, PDWORD);
DWORD GetCompressedFileSizeW(LPCWSTR, PDWORD);
BOOL GetCurrentHwProfileA(LPHW_PROFILE_INFOA);
BOOL GetCurrentHwProfileW(LPHW_PROFILE_INFOW);
BOOL GetFileSecurityA(LPCSTR, SECURITY_INFORMATION, PSECURITY_DESCRIPTOR, DWORD, PDWORD);
BOOL GetFileSecurityW(LPCWSTR, SECURITY_INFORMATION, PSECURITY_DESCRIPTOR, DWORD, PDWORD);
BOOL GetHandleInformation(HANDLE, PDWORD);
BOOL GetKernelObjectSecurity(HANDLE, SECURITY_INFORMATION, PSECURITY_DESCRIPTOR, DWORD, PDWORD);
DWORD GetLengthSid(PSID);
BOOL GetNumberOfEventLogRecords(HANDLE, PDWORD);
BOOL GetOldestEventLogRecord(HANDLE, PDWORD);
BOOL GetPrivateObjectSecurity(PSECURITY_DESCRIPTOR, SECURITY_INFORMATION, PSECURITY_DESCRIPTOR, DWORD, PDWORD);
BOOL GetProcessPriorityBoost(HANDLE, PBOOL);
BOOL GetProcessShutdownParameters(PDWORD, PDWORD);
BOOL GetProcessTimes(HANDLE, LPFILETIME, LPFILETIME, LPFILETIME, LPFILETIME);
HWINSTA GetProcessWindowStation();
BOOL GetProcessWorkingSetSize(HANDLE, PSIZE_T, PSIZE_T);
BOOL GetQueuedCompletionStatus(HANDLE, PDWORD, PULONG_PTR, LPOVERLAPPED*, DWORD);
BOOL GetSecurityDescriptorControl(PSECURITY_DESCRIPTOR, PSECURITY_DESCRIPTOR_CONTROL, PDWORD);
BOOL GetSecurityDescriptorDacl(PSECURITY_DESCRIPTOR, LPBOOL, PACL*, LPBOOL);
BOOL GetSecurityDescriptorGroup(PSECURITY_DESCRIPTOR, PSID*, LPBOOL);
DWORD GetSecurityDescriptorLength(PSECURITY_DESCRIPTOR);
BOOL GetSecurityDescriptorOwner(PSECURITY_DESCRIPTOR, PSID*, LPBOOL);
BOOL GetSecurityDescriptorSacl(PSECURITY_DESCRIPTOR, LPBOOL, PACL*, LPBOOL);
PSID_IDENTIFIER_AUTHORITY GetSidIdentifierAuthority(PSID);
DWORD GetSidLengthRequired(UCHAR);
PDWORD GetSidSubAuthority(PSID, DWORD);
PUCHAR GetSidSubAuthorityCount(PSID);
DWORD GetTapeParameters(HANDLE, DWORD, PDWORD, PVOID);
DWORD GetTapePosition(HANDLE, DWORD, PDWORD, PDWORD, PDWORD);
DWORD GetTapeStatus(HANDLE);
BOOL GetThreadPriorityBoost(HANDLE, PBOOL);
BOOL GetThreadTimes(HANDLE, LPFILETIME, LPFILETIME, LPFILETIME, LPFILETIME);
BOOL GetTokenInformation(HANDLE, TOKEN_INFORMATION_CLASS, PVOID, DWORD, PDWORD);
BOOL ImpersonateLoggedOnUser(HANDLE);
BOOL ImpersonateNamedPipeClient(HANDLE);
BOOL ImpersonateSelf(SECURITY_IMPERSONATION_LEVEL);
BOOL InitializeAcl(PACL, DWORD, DWORD);
DWORD SetCriticalSectionSpinCount(LPCRITICAL_SECTION, DWORD);
BOOL InitializeSecurityDescriptor(PSECURITY_DESCRIPTOR, DWORD);
BOOL InitializeSid(PSID, PSID_IDENTIFIER_AUTHORITY, BYTE);
BOOL IsProcessorFeaturePresent(DWORD);
BOOL IsTextUnicode(PCVOID, int, LPINT);
BOOL IsValidAcl(PACL);
BOOL IsValidSecurityDescriptor(PSECURITY_DESCRIPTOR);
BOOL IsValidSid(PSID);
BOOL CreateWellKnownSid(WELL_KNOWN_SID_TYPE, PSID, PSID, PDWORD);
BOOL LockFileEx(HANDLE, DWORD, DWORD, DWORD, DWORD, LPOVERLAPPED);
BOOL LogonUserA(LPSTR, LPSTR, LPSTR, DWORD, DWORD, PHANDLE);
BOOL LogonUserW(LPWSTR, LPWSTR, LPWSTR, DWORD, DWORD, PHANDLE);
BOOL LookupAccountNameA(LPCSTR, LPCSTR, PSID, PDWORD, LPSTR, PDWORD, PSID_NAME_USE);
BOOL LookupAccountNameW(LPCWSTR, LPCWSTR, PSID, PDWORD, LPWSTR, PDWORD, PSID_NAME_USE);
BOOL LookupAccountSidA(LPCSTR, PSID, LPSTR, PDWORD, LPSTR, PDWORD, PSID_NAME_USE);
BOOL LookupAccountSidW(LPCWSTR, PSID, LPWSTR, PDWORD, LPWSTR, PDWORD, PSID_NAME_USE);
BOOL LookupPrivilegeDisplayNameA(LPCSTR, LPCSTR, LPSTR, PDWORD, PDWORD);
BOOL LookupPrivilegeDisplayNameW(LPCWSTR, LPCWSTR, LPWSTR, PDWORD, PDWORD);
BOOL LookupPrivilegeNameA(LPCSTR, PLUID, LPSTR, PDWORD);
BOOL LookupPrivilegeNameW(LPCWSTR, PLUID, LPWSTR, PDWORD);
BOOL LookupPrivilegeValueA(LPCSTR, LPCSTR, PLUID);
BOOL LookupPrivilegeValueW(LPCWSTR, LPCWSTR, PLUID);
BOOL MakeAbsoluteSD(PSECURITY_DESCRIPTOR, PSECURITY_DESCRIPTOR, PDWORD, PACL, PDWORD, PACL, PDWORD, PSID, PDWORD, PSID, PDWORD);
BOOL MakeSelfRelativeSD(PSECURITY_DESCRIPTOR, PSECURITY_DESCRIPTOR, PDWORD);
VOID MapGenericMask(PDWORD, PGENERIC_MAPPING);
BOOL MoveFileExA(LPCSTR, LPCSTR, DWORD);
BOOL MoveFileExW(LPCWSTR, LPCWSTR, DWORD);
BOOL NotifyChangeEventLog(HANDLE, HANDLE);
BOOL ObjectCloseAuditAlarmA(LPCSTR, PVOID, BOOL);
BOOL ObjectCloseAuditAlarmW(LPCWSTR, PVOID, BOOL);
BOOL ObjectDeleteAuditAlarmA(LPCSTR, PVOID, BOOL);
BOOL ObjectDeleteAuditAlarmW(LPCWSTR, PVOID, BOOL);
BOOL ObjectOpenAuditAlarmA(LPCSTR, PVOID, LPSTR, LPSTR, PSECURITY_DESCRIPTOR, HANDLE, DWORD, DWORD, PPRIVILEGE_SET, BOOL, BOOL, PBOOL);
BOOL ObjectOpenAuditAlarmW(LPCWSTR, PVOID, LPWSTR, LPWSTR, PSECURITY_DESCRIPTOR, HANDLE, DWORD, DWORD, PPRIVILEGE_SET, BOOL, BOOL, PBOOL);
BOOL ObjectPrivilegeAuditAlarmA(LPCSTR, PVOID, HANDLE, DWORD, PPRIVILEGE_SET, BOOL);
BOOL ObjectPrivilegeAuditAlarmW(LPCWSTR, PVOID, HANDLE, DWORD, PPRIVILEGE_SET, BOOL);
HANDLE OpenBackupEventLogA(LPCSTR, LPCSTR);
HANDLE OpenBackupEventLogW(LPCWSTR, LPCWSTR);
HANDLE OpenEventLogA(LPCSTR, LPCSTR);
HANDLE OpenEventLogW(LPCWSTR, LPCWSTR);
BOOL OpenProcessToken(HANDLE, DWORD, PHANDLE);
BOOL OpenThreadToken(HANDLE, DWORD, BOOL, PHANDLE);
BOOL PostQueuedCompletionStatus(HANDLE, DWORD, ULONG_PTR, LPOVERLAPPED);
DWORD PrepareTape(HANDLE, DWORD, BOOL);
BOOL PrivilegeCheck(HANDLE, PPRIVILEGE_SET, PBOOL);
BOOL PrivilegedServiceAuditAlarmA(LPCSTR, LPCSTR, HANDLE, PPRIVILEGE_SET, BOOL);
BOOL PrivilegedServiceAuditAlarmW(LPCWSTR, LPCWSTR, HANDLE, PPRIVILEGE_SET, BOOL);
BOOL ReadDirectoryChangesW(HANDLE, PVOID, DWORD, BOOL, DWORD, PDWORD, LPOVERLAPPED, LPOVERLAPPED_COMPLETION_ROUTINE);
BOOL ReadEventLogA(HANDLE, DWORD, DWORD, PVOID, DWORD, DWORD*, DWORD*);
BOOL ReadEventLogW(HANDLE, DWORD, DWORD, PVOID, DWORD, DWORD*, DWORD*);
BOOL ReadFileScatter(HANDLE, FILE_SEGMENT_ELEMENT*, DWORD, LPDWORD, LPOVERLAPPED);
HANDLE RegisterEventSourceA (LPCSTR, LPCSTR);
HANDLE RegisterEventSourceW(LPCWSTR, LPCWSTR);
BOOL ReportEventA(HANDLE, WORD, WORD, DWORD, PSID, WORD, DWORD, LPCSTR*, PVOID);
BOOL ReportEventW(HANDLE, WORD, WORD, DWORD, PSID, WORD, DWORD, LPCWSTR*, PVOID);
BOOL RevertToSelf();
BOOL SetAclInformation(PACL, PVOID, DWORD, ACL_INFORMATION_CLASS);
BOOL SetFileSecurityA(LPCSTR, SECURITY_INFORMATION, PSECURITY_DESCRIPTOR);
BOOL SetFileSecurityW(LPCWSTR, SECURITY_INFORMATION, PSECURITY_DESCRIPTOR);
BOOL SetHandleInformation(HANDLE, DWORD, DWORD);
BOOL SetKernelObjectSecurity(HANDLE, SECURITY_INFORMATION, PSECURITY_DESCRIPTOR);
BOOL SetPrivateObjectSecurity(SECURITY_INFORMATION, PSECURITY_DESCRIPTOR, PSECURITY_DESCRIPTOR*, PGENERIC_MAPPING, HANDLE);
BOOL SetProcessAffinityMask(HANDLE, DWORD_PTR);
BOOL SetProcessPriorityBoost(HANDLE, BOOL);
BOOL SetProcessShutdownParameters(DWORD, DWORD);
BOOL SetProcessWorkingSetSize(HANDLE, SIZE_T, SIZE_T);
BOOL SetSecurityDescriptorDacl(PSECURITY_DESCRIPTOR, BOOL, PACL, BOOL);
BOOL SetSecurityDescriptorGroup(PSECURITY_DESCRIPTOR, PSID, BOOL);
BOOL SetSecurityDescriptorOwner(PSECURITY_DESCRIPTOR, PSID, BOOL);
BOOL SetSecurityDescriptorSacl(PSECURITY_DESCRIPTOR, BOOL, PACL, BOOL);
BOOL SetSystemTimeAdjustment(DWORD, BOOL);
DWORD SetTapeParameters(HANDLE, DWORD, PVOID);
DWORD SetTapePosition(HANDLE, DWORD, DWORD, DWORD, DWORD, BOOL);
BOOL SetThreadPriorityBoost(HANDLE, BOOL);
BOOL SetThreadToken(PHANDLE, HANDLE);
BOOL SetTokenInformation(HANDLE, TOKEN_INFORMATION_CLASS, PVOID, DWORD);
DWORD SignalObjectAndWait(HANDLE, HANDLE, DWORD, BOOL);
BOOL SwitchToThread();
BOOL SystemTimeToTzSpecificLocalTime(LPTIME_ZONE_INFORMATION, LPSYSTEMTIME, LPSYSTEMTIME);
BOOL TzSpecificLocalTimeToSystemTime(LPTIME_ZONE_INFORMATION, LPSYSTEMTIME, LPSYSTEMTIME);
BOOL TryEnterCriticalSection(LPCRITICAL_SECTION);
BOOL TryEnterCriticalSection(shared(CRITICAL_SECTION)*);
BOOL UnlockFileEx(HANDLE, DWORD, DWORD, DWORD, LPOVERLAPPED);
BOOL UpdateResourceA(HANDLE, LPCSTR, LPCSTR, WORD, PVOID, DWORD);
BOOL UpdateResourceW(HANDLE, LPCWSTR, LPCWSTR, WORD, PVOID, DWORD);
BOOL WriteFileGather(HANDLE, FILE_SEGMENT_ELEMENT*, DWORD, LPDWORD, LPOVERLAPPED);
DWORD WriteTapemark(HANDLE, DWORD, DWORD, BOOL);
static if (_WIN32_WINNT >= 0x500) {
BOOL AddAccessAllowedAceEx(PACL, DWORD, DWORD, DWORD, PSID);
BOOL AddAccessDeniedAceEx(PACL, DWORD, DWORD, DWORD, PSID);
PVOID AddVectoredExceptionHandler(ULONG, PVECTORED_EXCEPTION_HANDLER);
BOOL AllocateUserPhysicalPages(HANDLE, PULONG_PTR, PULONG_PTR);
BOOL AssignProcessToJobObject(HANDLE, HANDLE);
BOOL ChangeTimerQueueTimer(HANDLE,HANDLE,ULONG,ULONG);
LPVOID CreateFiberEx(SIZE_T, SIZE_T, DWORD, LPFIBER_START_ROUTINE, LPVOID);
HANDLE CreateFileMappingA(HANDLE, LPSECURITY_ATTRIBUTES, DWORD, DWORD, DWORD, LPCSTR);
HANDLE CreateFileMappingW(HANDLE, LPSECURITY_ATTRIBUTES, DWORD, DWORD, DWORD, LPCWSTR);
BOOL CreateHardLinkA(LPCSTR, LPCSTR, LPSECURITY_ATTRIBUTES);
BOOL CreateHardLinkW(LPCWSTR, LPCWSTR, LPSECURITY_ATTRIBUTES);
HANDLE CreateJobObjectA(LPSECURITY_ATTRIBUTES, LPCSTR);
HANDLE CreateJobObjectW(LPSECURITY_ATTRIBUTES, LPCWSTR);
BOOL CreateProcessWithLogonW(LPCWSTR, LPCWSTR, LPCWSTR, DWORD, LPCWSTR, LPWSTR, DWORD, LPVOID, LPCWSTR, LPSTARTUPINFOW, LPPROCESS_INFORMATION);
HANDLE CreateTimerQueue();
BOOL CreateTimerQueueTimer(PHANDLE, HANDLE, WAITORTIMERCALLBACK, PVOID, DWORD, DWORD, ULONG);
BOOL DeleteTimerQueue(HANDLE);
BOOL DeleteTimerQueueEx(HANDLE, HANDLE);
BOOL DeleteTimerQueueTimer(HANDLE, HANDLE, HANDLE);
BOOL DeleteVolumeMountPointA(LPCSTR);
BOOL DeleteVolumeMountPointW(LPCWSTR);
BOOL DnsHostnameToComputerNameA(LPCSTR, LPSTR, LPDWORD);
BOOL DnsHostnameToComputerNameW(LPCWSTR, LPWSTR, LPDWORD);
BOOL EncryptFileA(LPCSTR);
BOOL EncryptFileW(LPCWSTR);
BOOL FileEncryptionStatusA(LPCSTR, LPDWORD);
BOOL FileEncryptionStatusW(LPCWSTR, LPDWORD);
HANDLE FindFirstVolumeA(LPCSTR, DWORD);
HANDLE FindFirstVolumeMountPointA(LPSTR, LPSTR, DWORD);
HANDLE FindFirstVolumeMountPointW(LPWSTR, LPWSTR, DWORD);
HANDLE FindFirstVolumeW(LPCWSTR, DWORD);
BOOL FindNextVolumeA(HANDLE, LPCSTR, DWORD);
BOOL FindNextVolumeW(HANDLE, LPWSTR, DWORD);
BOOL FindNextVolumeMountPointA(HANDLE, LPSTR, DWORD);
BOOL FindNextVolumeMountPointW(HANDLE, LPWSTR, DWORD);
BOOL FindVolumeClose(HANDLE);
BOOL FindVolumeMountPointClose(HANDLE);
BOOL FlushViewOfFile(PCVOID, SIZE_T);
BOOL FreeUserPhysicalPages(HANDLE, PULONG_PTR, PULONG_PTR);
BOOL GetComputerNameExA(COMPUTER_NAME_FORMAT, LPSTR, LPDWORD);
BOOL GetComputerNameExW(COMPUTER_NAME_FORMAT, LPWSTR, LPDWORD);
BOOL GetFileSizeEx(HANDLE, PLARGE_INTEGER);
BOOL GetModuleHandleExA(DWORD, LPCSTR, HMODULE*);
BOOL GetModuleHandleExW(DWORD, LPCWSTR, HMODULE*);
HANDLE GetProcessHeap();
DWORD GetProcessHeaps(DWORD, PHANDLE);
BOOL GetProcessIoCounters(HANDLE, PIO_COUNTERS);
BOOL GetSystemPowerStatus(LPSYSTEM_POWER_STATUS);
UINT GetSystemWindowsDirectoryA(LPSTR, UINT);
UINT GetSystemWindowsDirectoryW(LPWSTR, UINT);
BOOL GetVolumeNameForVolumeMountPointA(LPCSTR, LPSTR, DWORD);
BOOL GetVolumeNameForVolumeMountPointW(LPCWSTR, LPWSTR, DWORD);
BOOL GetVolumePathNameA(LPCSTR, LPSTR, DWORD);
BOOL GetVolumePathNameW(LPCWSTR, LPWSTR, DWORD);
BOOL GlobalMemoryStatusEx(LPMEMORYSTATUSEX);
BOOL IsBadCodePtr(FARPROC);
BOOL IsSystemResumeAutomatic();
BOOL MapUserPhysicalPages(PVOID, ULONG_PTR, PULONG_PTR);
BOOL MapUserPhysicalPagesScatter(PVOID*, ULONG_PTR, PULONG_PTR);
PVOID MapViewOfFile(HANDLE, DWORD, DWORD, DWORD, SIZE_T);
PVOID MapViewOfFileEx(HANDLE, DWORD, DWORD, DWORD, SIZE_T, PVOID);
HANDLE OpenFileMappingA(DWORD, BOOL, LPCSTR);
HANDLE OpenFileMappingW(DWORD, BOOL, LPCWSTR);
BOOL ProcessIdToSessionId(DWORD, DWORD*);
BOOL QueryInformationJobObject(HANDLE, JOBOBJECTINFOCLASS, LPVOID, DWORD, LPDWORD);
ULONG RemoveVectoredExceptionHandler(PVOID);
BOOL ReplaceFileA(LPCSTR, LPCSTR, LPCSTR, DWORD, LPVOID, LPVOID);
BOOL ReplaceFileW(LPCWSTR, LPCWSTR, LPCWSTR, DWORD, LPVOID, LPVOID);
BOOL SetComputerNameExA(COMPUTER_NAME_FORMAT, LPCSTR);
BOOL SetComputerNameExW(COMPUTER_NAME_FORMAT, LPCWSTR);
BOOL SetFilePointerEx(HANDLE, LARGE_INTEGER, PLARGE_INTEGER, DWORD);
BOOL SetInformationJobObject(HANDLE, JOBOBJECTINFOCLASS, LPVOID, DWORD);
BOOL SetSecurityDescriptorControl(PSECURITY_DESCRIPTOR, SECURITY_DESCRIPTOR_CONTROL, SECURITY_DESCRIPTOR_CONTROL);
BOOL SetSystemPowerState(BOOL, BOOL);
EXECUTION_STATE SetThreadExecutionState(EXECUTION_STATE);
DWORD SetThreadIdealProcessor(HANDLE, DWORD);
BOOL SetVolumeMountPointA(LPCSTR, LPCSTR);
BOOL SetVolumeMountPointW(LPCWSTR, LPCWSTR);
BOOL TerminateJobObject(HANDLE, UINT);
BOOL UnmapViewOfFile(PCVOID);
BOOL UnregisterWait(HANDLE);
BOOL UnregisterWaitEx(HANDLE, HANDLE);
BOOL VerifyVersionInfoA(LPOSVERSIONINFOEXA, DWORD, DWORDLONG);
BOOL VerifyVersionInfoW(LPOSVERSIONINFOEXW, DWORD, DWORDLONG);
}
static if (_WIN32_WINNT >= 0x501) {
BOOL ActivateActCtx(HANDLE, ULONG_PTR*);
void AddRefActCtx(HANDLE);
BOOL CheckNameLegalDOS8Dot3A(LPCSTR, LPSTR, DWORD, PBOOL, PBOOL);
BOOL CheckNameLegalDOS8Dot3W(LPCWSTR, LPSTR, DWORD, PBOOL, PBOOL);
BOOL CheckRemoteDebuggerPresent(HANDLE, PBOOL);
BOOL ConvertFiberToThread();
HANDLE CreateActCtxA(PCACTCTXA);
HANDLE CreateActCtxW(PCACTCTXW);
HANDLE CreateMemoryResourceNotification(MEMORY_RESOURCE_NOTIFICATION_TYPE);
BOOL DeactivateActCtx(DWORD, ULONG_PTR);
BOOL DebugActiveProcessStop(DWORD);
BOOL DebugBreakProcess(HANDLE);
BOOL DebugSetProcessKillOnExit(BOOL);
BOOL FindActCtxSectionGuid(DWORD, const(GUID)*, ULONG, const(GUID)*,
PACTCTX_SECTION_KEYED_DATA);
BOOL FindActCtxSectionStringA(DWORD, const(GUID)*, ULONG, LPCSTR,
PACTCTX_SECTION_KEYED_DATA);
BOOL FindActCtxSectionStringW(DWORD, const(GUID)*, ULONG, LPCWSTR,
PACTCTX_SECTION_KEYED_DATA);
BOOL GetCurrentActCtx(HANDLE*);
VOID GetNativeSystemInfo(LPSYSTEM_INFO);
BOOL GetProcessHandleCount(HANDLE, PDWORD);
BOOL GetSystemRegistryQuota(PDWORD, PDWORD);
BOOL GetSystemTimes(LPFILETIME, LPFILETIME, LPFILETIME);
UINT GetSystemWow64DirectoryA(LPSTR, UINT);
UINT GetSystemWow64DirectoryW(LPWSTR, UINT);
BOOL GetThreadIOPendingFlag(HANDLE, PBOOL);
BOOL GetVolumePathNamesForVolumeNameA(LPCSTR, LPSTR, DWORD, PDWORD);
BOOL GetVolumePathNamesForVolumeNameW(LPCWSTR, LPWSTR, DWORD, PDWORD);
UINT GetWriteWatch(DWORD, PVOID, SIZE_T, PVOID*, PULONG_PTR, PULONG);
BOOL HeapQueryInformation(HANDLE, HEAP_INFORMATION_CLASS, PVOID, SIZE_T, PSIZE_T);
BOOL HeapSetInformation(HANDLE, HEAP_INFORMATION_CLASS, PVOID, SIZE_T);
BOOL IsProcessInJob(HANDLE, HANDLE, PBOOL);
BOOL IsWow64Process(HANDLE, PBOOL);
BOOL QueryActCtxW(DWORD, HANDLE, PVOID, ULONG, PVOID, SIZE_T, SIZE_T*);
BOOL QueryMemoryResourceNotification(HANDLE, PBOOL);
void ReleaseActCtx(HANDLE);
UINT ResetWriteWatch(LPVOID, SIZE_T);
BOOL SetFileShortNameA(HANDLE, LPCSTR);
BOOL SetFileShortNameW(HANDLE, LPCWSTR);
BOOL SetFileValidData(HANDLE, LONGLONG);
BOOL ZombifyActCtx(HANDLE);
}
static if (_WIN32_WINNT >= 0x502) {
DWORD GetFirmwareEnvironmentVariableA(LPCSTR, LPCSTR, PVOID, DWORD);
DWORD GetFirmwareEnvironmentVariableW(LPCWSTR, LPCWSTR, PVOID, DWORD);
DWORD GetDllDirectoryA(DWORD, LPSTR);
DWORD GetDllDirectoryW(DWORD, LPWSTR);
DWORD GetThreadId(HANDLE);
DWORD GetProcessId(HANDLE);
HANDLE ReOpenFile(HANDLE, DWORD, DWORD, DWORD);
BOOL SetDllDirectoryA(LPCSTR);
BOOL SetDllDirectoryW(LPCWSTR);
BOOL SetFirmwareEnvironmentVariableA(LPCSTR, LPCSTR, PVOID, DWORD);
BOOL SetFirmwareEnvironmentVariableW(LPCWSTR, LPCWSTR, PVOID, DWORD);
}
// ???
static if (_WIN32_WINNT >= 0x510) {
VOID RestoreLastError(DWORD);
}
static if (_WIN32_WINNT >= 0x600) {
BOOL CreateSymbolicLinkA(LPCSTR, LPCSTR, DWORD);
BOOL CreateSymbolicLinkW(LPCWSTR, LPCWSTR, DWORD);
}
}
// For compatibility with old core.sys.windows.windows:
version (LittleEndian) nothrow @nogc
{
BOOL QueryPerformanceCounter(long* lpPerformanceCount) { return QueryPerformanceCounter(cast(PLARGE_INTEGER)lpPerformanceCount); }
BOOL QueryPerformanceFrequency(long* lpFrequency) { return QueryPerformanceFrequency(cast(PLARGE_INTEGER)lpFrequency); }
}
mixin DECLARE_AW!("STARTUPINFO");
version (Unicode) {
//alias STARTUPINFOW STARTUPINFO;
alias WIN32_FIND_DATAW WIN32_FIND_DATA;
alias ENUMRESLANGPROCW ENUMRESLANGPROC;
alias ENUMRESNAMEPROCW ENUMRESNAMEPROC;
alias ENUMRESTYPEPROCW ENUMRESTYPEPROC;
alias AddAtomW AddAtom;
alias BeginUpdateResourceW BeginUpdateResource;
alias BuildCommDCBW BuildCommDCB;
alias BuildCommDCBAndTimeoutsW BuildCommDCBAndTimeouts;
alias CallNamedPipeW CallNamedPipe;
alias CommConfigDialogW CommConfigDialog;
alias CopyFileW CopyFile;
alias CopyFileExW CopyFileEx;
alias CreateDirectoryW CreateDirectory;
alias CreateDirectoryExW CreateDirectoryEx;
alias CreateEventW CreateEvent;
alias CreateFileW CreateFile;
alias CreateMailslotW CreateMailslot;
alias CreateMutexW CreateMutex;
alias CreateProcessW CreateProcess;
alias CreateSemaphoreW CreateSemaphore;
alias DeleteFileW DeleteFile;
alias EndUpdateResourceW EndUpdateResource;
alias EnumResourceLanguagesW EnumResourceLanguages;
alias EnumResourceNamesW EnumResourceNames;
alias EnumResourceTypesW EnumResourceTypes;
alias ExpandEnvironmentStringsW ExpandEnvironmentStrings;
alias FatalAppExitW FatalAppExit;
alias FindAtomW FindAtom;
alias FindFirstChangeNotificationW FindFirstChangeNotification;
alias FindFirstFileW FindFirstFile;
alias FindNextFileW FindNextFile;
alias FindResourceW FindResource;
alias FindResourceExW FindResourceEx;
alias FormatMessageW FormatMessage;
alias FreeEnvironmentStringsW FreeEnvironmentStrings;
alias GetAtomNameW GetAtomName;
alias GetCommandLineW GetCommandLine;
alias GetComputerNameW GetComputerName;
alias GetCurrentDirectoryW GetCurrentDirectory;
alias GetDefaultCommConfigW GetDefaultCommConfig;
alias GetDiskFreeSpaceW GetDiskFreeSpace;
alias GetDiskFreeSpaceExW GetDiskFreeSpaceEx;
alias GetDriveTypeW GetDriveType;
alias GetEnvironmentStringsW GetEnvironmentStrings;
alias GetEnvironmentVariableW GetEnvironmentVariable;
alias GetFileAttributesW GetFileAttributes;
alias GetFullPathNameW GetFullPathName;
alias GetLogicalDriveStringsW GetLogicalDriveStrings;
alias GetModuleFileNameW GetModuleFileName;
alias GetModuleHandleW GetModuleHandle;
alias GetNamedPipeHandleStateW GetNamedPipeHandleState;
alias GetPrivateProfileIntW GetPrivateProfileInt;
alias GetPrivateProfileSectionW GetPrivateProfileSection;
alias GetPrivateProfileSectionNamesW GetPrivateProfileSectionNames;
alias GetPrivateProfileStringW GetPrivateProfileString;
alias GetPrivateProfileStructW GetPrivateProfileStruct;
alias GetProfileIntW GetProfileInt;
alias GetProfileSectionW GetProfileSection;
alias GetProfileStringW GetProfileString;
alias GetShortPathNameW GetShortPathName;
alias GetStartupInfoW GetStartupInfo;
alias GetSystemDirectoryW GetSystemDirectory;
alias GetTempFileNameW GetTempFileName;
alias GetTempPathW GetTempPath;
alias GetUserNameW GetUserName;
alias GetVersionExW GetVersionEx;
alias GetVolumeInformationW GetVolumeInformation;
alias GetWindowsDirectoryW GetWindowsDirectory;
alias GlobalAddAtomW GlobalAddAtom;
alias GlobalFindAtomW GlobalFindAtom;
alias GlobalGetAtomNameW GlobalGetAtomName;
alias IsBadStringPtrW IsBadStringPtr;
alias LoadLibraryW LoadLibrary;
alias LoadLibraryExW LoadLibraryEx;
alias lstrcatW lstrcat;
alias lstrcmpW lstrcmp;
alias lstrcmpiW lstrcmpi;
alias lstrcpyW lstrcpy;
alias lstrcpynW lstrcpyn;
alias lstrlenW lstrlen;
alias MoveFileW MoveFile;
alias OpenEventW OpenEvent;
alias OpenMutexW OpenMutex;
alias OpenSemaphoreW OpenSemaphore;
alias OutputDebugStringW OutputDebugString;
alias RemoveDirectoryW RemoveDirectory;
alias SearchPathW SearchPath;
alias SetComputerNameW SetComputerName;
alias SetCurrentDirectoryW SetCurrentDirectory;
alias SetDefaultCommConfigW SetDefaultCommConfig;
alias SetEnvironmentVariableW SetEnvironmentVariable;
alias SetFileAttributesW SetFileAttributes;
alias SetVolumeLabelW SetVolumeLabel;
alias WaitNamedPipeW WaitNamedPipe;
alias WritePrivateProfileSectionW WritePrivateProfileSection;
alias WritePrivateProfileStringW WritePrivateProfileString;
alias WritePrivateProfileStructW WritePrivateProfileStruct;
alias WriteProfileSectionW WriteProfileSection;
alias WriteProfileStringW WriteProfileString;
alias CreateWaitableTimerW CreateWaitableTimer;
alias GetFileAttributesExW GetFileAttributesEx;
alias GetLongPathNameW GetLongPathName;
alias QueryDosDeviceW QueryDosDevice;
alias HW_PROFILE_INFOW HW_PROFILE_INFO;
alias AccessCheckAndAuditAlarmW AccessCheckAndAuditAlarm;
alias BackupEventLogW BackupEventLog;
alias ClearEventLogW ClearEventLog;
alias CreateNamedPipeW CreateNamedPipe;
alias CreateProcessAsUserW CreateProcessAsUser;
alias DefineDosDeviceW DefineDosDevice;
alias FindFirstFileExW FindFirstFileEx;
alias GetBinaryTypeW GetBinaryType;
alias GetCompressedFileSizeW GetCompressedFileSize;
alias GetFileSecurityW GetFileSecurity;
alias LogonUserW LogonUser;
alias LookupAccountNameW LookupAccountName;
alias LookupAccountSidW LookupAccountSid;
alias LookupPrivilegeDisplayNameW LookupPrivilegeDisplayName;
alias LookupPrivilegeNameW LookupPrivilegeName;
alias LookupPrivilegeValueW LookupPrivilegeValue;
alias MoveFileExW MoveFileEx;
alias ObjectCloseAuditAlarmW ObjectCloseAuditAlarm;
alias ObjectDeleteAuditAlarmW ObjectDeleteAuditAlarm;
alias ObjectOpenAuditAlarmW ObjectOpenAuditAlarm;
alias ObjectPrivilegeAuditAlarmW ObjectPrivilegeAuditAlarm;
alias OpenBackupEventLogW OpenBackupEventLog;
alias OpenEventLogW OpenEventLog;
alias PrivilegedServiceAuditAlarmW PrivilegedServiceAuditAlarm;
alias ReadEventLogW ReadEventLog;
alias RegisterEventSourceW RegisterEventSource;
alias ReportEventW ReportEvent;
alias SetFileSecurityW SetFileSecurity;
alias UpdateResourceW UpdateResource;
static if (_WIN32_WINNT >= 0x500) {
alias CreateFileMappingW CreateFileMapping;
alias CreateHardLinkW CreateHardLink;
alias CreateJobObjectW CreateJobObject;
alias DeleteVolumeMountPointW DeleteVolumeMountPoint;
alias DnsHostnameToComputerNameW DnsHostnameToComputerName;
alias EncryptFileW EncryptFile;
alias FileEncryptionStatusW FileEncryptionStatus;
alias FindFirstVolumeW FindFirstVolume;
alias FindFirstVolumeMountPointW FindFirstVolumeMountPoint;
alias FindNextVolumeW FindNextVolume;
alias FindNextVolumeMountPointW FindNextVolumeMountPoint;
alias GetModuleHandleExW GetModuleHandleEx;
alias GetSystemWindowsDirectoryW GetSystemWindowsDirectory;
alias GetVolumeNameForVolumeMountPointW GetVolumeNameForVolumeMountPoint;
alias GetVolumePathNameW GetVolumePathName;
alias OpenFileMappingW OpenFileMapping;
alias ReplaceFileW ReplaceFile;
alias SetVolumeMountPointW SetVolumeMountPoint;
alias VerifyVersionInfoW VerifyVersionInfo;
}
static if (_WIN32_WINNT >= 0x501) {
alias ACTCTXW ACTCTX;
alias CheckNameLegalDOS8Dot3W CheckNameLegalDOS8Dot3;
alias CreateActCtxW CreateActCtx;
alias FindActCtxSectionStringW FindActCtxSectionString;
alias GetSystemWow64DirectoryW GetSystemWow64Directory;
alias GetVolumePathNamesForVolumeNameW GetVolumePathNamesForVolumeName;
alias SetFileShortNameW SetFileShortName;
}
static if (_WIN32_WINNT >= 0x502) {
alias SetFirmwareEnvironmentVariableW SetFirmwareEnvironmentVariable;
alias SetDllDirectoryW SetDllDirectory;
alias GetDllDirectoryW GetDllDirectory;
}
static if (_WIN32_WINNT >= 0x600) {
alias CreateSymbolicLinkW CreateSymbolicLink;
}
} else {
//alias STARTUPINFOA STARTUPINFO;
alias WIN32_FIND_DATAA WIN32_FIND_DATA;
alias ENUMRESLANGPROCW ENUMRESLANGPROC;
alias ENUMRESNAMEPROCW ENUMRESNAMEPROC;
alias ENUMRESTYPEPROCW ENUMRESTYPEPROC;
alias AddAtomA AddAtom;
alias BeginUpdateResourceA BeginUpdateResource;
alias BuildCommDCBA BuildCommDCB;
alias BuildCommDCBAndTimeoutsA BuildCommDCBAndTimeouts;
alias CallNamedPipeA CallNamedPipe;
alias CommConfigDialogA CommConfigDialog;
alias CopyFileA CopyFile;
alias CopyFileExA CopyFileEx;
alias CreateDirectoryA CreateDirectory;
alias CreateDirectoryExA CreateDirectoryEx;
alias CreateEventA CreateEvent;
alias CreateFileA CreateFile;
alias CreateMailslotA CreateMailslot;
alias CreateMutexA CreateMutex;
alias CreateProcessA CreateProcess;
alias CreateSemaphoreA CreateSemaphore;
alias DeleteFileA DeleteFile;
alias EndUpdateResourceA EndUpdateResource;
alias EnumResourceLanguagesA EnumResourceLanguages;
alias EnumResourceNamesA EnumResourceNames;
alias EnumResourceTypesA EnumResourceTypes;
alias ExpandEnvironmentStringsA ExpandEnvironmentStrings;
alias FatalAppExitA FatalAppExit;
alias FindAtomA FindAtom;
alias FindFirstChangeNotificationA FindFirstChangeNotification;
alias FindFirstFileA FindFirstFile;
alias FindNextFileA FindNextFile;
alias FindResourceA FindResource;
alias FindResourceExA FindResourceEx;
alias FormatMessageA FormatMessage;
alias FreeEnvironmentStringsA FreeEnvironmentStrings;
alias GetAtomNameA GetAtomName;
alias GetCommandLineA GetCommandLine;
alias GetComputerNameA GetComputerName;
alias GetCurrentDirectoryA GetCurrentDirectory;
alias GetDefaultCommConfigA GetDefaultCommConfig;
alias GetDiskFreeSpaceA GetDiskFreeSpace;
alias GetDiskFreeSpaceExA GetDiskFreeSpaceEx;
alias GetDriveTypeA GetDriveType;
alias GetEnvironmentStringsA GetEnvironmentStrings;
alias GetEnvironmentVariableA GetEnvironmentVariable;
alias GetFileAttributesA GetFileAttributes;
alias GetFullPathNameA GetFullPathName;
alias GetLogicalDriveStringsA GetLogicalDriveStrings;
alias GetNamedPipeHandleStateA GetNamedPipeHandleState;
alias GetModuleHandleA GetModuleHandle;
alias GetModuleFileNameA GetModuleFileName;
alias GetPrivateProfileIntA GetPrivateProfileInt;
alias GetPrivateProfileSectionA GetPrivateProfileSection;
alias GetPrivateProfileSectionNamesA GetPrivateProfileSectionNames;
alias GetPrivateProfileStringA GetPrivateProfileString;
alias GetPrivateProfileStructA GetPrivateProfileStruct;
alias GetProfileIntA GetProfileInt;
alias GetProfileSectionA GetProfileSection;
alias GetProfileStringA GetProfileString;
alias GetShortPathNameA GetShortPathName;
alias GetStartupInfoA GetStartupInfo;
alias GetSystemDirectoryA GetSystemDirectory;
alias GetTempFileNameA GetTempFileName;
alias GetTempPathA GetTempPath;
alias GetUserNameA GetUserName;
alias GetVersionExA GetVersionEx;
alias GetVolumeInformationA GetVolumeInformation;
alias GetWindowsDirectoryA GetWindowsDirectory;
alias GlobalAddAtomA GlobalAddAtom;
alias GlobalFindAtomA GlobalFindAtom;
alias GlobalGetAtomNameA GlobalGetAtomName;
alias IsBadStringPtrA IsBadStringPtr;
alias LoadLibraryA LoadLibrary;
alias LoadLibraryExA LoadLibraryEx;
alias lstrcatA lstrcat;
alias lstrcmpA lstrcmp;
alias lstrcmpiA lstrcmpi;
alias lstrcpyA lstrcpy;
alias lstrcpynA lstrcpyn;
alias lstrlenA lstrlen;
alias MoveFileA MoveFile;
alias OpenEventA OpenEvent;
alias OpenMutexA OpenMutex;
alias OpenSemaphoreA OpenSemaphore;
alias OutputDebugStringA OutputDebugString;
alias RemoveDirectoryA RemoveDirectory;
alias SearchPathA SearchPath;
alias SetComputerNameA SetComputerName;
alias SetCurrentDirectoryA SetCurrentDirectory;
alias SetDefaultCommConfigA SetDefaultCommConfig;
alias SetEnvironmentVariableA SetEnvironmentVariable;
alias SetFileAttributesA SetFileAttributes;
alias SetVolumeLabelA SetVolumeLabel;
alias WaitNamedPipeA WaitNamedPipe;
alias WritePrivateProfileSectionA WritePrivateProfileSection;
alias WritePrivateProfileStringA WritePrivateProfileString;
alias WritePrivateProfileStructA WritePrivateProfileStruct;
alias WriteProfileSectionA WriteProfileSection;
alias WriteProfileStringA WriteProfileString;
alias CreateWaitableTimerA CreateWaitableTimer;
alias GetFileAttributesExA GetFileAttributesEx;
alias GetLongPathNameA GetLongPathName;
alias QueryDosDeviceA QueryDosDevice;
alias HW_PROFILE_INFOA HW_PROFILE_INFO;
alias AccessCheckAndAuditAlarmA AccessCheckAndAuditAlarm;
alias BackupEventLogA BackupEventLog;
alias ClearEventLogA ClearEventLog;
alias CreateNamedPipeA CreateNamedPipe;
alias CreateProcessAsUserA CreateProcessAsUser;
alias DefineDosDeviceA DefineDosDevice;
alias FindFirstFileExA FindFirstFileEx;
alias GetBinaryTypeA GetBinaryType;
alias GetCompressedFileSizeA GetCompressedFileSize;
alias GetFileSecurityA GetFileSecurity;
alias LogonUserA LogonUser;
alias LookupAccountNameA LookupAccountName;
alias LookupAccountSidA LookupAccountSid;
alias LookupPrivilegeDisplayNameA LookupPrivilegeDisplayName;
alias LookupPrivilegeNameA LookupPrivilegeName;
alias LookupPrivilegeValueA LookupPrivilegeValue;
alias MoveFileExA MoveFileEx;
alias ObjectCloseAuditAlarmA ObjectCloseAuditAlarm;
alias ObjectDeleteAuditAlarmA ObjectDeleteAuditAlarm;
alias ObjectOpenAuditAlarmA ObjectOpenAuditAlarm;
alias ObjectPrivilegeAuditAlarmA ObjectPrivilegeAuditAlarm;
alias OpenBackupEventLogA OpenBackupEventLog;
alias OpenEventLogA OpenEventLog;
alias PrivilegedServiceAuditAlarmA PrivilegedServiceAuditAlarm;
alias ReadEventLogA ReadEventLog;
alias RegisterEventSourceA RegisterEventSource;
alias ReportEventA ReportEvent;
alias SetFileSecurityA SetFileSecurity;
alias UpdateResourceA UpdateResource;
static if (_WIN32_WINNT >= 0x500) {
alias CreateFileMappingA CreateFileMapping;
alias CreateHardLinkA CreateHardLink;
alias CreateJobObjectA CreateJobObject;
alias DeleteVolumeMountPointA DeleteVolumeMountPoint;
alias DnsHostnameToComputerNameA DnsHostnameToComputerName;
alias EncryptFileA EncryptFile;
alias FileEncryptionStatusA FileEncryptionStatus;
alias FindFirstVolumeA FindFirstVolume;
alias FindFirstVolumeMountPointA FindFirstVolumeMountPoint;
alias FindNextVolumeA FindNextVolume;
alias FindNextVolumeMountPointA FindNextVolumeMountPoint;
alias GetModuleHandleExA GetModuleHandleEx;
alias GetSystemWindowsDirectoryA GetSystemWindowsDirectory;
alias GetVolumeNameForVolumeMountPointA GetVolumeNameForVolumeMountPoint;
alias GetVolumePathNameA GetVolumePathName;
alias OpenFileMappingA OpenFileMapping;
alias ReplaceFileA ReplaceFile;
alias SetVolumeMountPointA SetVolumeMountPoint;
alias VerifyVersionInfoA VerifyVersionInfo;
}
static if (_WIN32_WINNT >= 0x501) {
alias ACTCTXA ACTCTX;
alias CheckNameLegalDOS8Dot3A CheckNameLegalDOS8Dot3;
alias CreateActCtxA CreateActCtx;
alias FindActCtxSectionStringA FindActCtxSectionString;
alias GetSystemWow64DirectoryA GetSystemWow64Directory;
alias GetVolumePathNamesForVolumeNameA GetVolumePathNamesForVolumeName;
alias SetFileShortNameA SetFileShortName;
}
static if (_WIN32_WINNT >= 0x502) {
alias GetDllDirectoryA GetDllDirectory;
alias SetDllDirectoryA SetDllDirectory;
alias SetFirmwareEnvironmentVariableA SetFirmwareEnvironmentVariable;
}
static if (_WIN32_WINNT >= 0x600) {
alias CreateSymbolicLinkA CreateSymbolicLink;
}
}
alias STARTUPINFO* LPSTARTUPINFO;
alias WIN32_FIND_DATA* LPWIN32_FIND_DATA;
alias HW_PROFILE_INFO* LPHW_PROFILE_INFO;
static if (_WIN32_WINNT >= 0x501) {
alias ACTCTX* PACTCTX, PCACTCTX;
}
|
D
|
instance Mod_13040_SP_Seelenpeiniger_OM (Npc_Default)
{
//-------- primary data --------
name = "Seelenpeiniger";
npctype = npctype_main;
guild = GIL_DMT;
level = 25;
voice = 0;
id = 13040;
flags = NPC_FLAG_GHOST;
//-------- abilities --------
attribute[ATR_STRENGTH] = 100;
attribute[ATR_HITPOINTS_MAX]= 600;
attribute[ATR_HITPOINTS] = 600;
protection[PROT_EDGE] = -1;
protection[PROT_BLUNT] = -1;
protection[PROT_POINT] = -1;
protection[PROT_MAGIC] = -1;
protection[PROT_FIRE] = -1;
//-------- visuals --------
// animations
Mdl_SetVisual (self,"HUMANS.MDS");
// body mesh ,bdytex,skin,head mesh ,headtex,teethtex,ruestung
Mdl_SetVisualBody (self,"hum_body_Naked0", 0, 3,"Hum_Head_FatBald", 2, 1, ITAR_TARNUNG);
Mdl_SetModelFatness(self,0);
effect = "SPELLFX_DARKARMOR";
fight_tactic = FAI_HUMAN_STRONG;
//-------- inventory --------
B_SetFightSkillS (self, 20);
//-------------Daily Routine-------------
daily_routine = Rtn_start_13040;
};
FUNC VOID Rtn_start_13040 ()
{
TA_Stand_WP (06,00,20,00,"OM_CAVE3_28");
TA_Stand_WP (20,00,06,00,"OM_CAVE3_28");
};
|
D
|
module deepmagic.dom.elements.form.output_element;
import deepmagic.dom;
class OutputElement : Html5Element!("output"){
mixin(ElementConstructorTemplate!());
mixin(AttributeTemplate!(typeof(this), "For", "for"));
mixin(AttributeTemplate!(typeof(this), "Form", "form"));
mixin(AttributeTemplate!(typeof(this), "Name", "name"));
}
|
D
|
/+
REQUIRED_ARGS: -o- -HC
TEST_OUTPUT:
---
// Automatically generated by Digital Mars D Compiler
#pragma once
#include <assert.h>
#include <math.h>
#include <stddef.h>
#include <stdint.h>
#ifdef CUSTOM_D_ARRAY_TYPE
#define _d_dynamicArray CUSTOM_D_ARRAY_TYPE
#else
/// Represents a D [] array
template<typename T>
struct _d_dynamicArray final
{
size_t length;
T *ptr;
_d_dynamicArray() : length(0), ptr(NULL) { }
_d_dynamicArray(size_t length_in, T *ptr_in)
: length(length_in), ptr(ptr_in) { }
T& operator[](const size_t idx) {
assert(idx < length);
return ptr[idx];
}
const T& operator[](const size_t idx) const {
assert(idx < length);
return ptr[idx];
}
};
#endif
extern int32_t foo();
extern int32_t* somePtr;
extern void insertedCast(double a = (double) foo());
extern void explicitCast(int32_t b = foo());
extern void requiredCast(void* ptr = (void*) foo());
extern void stcCast(const int32_t* const ci = (const int32_t* const) somePtr);
---
+/
extern (C++):
int foo() { return 0; }
__gshared int* somePtr;
void insertedCast(double a = foo()) {}
void explicitCast(int b = cast(int) foo()) {}
void requiredCast(void* ptr = cast(void*) foo()) {}
void stcCast(const int* ci = cast(immutable) somePtr) {}
/+
TEST_OUTPUT:
---
template <typename T>
extern T insertedTmpl(double a = static_cast<double>(foo()));
template <typename T>
extern T explicitTmpl(int32_t b = (int32_t) foo());
template <typename T>
extern T requiredTmpl(void* ptr = (void*) foo());
template <typename T>
extern T stcCastTmpl(int32_t* ci = (int32_t*) somePtr);
template <typename T>
extern T paramCastTmpl(int32_t* ci = (T) somePtr);
---
+/
T insertedTmpl(T)(double a = foo()) {}
T explicitTmpl(T)(int b = cast(int) foo()) {}
T requiredTmpl(T)(void* ptr = cast(void*) foo()) {}
T stcCastTmpl(T)(const int* ci = cast(immutable) somePtr) {}
T paramCastTmpl(T)(const int* ci = cast(T) somePtr) {}
/+
TEST_OUTPUT:
---
struct Data final
{
static Data* pt;
static int32_t* bar();
Data()
{
}
};
extern void useData(bool a = !Data::pt, bool b = Data::bar() == nullptr, bool c = Data::bar() != nullptr);
---
+/
struct Data
{
__gshared Data* pt;
static int* bar() { return null; }
}
void useData(
bool a = !Data.pt,
bool b = Data.bar() is null,
bool c = Data.bar() !is null
) {}
|
D
|
/*
* The MIT License (MIT)
*
* Copyright (c) 2014 Devisualization (Richard Andrew Cattermole)
*
* 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 devisualization.font.bdf.glyph;
import devisualization.font;
import devisualization.font.bdf.font;
import devisualization.image;
class BDFGlyph : Glyph {
private {
BDFFont font;
ushort originalWidth;
ushort originalEncodedValue;
uint[] lines;
uint width_;
uint height_;
Color_RGBA brush;
Color_RGBA brushBKGD;
uint offsetX;
uint offsetY;
bool isBold;
bool isItalic;
}
this(BDFFont font, ushort encoded, ushort width, uint[] lines) {
this.font = font;
this.originalEncodedValue = encoded;
this.originalWidth = width;
this.lines = lines;
width_ = lines.length * 2;
height_ = lines.length * 2;
brush = new Color_RGBA(0, 0, 0, 1f);
brushBKGD = new Color_RGBA(0, 0, 0, 0f);
}
GlyphModifiers modifiers() {
class GlyphMod : GlyphModifiers {
void italize() { // makes it italisized
isItalic = true;
}
void bold() { // makes it boldenized
isBold = true;
}
void width(uint width) { // scales
width_ = width;
}
void kerning(ushort amount) { // adds width but doesn't scale
width_ += amount;
offsetX = amount;
}
void height(uint amount) { // scales
height_ = amount;
}
void lineHeight(uint amount) { // adds height to glyph but doesn't scale
height_ += amount;
offsetY = amount;
}
void color(Color_RGBA primary, Color_RGBA background = null) {
brush = primary;
brushBKGD = background;
}
void reset() { // reload image for glyph
offsetX = 0;
offsetY = 0;
isBold = false;
isItalic = false;
width_ = 8;
height_ = 8;
brush = new Color_RGBA(0, 0, 0, 1f);
brushBKGD = new Color_RGBA(0, 0, 0, 0f);
}
}
return new GlyphMod;
}
Image output() {
import std.math : ceil;
import devisualization.image.mutable;
uint useWidth = cast(uint)ceil(width_ * (isBold ? 1.2f : 1f));
MutableImage image = new MutableImage(useWidth, height_);
auto i_ = image.rgba;
size_t perLineAddOnX = cast(size_t)((height_ - offsetY));
size_t count_X = cast(size_t)ceil((useWidth - offsetX) / originalWidth + 0f);
size_t count_Y = cast(size_t)ceil((height_ - offsetY) / lines.length + 0f);
size_t yy = offsetY;
foreach(k, line; lines) {
size_t xx;
for (size_t i = 0; i < originalWidth; i++) {
Color_RGBA brushToUse = (line & (1 << (originalWidth - (i + 1)))) ? brush : brushBKGD;
size_t y = yy;
foreach(_; 0 .. count_Y) {
size_t x = xx;
foreach(__; 0 .. count_X) {
if (x >= useWidth || y >= height_)
break;
i_[i_.indexFromXY(x, y)] = brushToUse;
x++;
}
y++;
}
xx += count_X;
}
yy += count_Y;
}
// strip out whitespace pixels
size_t bkgdLast;
size_t theY;
bool stillBKGD = true;
bool hitLast;
image.applyByY((Color_RGBA color, size_t x, size_t y) {
if (color == brush) {
stillBKGD = false;
}
if (theY != y) {
if (stillBKGD) {
bkgdLast++;
} else {
bkgdLast = 0;
}
theY = y;
stillBKGD = true;
hitLast = true;
} else {
hitLast = false;
}
});
if (!hitLast) {
if (stillBKGD)
bkgdLast++;
else {
bkgdLast = 0;
}
}
if (bkgdLast > 0)
image = image.resizeCrop(image.width - bkgdLast, image.height);
if (isItalic) {
image = image.skewHorizontal(23, brushBKGD);
}
return image;
}
}
|
D
|
/*
* window.d
*
* This module implements a GUI Window class. Widgets can be pushed to this window.
*
* Author: Dave Wilkinson
* Originated: June 24th, 2009
*
*/
module gui.window;
import gui.widget;
import gui.application;
import resource.menu;
import platform.vars.view;
import platform.vars.menu;
import platform.vars.window;
import scaffold.color;
import scaffold.window;
import scaffold.view;
import scaffold.menu;
import graphics.view;
import graphics.graphics;
import core.definitions;
import core.color;
import core.string;
import core.event;
import core.main;
import core.system;
import interfaces.container;
import binding.c;
// Description: This class implements and abstracts a common window. This window is a control container and a view canvas.
class Window : Responder, AbstractContainer {
public:
// Constructors
// Description: Will create the window with certain default parameters
// windowTitle: The initial title for the window.
// windowStyle: The initial style for the window.
// color: The initial color for the window.
// x: The initial x position of the window.
// y: The initial y position of the window.
// width: The initial width of the client area of the window.
// height: The initial height of the client area of the window.
this(string windowTitle, WindowStyle windowStyle, Color color, int x, int y, int width, int height) {
_color = color;
_window_title = windowTitle.dup;
_width = width;
_height = height;
_x = x;
_y = y;
_style = windowStyle;
_position = WindowPosition.User;
}
// Description: Will create the window with certain default parameters
// windowTitle: The initial title for the window.
// windowStyle: The initial style for the window.
// sysColor: The initial color for the window which is taken from a platform color setting.
// x: The initial x position of the window.
// y: The initial y position of the window.
// width: The initial width of the client area of the window.
// height: The initial height of the client area of the window.
this(string windowTitle, WindowStyle windowStyle, SystemColor sysColor, int x, int y, int width, int height) {
ColorGetSystemColor(_color, sysColor);
_window_title = windowTitle.dup;
_width = width;
_height = height;
_x = x;
_y = y;
_style = windowStyle;
_position = WindowPosition.User;
}
this(string windowTitle, WindowStyle windowStyle, Color color, WindowPosition pos, int width, int height) {
_color = color;
_window_title = windowTitle.dup;
_width = width;
_height = height;
_position = pos;
_style = windowStyle;
}
this(string windowTitle, WindowStyle windowStyle, SystemColor sysColor, WindowPosition pos, int width, int height) {
ColorGetSystemColor(_color, sysColor);
_window_title = windowTitle.dup;
_width = width;
_height = height;
_position = pos;
_style = windowStyle;
}
~this() {
uninitialize();
remove();
}
// Properties
// Widget Container Margins
int baseLeft() {
return 0;
}
int baseTop() {
return 0;
}
// Methods //
// Description: Will get the title of the window.
// Returns: The string representing the title.
string text() {
return _window_title.dup;
}
// Description: Will set the title of the window.
// str: The new title.
void text(string str) {
_window_title = str.dup;
if (!_inited) { return; }
WindowSetTitle(this, &_pfvars);
}
Window nextWindow() {
return _nextWindow;
}
// Description: Sets the flag to make the window hidden or visible.
// bShow: Pass true to show the window and false to hide it.
void visible(bool bShow) {
if (_visible == bShow) { return; }
_visible = !_visible;
if (_inited) {
GuiApplication app = cast(GuiApplication)responder;
if (!_visible) {
app._windowVisibleCount--;
}
else {
app._windowVisibleCount++;
}
WindowSetVisible(this, &_pfvars, bShow);
// safe guard:
// fights off infection from ZOMBIE PROCESSES!!!
if (app.isZombie()) {
app.destroyAllWindows();
app.exit(0);
}
}
onVisibilityChange();
}
// Description: Will return whether or not the window is flagged as hidden or visible. The window may not actually be visible due to it not being created or added.
// Returns: It will return true when the window is flagged to be visible and false otherwise.
bool visible() {
return _visible;
}
// Description: Will set the window to take a different state: WindowState.Minimized, WindowState.Maximized, WindowState.Fullscreen, WindowState.Normal
// state: A WindowState value representing the new state.
void state(WindowState state) {
if (_state == state) { return; }
_state = state;
if (_nextWindow !is null) {
WindowSetState(this, &_pfvars);
}
onStateChange();
}
// Description: Will return the current state of the window.
// Returns: The current WindowState value for the window.
WindowState state() {
return _state;
}
// Description: Will set the window to take a different style: WindowStyle.Fixed (non-sizable), WindowStyle.Sizable (resizable window), WindowStyle.Popup (borderless).
// style: A WindowStyle value representing the new style.
void style(WindowStyle style) {
if (this.state == WindowState.Fullscreen)
{ return; }
_style = style;
if (_nextWindow !is null) {
WindowSetStyle(this, &_pfvars);
}
}
// Description: Will return the current style of the window.
// Returns: The current WindowStyle value for the window.
WindowStyle style() {
return _style;
}
// Description: Will return the width of the client area of the window.
// Returns: The width of the client area of the window.
uint width() {
if (_state == WindowState.Fullscreen) {
return System.Display.width;
}
return _width;
}
// Description: Will return the height of the client area of the window.
// Returns: The height of the client area of the window.
uint height() {
if (_state == WindowState.Fullscreen) {
return System.Display.height;
}
return _height;
}
// Description: Will return the x coordinate of the window's position in screen coordinates. Note that this is not the client area, but rather the whole window.
// Returns: The x position of the top-left corner of the window.
uint x() {
if (_state == WindowState.Fullscreen) {
return 0;
}
return _x;
}
// Description: Will return the y coordinate of the window's position in screen coordinates. Note that this is not the client area, but rather the whole window.
// Returns: The y position of the top-left corner of the window.
uint y() {
if (_state == WindowState.Fullscreen) {
return 0;
}
return _y;
}
// Methods
// Description: Will attempt to destroy the window and its children. It will be removed from the hierarchy.
void remove() {
if (!_inited) { return; }
// the window was added
// destroy
// TODO: Fire the event, and allow confirmation
// TODO: Add a FORCE DESTROY function method
_inited = false;
WindowDestroy(this, &_pfvars);
}
// Description: This function will Size the window to fit a client area with the dimensions given by width and height.
// width: The new width of the client area.
// height: The new height of the client area.
void resize(uint width, uint height) {
_width = width;
_height = height;
if (_inited) {
WindowRebound(this, &_pfvars);
}
onResize();
}
// Description: This function will move the window so that the top-left corner of the window (not client area) is set to the point (x,y).
// x: The new x coordinate of the top-left corner.
// y: The new y coordinate of the top-left corner.
void move(uint x, uint y) {
_x = x;
_y = y;
if (_inited) {
WindowReposition(this, &_pfvars);
}
onMove();
}
void ClientToScreen(ref int x, ref int y) {
if (_inited == false) { return; }
WindowClientToScreen(this, &_pfvars, x, y);
}
void ClientToScreen(ref Coord pt) {
if (_inited == false) { return; }
WindowClientToScreen(this, &_pfvars, pt);
}
void ClientToScreen(ref Rect rt) {
if (_inited == false) { return; }
WindowClientToScreen(this, &_pfvars, rt);
}
Window parent() {
return _parent;
}
// add a child window to this window
void addWindow(Window window) {
/*
if (_inited == false) { return; }
// add the window to the root window list
UpdateWindowList(window);
// mark the parent
window._parent = this;
UpdateChildWindowList(window);
// add one to the window count
ApplicationPlusWindow(cast(GuiApplication)Djehuty.app);
// add one to the child window count
_numChildren++;
// create the window via platform calls
WindowCreate(this, &this._pfvars, window, window._pfvars);
// create the window's view object
window.onInitialize();
// call the onAdd event of the new window
window.onAdd();*/
//PrintChildWindowList(this);
}
// Events //
// Description: This event will be called when the window is added to the window hierarchy.
void onAdd() {
}
// Description: This event will be called when the window is removed from the window hierarchy.
void onRemove() {
}
// Description: This event is called when the mouse wheel is scrolled vertically (the common scroll method).
// amount: the number of standard 'ticks' that the scroll wheel makes
void onMouseWheelY(uint amount) {
}
// Description: This event is called when the mouse wheel is scrolled horizontally.
// amount: the number of standard 'ticks' that the scroll wheel makes
void onMouseWheelX(uint amount) {
}
// Description: This event is called when the mouse enters the client area of the window
void onMouseEnter() {
}
// Description: This event is called when the window is moved, either from the OS or the move() function.
void onMove() {
}
// Description: This event is called when the window is hidden or shown.
void onVisibilityChange() {
}
// Description: This event is called when the window is maximized, minimized, put into fullscreen, or restored.
void onStateChange() {
}
// Description: This event is called when a menu item belonging to the window is activated.
// mnu: A reference to the menu that was activated.
void onMenu(Menu mnu) {
}
void onInitialize() {
_view = new WindowView;
_viewVars = _view.createForWindow(this, &_pfvars);
}
void onUninitialize() {
_view.destroy();
_view = null;
}
void onDraw() {
if (_view !is null) {
Graphics g = _view.lock();
WindowStartDraw(this, &_pfvars, _view, *_viewVars);
Brush brush = new Brush(this.color);
Pen pen = new Pen(Color.Black);
g.brush = brush;
g.pen = pen;
g.fillRect(0,0,this.width,this.height);
brush = new Brush(Color.White);
g.brush = brush;
Widget c = _firstControl;
if (c !is null) {
do {
c = c._prevControl;
c.onDraw(g);
} while (c !is _firstControl)
}
WindowEndDraw(this, &_pfvars, _view, *_viewVars);
_view.unlock();
}
}
void onKeyChar(dchar keyChar) {
// dispatch to focused control
if (_focused_control !is null) {
if (_focused_control.onKeyChar(keyChar)) {
onDraw();
}
}
}
void onKeyDown(Key key) {
// dispatch to focused control
if (_focused_control !is null) {
if (_focused_control.onKeyDown(key)) {
onDraw();
}
}
}
void onKeyUp(Key key) {
// dispatch to focused control
if (_focused_control !is null) {
if (_focused_control.onKeyUp(key)) {
onDraw();
}
}
}
void onMouseLeave() {
if (_last_control !is null) {
_last_control._hovered = false;
if(_last_control.onMouseLeave()) {
onDraw();
}
_last_control = null;
}
}
void onMouseMove() {
//select the control to send the message to
Widget control;
if (_captured_control !is null) {
control = _captured_control;
if (controlAtPoint(mouseProps.x, mouseProps.y) is control && control.visible) {
//within bounds of control
if (!control._hovered) {
//currently, hover state says control is outside
control._hovered = true;
if (control.onMouseEnter() | control.onMouseMove(mouseProps)) {
onDraw();
}
}
else if (control.onMouseMove(mouseProps)) {
onDraw();
}
}
else {
//outside bounds of control
if (control._hovered) {
//currently, hover state says control is inside
control._hovered = false;
if (control.onMouseLeave() | control.onMouseMove(mouseProps)) {
onDraw();
}
}
else if (control.onMouseMove(mouseProps)) {
onDraw();
}
}
//change the cursor to reflect the new control
//ChangeCursor(window->captured_control->ctrl_info.ctrl_cursor);
} // no control that has captured the mouse input
else if ((control = controlAtPoint(mouseProps.x, mouseProps.y)) !is null) {
//when there is a control to pass a MouseLeave to...
if (_last_control !is control && _last_control !is null) {
control._hovered = true;
_last_control._hovered = false;
if(_last_control.onMouseLeave() |
control.onMouseEnter() | control.onMouseMove(mouseProps)) {
onDraw();
}
} //otherwise, there is just one control to worry about
else {
if(!control._hovered) {
//wasn't hovered over before
control._hovered = true;
if(control.onMouseEnter() | control.onMouseMove(mouseProps)) {
onDraw();
}
}
else if(control.onMouseMove(mouseProps)) {
onDraw();
}
}
//change the cursor to reflect the new control
//ChangeCursor(index->ctrl_cursor);
_last_control = control;
}
else {
//mouse is on window, not control
if (_last_control !is null) {
_last_control._hovered = false;
if(_last_control.onMouseLeave()) {
onDraw();
}
_last_control = null;
}
}
}
// Description: Called when the primary mouse button (usually the left button) is pressed.
void onPrimaryMouseDown() {
Widget target;
bool ret = mouseEventCommon(target);
_captured_control = target;
if((target !is null) && (ret | target.onPrimaryMouseDown(mouseProps))) {
onDraw();
}
}
// Description: Called when the primary mouse button (usually the left button) is released.
void onPrimaryMouseUp() {
Widget target;
bool ret = mouseEventCommon(target);
_captured_control = null;
if((target !is null) && (ret | target.onPrimaryMouseUp(mouseProps))) {
onDraw();
}
}
// Description: Called when the secondary mouse button (usually the right button) is pressed.
void onSecondaryMouseDown() {
Widget target;
bool ret = mouseEventCommon(target);
_captured_control = target;
if((target !is null) && (ret | target.onSecondaryMouseDown(mouseProps))) {
onDraw();
}
}
// Description: Called when the secondary mouse button (usually the right button) is released.
void onSecondaryMouseUp() {
Widget target;
bool ret = mouseEventCommon(target);
_captured_control = null;
if((target !is null) && (ret | target.onSecondaryMouseUp(mouseProps))) {
onDraw();
}
}
// Description: Called when the tertiary mouse button (usually the middle button) is pressed.
void onTertiaryMouseDown() {
Widget target;
bool ret = mouseEventCommon(target);
_captured_control = target;
if((target !is null) && (ret | target.onTertiaryMouseDown(mouseProps))) {
onDraw();
}
}
// Description: Called when the tertiary mouse button (usually the middle button) is released.
void onTertiaryMouseUp() {
Widget target;
bool ret = mouseEventCommon(target);
_captured_control = null;
if((target !is null) && (ret | target.onTertiaryMouseUp(mouseProps))) {
onDraw();
}
}
// Description: This event is called when another uncommon mouse button is pressed down over the window.
// button: The identifier of this button.
void onOtherMouseDown(uint button) {
Widget target;
bool ret = mouseEventCommon(target);
_captured_control = target;
if((target !is null) && (ret | target.onOtherMouseDown(mouseProps, button))) {
onDraw();
}
}
// Description: This event is called when another uncommon mouse button is released over the window.
// button: The identifier of this button.
void onOtherMouseUp(uint button) {
Widget target;
bool ret = mouseEventCommon(target);
_captured_control = null;
if((target !is null) && (ret | target.onOtherMouseUp(mouseProps, button))) {
onDraw();
}
}
void onResize() {
ViewResizeForWindow(_view, _viewVars, this, &_pfvars);
onDraw();
}
void onLostFocus() {
//currently focused control will lose focus
if (_focused_control !is null) {
_focused_control._focused = false;
if (_focused_control.onLostFocus(true)) {
onDraw();
}
}
}
void onGotFocus() {
//currently focused control will regain focus
if (_focused_control !is null) {
_focused_control._focused = true;
if (_focused_control.onGotFocus(true)) {
onDraw();
}
}
}
// Methods //
// Description: This will give the preferred position for the window.
// Returns: The position this window was created with.
WindowPosition position() {
return _position;
}
// Description: This will retreive the current window color.
// Returns: The color currently associated with the window.
Color color() {
return _color;
}
// Description: This will set the current window color.
// color: The color to associate with the window.
void color(ref Color clr) {
_color = clr;
}
// Description: This will set the current window color to a specific platform color.
// sysColor: The system color index to associate with the window.
void color(SystemColor clr) {
ColorGetSystemColor(_color, clr);
}
// Description: This will force a redraw of the entire window.
void redraw() {
onDraw();
}
// Widget Maintenance //
// Description: This function will return the visible control at the point given.
// x: The x coordinate to start the search.
// y: The y coordinate to start the search.
// Returns: The top-most visible control at the point (x,y) or null.
Widget controlAtPoint(int x, int y) {
Widget ctrl = _firstControl;
if (ctrl !is null) {
do {
if (ctrl.containsPoint(x,y) && ctrl.visible) {
if (ctrl.isContainer()) {
Widget innerCtrl = (cast(AbstractContainer)ctrl).controlAtPoint(x,y);
if (innerCtrl !is null) { return innerCtrl; }
}
else {
return ctrl;
}
}
ctrl = ctrl._nextControl;
} while (ctrl !is _firstControl)
}
return null;
}
override void push(Dispatcher dsp) {
if (cast(Widget)dsp !is null) {
Widget control = cast(Widget)dsp;
// do not add a control that is already part of another window
if (control.parent !is null) { return; }
// Set the window it belongs to
control._window = this;
// add to the control linked list
if (_firstControl is null && _lastControl is null) {
// first control
_firstControl = control;
_lastControl = control;
control._nextControl = control;
control._prevControl = control;
}
else {
// next control
control._nextControl = _firstControl;
control._prevControl = _lastControl;
_firstControl._prevControl = control;
_lastControl._nextControl = control;
_firstControl = control;
}
// increase the number of controls
_numControls++;
// set the control's parent
control._view = _view;
control._container = this;
super.push(control);
// call the control's event
control.onAdd();
return;
}
super.push(dsp);
}
// Description: Removes the control as long as this control is a part of the current window.
// control: A reference to the control that should be removed from the window.
void removeControl(Widget control) {
if (control.isOfWindow(this)) {
if (_firstControl is null && _lastControl is null) {
// it is the last control
_firstControl = null;
_lastControl = null;
}
else {
// is it not the last control
if (_firstControl is control) {
_firstControl = _firstControl._nextControl;
}
if (_lastControl is control) {
_lastControl = _lastControl._prevControl;
}
control.removeControl;
}
_numControls--;
}
}
void removeAll() {
// will go through and remove all of the controls
Widget c = _firstControl;
Widget tmp;
if (c is null) { return; }
do {
tmp = c._nextControl;
c.removeControl();
c = tmp;
} while (c !is _firstControl);
_firstControl = null;
_lastControl = null;
}
// Menus //
// Description: Sets the menu for the window. This menu's subitems will be displayed typically as a menu bar.
// mnuMain: A Menu object representing the main menu for the window. Pass null to have no menu.
void menu(Menu mnuMain) {
_mainMenu = mnuMain;
if (mnuMain is null) {
// remove the menu
}
else {
// Switch out and apply the menu
// platform specific
MenuPlatformVars* mnuVars = MenuGetPlatformVars(mnuMain);
WindowSetMenu(mnuVars, this, &_pfvars);
}
}
// Description: Gets the current menu for the window. It will return null when no menu is available.
// Returns: The Menu object representing the main menu for the window.
Menu menu() {
return _mainMenu;
}
// public properties
Mouse mouseProps;
protected:
final bool mouseEventCommon(out Widget target) {
if (_captured_control !is null) {
target = _captured_control;
}
else if ((target = controlAtPoint(mouseProps.x, mouseProps.y)) !is null) {
bool ret = false;
//consider the focus of the control
if(_focused_control !is target) {
if (_focused_control !is null) {
//the current focused control gets unfocused
_focused_control._focused = false;
ret = _focused_control.onLostFocus(false);
}
//focus this control
_focused_control = target;
_focused_control._focused = true;
ret |= _focused_control.onGotFocus(false);
}
return ret;
//change the cursor to reflect the new control
//ChangeCursor(index->ctrl_cursor);
}
return false;
}
package final void uninitialize() {
if (_nextWindow is null) { return; }
onRemove();
removeAll();
_prevWindow._nextWindow = _nextWindow;
_nextWindow._prevWindow = _prevWindow;
// destroy the window's view object
onUninitialize();
GuiApplication app = cast(GuiApplication)responder;
if (app._windowListHead is this && app._windowListTail is this) {
app._windowListHead = null;
app._windowListTail = null;
}
else {
if (app._windowListHead is this) {
app._windowListHead = app._windowListHead._nextWindow;
}
if (app._windowListTail is this) {
app._windowListTail = app._windowListHead._prevWindow;
}
}
_nextWindow = null;
_prevWindow = null;
// Decrement Window length
app._windowCount--;
// Check to see if this was invisible
if (_visible) {
// Decrement Window Visible length
app._windowVisibleCount--;
// If there are no visible windows, quit (for now)
if (app.isZombie()) {
// just kill the app
app.destroyAllWindows();
app.exit(0);
}
}
// is it a parent window of some kind?
// destroy and uninitialize all children
if (_firstChild !is null) {
Window child = _firstChild;
do {
child.remove();
child = child._nextSibling;
} while (child !is _firstChild)
}
// is it a child window of some kind?
// unlink it within the sibling list
if (_parent !is null) {
Window p = _parent;
p._numChildren--;
_prevSibling._nextSibling = _nextSibling;
_nextSibling._prevSibling = _prevSibling;
if (p._firstChild is this && p._lastChild is this) {
// unreference this, the last child
// the parent now has no children
p._firstChild = null;
p._lastChild = null;
}
else {
if (p._firstChild is this) {
p._firstChild = p._firstChild._nextSibling;
}
if (p._lastChild is this) {
p._lastChild = p._lastChild._prevSibling;
}
}
}
_parent = null;
_nextSibling = null;
_prevSibling = null;
_firstChild = null;
_lastChild = null;
}
package WindowView _view = null;
package ViewPlatformVars* _viewVars;
Color _color;
WindowPosition _position;
// imposes left and top margins on the window, when set
long _constraint_x = 0;
long _constraint_y = 0;
string _window_title;
package uint _width, _height;
package uint _x, _y;
package WindowStyle _style;
package WindowState _state;
private:
// head and tail of the control linked list
Widget _firstControl = null; //head
Widget _lastControl = null; //tail
int _numControls = 0;
Widget _captured_control = null;
Widget _last_control = null;
Widget _focused_control = null;
Menu _mainMenu = null;
// linked list implementation
// to keep track of all windows
package Window _nextWindow = null;
package Window _prevWindow = null;
// children windows will follow suit:
Window _firstChild = null; //head
Window _lastChild = null; //tail
uint _numChildren = 0; // child count
// parent is null when it is a root window
Window _parent = null;
// these may be null when it is an only child
Window _nextSibling = null;
Window _prevSibling = null;
package bool _visible = false;
bool _fullscreen = false;
package bool _inited = false;
package WindowPlatformVars _pfvars;
}
// Definition: This is a View that defines the graphical client area of a Window.
class WindowView : View {
this() {
super();
}
override void create(int width, int height) {
}
protected:
override void _platformCreate() {
ViewCreateForWindow(this, &_pfvars, _window, _windowVars);
}
private:
ViewPlatformVars* createForWindow(Window window, WindowPlatformVars* windowVars) {
_window = window;
_windowVars = windowVars;
View.create(window.width, window.height);
return &_pfvars;
}
Window _window;
WindowPlatformVars* _windowVars;
}
|
D
|
func void NDC_SetInput(var int on) {
const int oCGame__HandleEvent = 7324016;
MemoryProtectionOverride(oCGame__HandleEvent, 7);
if(on) {
MEM_WriteByte(oCGame__HandleEvent, 106);
MEM_WriteByte(oCGame__HandleEvent+1, 255);
MEM_WriteByte(oCGame__HandleEvent+2, 104);
}
else {
MEM_WriteByte(oCGame__HandleEvent, 194);
MEM_WriteByte(oCGame__HandleEvent+1, 4);
MEM_WriteByte(oCGame__HandleEvent+2, 0);
};
};
|
D
|
module deepmagic.layout.code_black.script_block.script_block;
import deepmagic.layout.code_black;
class AppLayoutScriptBlock : DivElement{
string[] scripts = null;
this(){
super();
this.scripts ~= "/js/jquery.min.js";
this.scripts ~= "/js/jquery-ui.min.js";
this.scripts ~= "/js/jquery.easing.1.3.js";
this.scripts ~= "/js/bootstrap.min.js";
this.scripts ~= "/js/charts/jquery.flot.js";
this.scripts ~= "/js/charts/jquery.flot.time.js";
this.scripts ~= "/js/charts/jquery.flot.animator.min.js";
this.scripts ~= "/js/charts/jquery.flot.resize.min.js";
this.scripts ~= "/js/sparkline.min.js";
this.scripts ~= "/js/easypiechart.js";
this.scripts ~= "/js/charts.js";
this.scripts ~= "/js/maps/jvectormap.min.js";
this.scripts ~= "/js/maps/usa.js";
this.scripts ~= "/js/icheck.js";
this.scripts ~= "/js/scroll.min.js";
this.scripts ~= "/js/calendar.min.js";
this.scripts ~= "/js/feeds.min.js";
//From Calendar
this.scripts ~= "/js/scroll.min.js";
this.scripts ~= "/js/validation/validate.min.js";
this.scripts ~= "/js/validation/validationEngine.min.js";
this.scripts ~= "/views/calendar/calendar.js";
//From Charts
this.scripts ~= "/js/charts/jquery.flot.js";
this.scripts ~= "/js/charts/jquery.flot.time.js";
this.scripts ~= "/js/charts/jquery.flot.animator.min.js";
this.scripts ~= "/js/charts/jquery.flot.resize.min.js";
this.scripts ~= "/js/charts/jquery.flot.orderBar.js";
this.scripts ~= "/js/charts/jquery.flot.pie.min.js";
this.scripts ~= "/js/sparkline.min.js";
this.scripts ~= "/js/maps/world.js";
//From File Manager
this.scripts ~= "/js/file-manager/elfinder.min.js";
this.scripts ~= "/views/file_manager/file_manager.js";
//From Photo Gallery
this.scripts ~= "/js/simple-inheritance.min.js";
this.scripts ~= "/js/code-photoswipe-1.0.11.min.js";
this.scripts ~= "/js/functions.js";
this.init();
}
override void init(){
foreach(int i, string script; this.scripts){
ScriptElement s = new ScriptElement();
s.tag.attr["src"] = script;
s ~= new Text("");
this ~= s;
}
}
}
|
D
|
module imports.testmod2a;
/**********************************/
// bug 1904
// testmod.d
private void bar(alias a)() {}
void foo(alias a)() {
.bar!(a)();
}
|
D
|
/Users/kennethmoody/Desktop/iOS\ projects/hello-maps-swift4.2/DerivedData/Build/Intermediates.noindex/hello-maps-swift4.2.build/Debug-iphonesimulator/hello-maps-swift4.2.build/Objects-normal/x86_64/ViewController.o : /Users/kennethmoody/Desktop/iOS\ projects/hello-maps-swift4.2/hello-maps-swift4.2/AppDelegate.swift /Users/kennethmoody/Desktop/iOS\ projects/hello-maps-swift4.2/hello-maps-swift4.2/CoffeeAnnotation.swift /Users/kennethmoody/Desktop/iOS\ projects/hello-maps-swift4.2/hello-maps-swift4.2/ViewController.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/CoreLocation.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Foundation.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/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/MapKit.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/SwiftOnoneSupport.swiftmodule /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/usr/include/objc/ObjectiveC.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/OpenGLES.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CoreImage.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/QuartzCore.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/System/Library/Frameworks/Metal.framework/Headers/Metal.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/usr/include/Darwin.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/System/Library/Frameworks/CoreLocation.framework/Headers/CoreLocation.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKit.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/System/Library/Frameworks/MapKit.framework/Headers/MapKit.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/System/Library/Frameworks/CoreText.framework/Headers/CoreText.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/System/Library/Frameworks/Security.framework/Headers/Security.apinotes
/Users/kennethmoody/Desktop/iOS\ projects/hello-maps-swift4.2/DerivedData/Build/Intermediates.noindex/hello-maps-swift4.2.build/Debug-iphonesimulator/hello-maps-swift4.2.build/Objects-normal/x86_64/ViewController~partial.swiftmodule : /Users/kennethmoody/Desktop/iOS\ projects/hello-maps-swift4.2/hello-maps-swift4.2/AppDelegate.swift /Users/kennethmoody/Desktop/iOS\ projects/hello-maps-swift4.2/hello-maps-swift4.2/CoffeeAnnotation.swift /Users/kennethmoody/Desktop/iOS\ projects/hello-maps-swift4.2/hello-maps-swift4.2/ViewController.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/CoreLocation.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Foundation.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/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/MapKit.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/SwiftOnoneSupport.swiftmodule /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/usr/include/objc/ObjectiveC.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/OpenGLES.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CoreImage.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/QuartzCore.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/System/Library/Frameworks/Metal.framework/Headers/Metal.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/usr/include/Darwin.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/System/Library/Frameworks/CoreLocation.framework/Headers/CoreLocation.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKit.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/System/Library/Frameworks/MapKit.framework/Headers/MapKit.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/System/Library/Frameworks/CoreText.framework/Headers/CoreText.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/System/Library/Frameworks/Security.framework/Headers/Security.apinotes
/Users/kennethmoody/Desktop/iOS\ projects/hello-maps-swift4.2/DerivedData/Build/Intermediates.noindex/hello-maps-swift4.2.build/Debug-iphonesimulator/hello-maps-swift4.2.build/Objects-normal/x86_64/ViewController~partial.swiftdoc : /Users/kennethmoody/Desktop/iOS\ projects/hello-maps-swift4.2/hello-maps-swift4.2/AppDelegate.swift /Users/kennethmoody/Desktop/iOS\ projects/hello-maps-swift4.2/hello-maps-swift4.2/CoffeeAnnotation.swift /Users/kennethmoody/Desktop/iOS\ projects/hello-maps-swift4.2/hello-maps-swift4.2/ViewController.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/CoreLocation.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Foundation.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/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/MapKit.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/SwiftOnoneSupport.swiftmodule /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/usr/include/objc/ObjectiveC.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/OpenGLES.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CoreImage.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/QuartzCore.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/System/Library/Frameworks/Metal.framework/Headers/Metal.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/usr/include/Darwin.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/System/Library/Frameworks/CoreLocation.framework/Headers/CoreLocation.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKit.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/System/Library/Frameworks/MapKit.framework/Headers/MapKit.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/System/Library/Frameworks/CoreText.framework/Headers/CoreText.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/System/Library/Frameworks/Security.framework/Headers/Security.apinotes
|
D
|
// Copyright Ferdinand Majerech 2011.
// Distributed under the Boost Software License, Version 1.0.
// (See accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt)
module dyaml.reader;
import core.stdc.stdlib;
import core.stdc.string;
import core.thread;
import std.algorithm;
import std.conv;
import std.exception;
import std.stdio;
import std.stream;
import std.string;
import std.system;
import std.utf;
import dyaml.fastcharsearch;
import dyaml.encoding;
import dyaml.exception;
package:
///Exception thrown at Reader errors.
class ReaderException : YAMLException
{
this(string msg, string file = __FILE__, int line = __LINE__)
{
super("Error reading stream: " ~ msg, file, line);
}
}
///Lazily reads and decodes data from stream, only storing as much as needed at any moment.
final class Reader
{
private:
//Input stream.
EndianStream stream_;
//Allocated space for buffer_.
dchar[] bufferAllocated_ = null;
//Buffer of currently loaded characters.
dchar[] buffer_ = null;
//Current position within buffer. Only data after this position can be read.
uint bufferOffset_ = 0;
//Index of the current character in the stream.
size_t charIndex_ = 0;
//Current line in file.
uint line_;
//Current column in file.
uint column_;
//Decoder reading data from file and decoding it to UTF-32.
UTFFastDecoder decoder_;
public:
/*
* Construct an AbstractReader.
*
* Params: stream = Input stream. Must be readable and seekable.
*
* Throws: ReaderException if the stream is invalid.
*/
this(Stream stream)
in
{
assert(stream.readable && stream.seekable,
"Can't read YAML from a stream that is not readable and seekable");
}
body
{
stream_ = new EndianStream(stream);
decoder_ = UTFFastDecoder(stream_);
}
~this()
{
//Delete the buffer, if allocated.
if(bufferAllocated_ is null){return;}
free(bufferAllocated_.ptr);
buffer_ = bufferAllocated_ = null;
}
/**
* Get character at specified index relative to current position.
*
* Params: index = Index of the character to get relative to current position
* in the stream.
*
* Returns: Character at specified position.
*
* Throws: ReaderException if trying to read past the end of the stream
* or if invalid data is read.
*/
dchar peek(size_t index = 0)
{
if(buffer_.length < bufferOffset_ + index + 1)
{
updateBuffer(index + 1);
}
if(buffer_.length <= bufferOffset_ + index)
{
throw new ReaderException("Trying to read past the end of the stream");
}
return buffer_[bufferOffset_ + index];
}
/**
* Get specified number of characters starting at current position.
*
* Note: This gets only a "view" into the internal buffer,
* which WILL get invalidated after other Reader calls.
*
* Params: length = Number of characters to get.
*
* Returns: Characters starting at current position or an empty slice if out of bounds.
*/
const(dstring) prefix(size_t length)
{
return slice(0, length);
}
/**
* Get a slice view of the internal buffer.
*
* Note: This gets only a "view" into the internal buffer,
* which WILL get invalidated after other Reader calls.
*
* Params: start = Start of the slice relative to current position.
* end = End of the slice relative to current position.
*
* Returns: Slice into the internal buffer or an empty slice if out of bounds.
*/
const(dstring) slice(size_t start, size_t end)
{
if(buffer_.length <= bufferOffset_ + end)
{
updateBuffer(end);
}
end += bufferOffset_;
start += bufferOffset_;
end = min(buffer_.length, end);
return end > start ? cast(dstring)buffer_[start .. end] : "";
}
/**
* Get the next character, moving stream position beyond it.
*
* Returns: Next character.
*
* Throws: ReaderException if trying to read past the end of the stream
* or if invalid data is read.
*/
dchar get()
{
const result = peek();
forward();
return result;
}
/**
* Get specified number of characters, moving stream position beyond them.
*
* Params: length = Number or characters to get.
*
* Returns: Characters starting at current position.
*
* Throws: ReaderException if trying to read past the end of the stream
* or if invalid data is read.
*/
dstring get(size_t length)
{
auto result = prefix(length).dup;
forward(length);
return cast(dstring)result;
}
/**
* Move current position forward.
*
* Params: length = Number of characters to move position forward.
*
* Throws: ReaderException if trying to read past the end of the stream
* or if invalid data is read.
*/
void forward(size_t length = 1)
{
if(buffer_.length <= bufferOffset_ + length + 1)
{
updateBuffer(length + 1);
}
mixin FastCharSearch!"\n\u0085\u2028\u2029"d search;
while(length > 0)
{
const c = buffer_[bufferOffset_];
++bufferOffset_;
++charIndex_;
//New line.
if(search.canFind(c) || (c == '\r' && buffer_[bufferOffset_] != '\n'))
{
++line_;
column_ = 0;
}
else if(c != '\uFEFF'){++column_;}
--length;
}
}
///Get a string describing current stream position, used for error messages.
@property final Mark mark() const {return Mark(line_, column_);}
///Get current line number.
@property final uint line() const {return line_;}
///Get current column number.
@property final uint column() const {return column_;}
///Get index of the current character in the stream.
@property final size_t charIndex() const {return charIndex_;}
///Get encoding of the input stream.
@property final Encoding encoding() const {return decoder_.encoding;}
private:
/**
* Update buffer to be able to read length characters after buffer offset.
*
* If there are not enough characters in the stream, it will get
* as many as possible.
*
* Params: length = Number of characters we need to read.
*
* Throws: ReaderException if trying to read past the end of the stream
* or if invalid data is read.
*/
void updateBuffer(in size_t length)
{
//Get rid of unneeded data in the buffer.
if(bufferOffset_ > 0)
{
size_t bufferLength = buffer_.length - bufferOffset_;
memmove(buffer_.ptr, buffer_.ptr + bufferOffset_,
bufferLength * dchar.sizeof);
buffer_ = buffer_[0 .. bufferLength];
bufferOffset_ = 0;
}
//Load chars in batches of at most 1024 bytes (256 chars)
while(buffer_.length <= bufferOffset_ + length)
{
loadChars(512);
if(decoder_.done)
{
if(buffer_.length == 0 || buffer_[$ - 1] != '\0')
{
bufferReserve(buffer_.length + 1);
buffer_ = bufferAllocated_[0 .. buffer_.length + 1];
buffer_[$ - 1] = '\0';
}
break;
}
}
}
/**
* Load more characters to the buffer.
*
* Params: chars = Recommended number of characters to load.
* More characters might be loaded.
* Less will be loaded if not enough available.
*
* Throws: ReaderException on Unicode decoding error,
* if nonprintable characters are detected, or
* if there is an error reading from the stream.
*/
void loadChars(size_t chars)
{
const oldLength = buffer_.length;
const oldPosition = stream_.position;
bufferReserve(buffer_.length + chars);
buffer_ = bufferAllocated_[0 .. buffer_.length + chars];
scope(success)
{
buffer_ = buffer_[0 .. $ - chars];
enforce(printable(buffer_[oldLength .. $]),
new ReaderException("Special unicode characters are not allowed"));
}
try for(size_t c = 0; chars && !decoder_.done;)
{
const slice = decoder_.getDChars(chars);
buffer_[oldLength + c .. oldLength + c + slice.length] = slice;
c += slice.length;
chars -= slice.length;
}
catch(Exception e)
{
handleLoadCharsException(e, oldPosition);
}
}
//Handle an exception thrown in loadChars method of any Reader.
void handleLoadCharsException(Exception e, ulong oldPosition)
{
try{throw e;}
catch(UTFException e)
{
const position = stream_.position;
throw new ReaderException(format("Unicode decoding error between bytes ",
oldPosition, " and ", position, " : ", e.msg));
}
catch(ReadException e)
{
throw new ReaderException(e.msg);
}
}
//Code shared by loadEntireFile methods.
void loadEntireFile_()
{
const maxChars = decoder_.maxChars;
bufferReserve(maxChars + 1);
loadChars(maxChars);
if(buffer_.length == 0 || buffer_[$ - 1] != '\0')
{
buffer_ = bufferAllocated_[0 .. buffer_.length + 1];
buffer_[$ - 1] = '\0';
}
}
//Ensure there is space for at least capacity characters in bufferAllocated_.
void bufferReserve(in size_t capacity)
{
if(bufferAllocated_ !is null && bufferAllocated_.length >= capacity){return;}
//Handle first allocation as well as reallocation.
auto ptr = bufferAllocated_ !is null
? realloc(bufferAllocated_.ptr, capacity * dchar.sizeof)
: malloc(capacity * dchar.sizeof);
bufferAllocated_ = (cast(dchar*)ptr)[0 .. capacity];
buffer_ = bufferAllocated_[0 .. buffer_.length];
}
}
private:
alias UTFBlockDecoder!512 UTFFastDecoder;
///Decodes streams to UTF-32 in blocks.
struct UTFBlockDecoder(size_t bufferSize_) if (bufferSize_ % 2 == 0)
{
private:
//UTF-8 codepoint strides (0xFF are codepoints that can't start a sequence).
static immutable ubyte[256] utf8Stride =
[
1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,
1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,
1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,
1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,
1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,
1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,
1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,
1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,
0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,
0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,
0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,
0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,
2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,
2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,
3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,
4,4,4,4,4,4,4,4,5,5,5,5,6,6,0xFF,0xFF,
];
//Encoding of the input stream.
Encoding encoding_;
//Maximum number of characters that might be in the stream.
size_t maxChars_;
//Bytes available in the stream.
size_t available_;
//Input stream.
EndianStream stream_;
//Buffer used to store raw UTF-8 or UTF-16 code points.
union
{
char[bufferSize_] rawBuffer8_;
wchar[bufferSize_ / 2] rawBuffer16_;
}
//Used space (in items) in rawBuffer8_/rawBuffer16_.
size_t rawUsed_;
//Space used by buffer_.
dchar[bufferSize_] bufferSpace_;
//Buffer of decoded, UTF-32 characters. This is a slice into bufferSpace_.
dchar[] buffer_;
public:
///Construct a UTFFastDecoder decoding a stream.
this(EndianStream stream)
{
stream_ = stream;
available_ = stream_.available;
//Handle files short enough not to have a BOM.
if(available_ < 2)
{
encoding_ = Encoding.UTF_8;
maxChars_ = 0;
if(available_ == 1)
{
bufferSpace_[0] = stream_.getc();
buffer_ = bufferSpace_[0 .. 1];
maxChars_ = 1;
}
return;
}
char[] rawBuffer8;
wchar[] rawBuffer16;
//readBOM will determine and set stream endianness.
switch(stream_.readBOM(2))
{
case -1:
//readBOM() eats two more bytes in this case so get them back.
const wchar bytes = stream_.getcw();
rawBuffer8_[0 .. 2] = [cast(ubyte)(bytes % 256), cast(ubyte)(bytes / 256)];
rawUsed_ = 2;
goto case 0;
case 0:
maxChars_ = available_;
encoding_ = Encoding.UTF_8;
break;
case 1, 2:
maxChars_ = available_ / 2;
//readBOM() eats two more bytes in this case so get them back.
encoding_ = Encoding.UTF_16;
rawBuffer16_[0] = stream_.getcw();
rawUsed_ = 1;
enforce(available_ % 2 == 0,
new ReaderException("Odd byte count in an UTF-16 stream"));
break;
case 3, 4:
maxChars_ = available_ / 4;
encoding_ = Encoding.UTF_32;
enforce(available_ % 4 == 0,
new ReaderException("Byte count in an UTF-32 stream not divisible by 4"));
break;
default: assert(false, "Unknown UTF BOM");
}
available_ = stream_.available;
}
///Get maximum number of characters that might be in the stream.
@property size_t maxChars() const {return maxChars_;}
///Get encoding we're decoding from.
@property Encoding encoding() const {return encoding_;}
///Are we done decoding?
@property bool done() const
{
return rawUsed_ == 0 && buffer_.length == 0 && available_ == 0;
}
///Get next character.
dchar getDChar()
{
if(buffer_.length)
{
const result = buffer_[0];
buffer_ = buffer_[1 .. $];
return result;
}
assert(available_ > 0 || rawUsed_ > 0);
updateBuffer();
return getDChar();
}
///Get as many characters as possible, but at most maxChars. Slice returned will be invalidated in further calls.
const(dchar[]) getDChars(size_t maxChars = size_t.max)
{
if(buffer_.length)
{
const slice = min(buffer_.length, maxChars);
const result = buffer_[0 .. slice];
buffer_ = buffer_[slice .. $];
return result;
}
assert(available_ > 0 || rawUsed_ > 0);
updateBuffer();
return getDChars(maxChars);
}
private:
//Read and decode characters from file and store them in the buffer.
void updateBuffer()
{
assert(buffer_.length == 0);
final switch(encoding_)
{
case Encoding.UTF_8:
const bytes = min(bufferSize_ - rawUsed_, available_);
//Current length of valid data in rawBuffer8_.
const rawLength = rawUsed_ + bytes;
stream_.readExact(rawBuffer8_.ptr + rawUsed_, bytes);
available_ -= bytes;
decodeRawBuffer(rawBuffer8_, rawLength);
break;
case Encoding.UTF_16:
const words = min((bufferSize_ / 2) - rawUsed_, available_ / 2);
//Current length of valid data in rawBuffer16_.
const rawLength = rawUsed_ + words;
foreach(c; rawUsed_ .. rawLength)
{
stream_.read(rawBuffer16_[c]);
available_ -= 2;
}
decodeRawBuffer(rawBuffer16_, rawLength);
break;
case Encoding.UTF_32:
const chars = min(bufferSize_ / 4, available_ / 4);
foreach(c; 0 .. chars)
{
stream_.read(bufferSpace_[c]);
available_ -= 4;
}
buffer_ = bufferSpace_[0 .. chars];
break;
}
}
//Decode contents of a UTF-8 or UTF-16 raw buffer.
void decodeRawBuffer(C)(C[] buffer, const size_t length)
{
//End of part of rawBuffer8_ that contains
//complete characters and can be decoded.
const end = endOfLastUTFSequence(buffer, length);
//If end is 0, there are no full UTF-8 chars.
//This can happen at the end of file if there is an incomplete UTF-8 sequence.
enforce(end > 0,
new ReaderException("Invalid UTF-8 character at the end of stream"));
decodeUTF(buffer[0 .. end]);
//After decoding, any code points not decoded go to the start of raw buffer.
rawUsed_ = length - end;
foreach(i; 0 .. rawUsed_){buffer[i] = buffer[i + end];}
}
//Determine the end of last UTF-8 or UTF-16 sequence in a raw buffer.
size_t endOfLastUTFSequence(C)(const C[] buffer, const size_t max)
{
static if(is(C == char))
{
for(long end = max - 1; end >= 0; --end)
{
const s = utf8Stride[buffer[cast(size_t)end]];
if(s != 0xFF)
{
//If stride goes beyond end of the buffer (max), return end.
//Otherwise the last sequence ends at max, so we can return that.
//(Unless there is an invalid code point, which is
//caught at decoding)
return (s > max - end) ? cast(size_t)end : max;
}
}
return 0;
}
else
{
size_t end = 0;
while(end < max)
{
const s = stride(buffer, end);
if(s + end > max){break;}
end += s;
}
return end;
}
}
//Decode a UTF-8 or UTF-16 buffer (with no incomplete sequences at the end).
void decodeUTF(C)(const C[] source)
{
size_t bufpos = 0;
const srclength = source.length;
for(size_t srcpos = 0; srcpos < srclength;)
{
const c = source[srcpos];
if(c < 0x80)
{
bufferSpace_[bufpos++] = c;
++srcpos;
}
else
{
bufferSpace_[bufpos++] = decode(source, srcpos);
}
}
buffer_ = bufferSpace_[0 .. bufpos];
}
}
/**
* Determine if all characters in an array are printable.
*
* Params: chars = Characters to check.
*
* Returns: True if all the characters are printable, false otherwise.
*/
bool printable(const ref dchar[] chars) pure
{
foreach(c; chars)
{
if(!((c == 0x09 || c == 0x0A || c == 0x0D || c == 0x85) ||
(c >= 0x20 && c <= 0x7E) ||
(c >= 0xA0 && c <= '\uD7FF') ||
(c >= '\uE000' && c <= '\uFFFD')))
{
return false;
}
}
return true;
}
//Unittests.
void testEndian(R)()
{
writeln(typeid(R).toString() ~ ": endian unittest");
void endian_test(ubyte[] data, Encoding encoding_expected, Endian endian_expected)
{
Reader reader = new R(new MemoryStream(data));
assert(reader.encoding == encoding_expected);
assert(reader.stream_.endian == endian_expected);
}
ubyte[] little_endian_utf_16 = [0xFF, 0xFE, 0x7A, 0x00];
ubyte[] big_endian_utf_16 = [0xFE, 0xFF, 0x00, 0x7A];
endian_test(little_endian_utf_16, Encoding.UTF_16, Endian.littleEndian);
endian_test(big_endian_utf_16, Encoding.UTF_16, Endian.bigEndian);
}
void testPeekPrefixForward(R)()
{
writeln(typeid(R).toString() ~ ": peek/prefix/forward unittest");
ubyte[] data = ByteOrderMarks[BOM.UTF8] ~ cast(ubyte[])"data";
Reader reader = new R(new MemoryStream(data));
assert(reader.peek() == 'd');
assert(reader.peek(1) == 'a');
assert(reader.peek(2) == 't');
assert(reader.peek(3) == 'a');
assert(reader.peek(4) == '\0');
assert(reader.prefix(4) == "data");
assert(reader.prefix(6) == "data\0");
reader.forward(2);
assert(reader.peek(1) == 'a');
assert(collectException(reader.peek(3)));
}
void testUTF(R)()
{
writeln(typeid(R).toString() ~ ": UTF formats unittest");
dchar[] data = cast(dchar[])"data";
void utf_test(T)(T[] data, BOM bom)
{
ubyte[] bytes = ByteOrderMarks[bom] ~
(cast(ubyte*)data.ptr)[0 .. data.length * T.sizeof];
Reader reader = new R(new MemoryStream(bytes));
assert(reader.peek() == 'd');
assert(reader.peek(1) == 'a');
assert(reader.peek(2) == 't');
assert(reader.peek(3) == 'a');
}
utf_test!char(to!(char[])(data), BOM.UTF8);
utf_test!wchar(to!(wchar[])(data), endian == Endian.bigEndian ? BOM.UTF16BE : BOM.UTF16LE);
utf_test(data, endian == Endian.bigEndian ? BOM.UTF32BE : BOM.UTF32LE);
}
unittest
{
testEndian!Reader();
testPeekPrefixForward!Reader();
testUTF!Reader();
}
|
D
|
module libos.libconsole;
private import user.syscall;
import user.console;
import libos.ramfs;
struct Console {
static:
// The default color.
const ubyte DEFAULTCOLORS = Color.LightGray;
// The width of a tab
const auto TABSTOP = 4;
void initialize() {
video = RamFS.open("/devices/video", 0);
videoBuffer = video.ptr;
// Get video info
videoInfo = cast(MetaData*)videoBuffer;
// Go to actual video buffer
videoBuffer += 4096;
}
void putChar(char c) {
if (c == '\t') {
videoInfo.xpos += TABSTOP;
}
else if (c != '\n' && c != '\r') {
ubyte* ptr = cast(ubyte*)videoBuffer;
ptr += (videoInfo.xpos + (videoInfo.ypos * videoInfo.width)) * 2;
// Set the current piece of video memory to the character
*(ptr) = c & 0xff;
*(ptr + 1) = videoInfo.colorAttribute;
// Increment
videoInfo.xpos++;
}
// check for end of line, or newline
if (c == '\n' || c == '\r' || videoInfo.xpos >= videoInfo.width) {
videoInfo.xpos = 0;
videoInfo.ypos++;
while (videoInfo.ypos >= videoInfo.height) {
scroll(1);
}
}
}
void putString(char[] string) {
foreach(c; string) {
putChar(c);
}
}
void getPosition(out uint x, out uint y) {
x = videoInfo.xpos;
y = videoInfo.ypos;
}
void setPosition(uint x, uint y) {
videoInfo.xpos = x;
videoInfo.ypos = y;
}
void clear() {
ubyte* ptr = cast(ubyte*)videoBuffer;
for (int i; i < videoInfo.width * videoInfo.height * 2; i += 2) {
*(ptr + i) = 0x00;
*(ptr + i + 1) = videoInfo.colorAttribute;
}
videoInfo.xpos = 0;
videoInfo.ypos = 0;
}
void scroll(uint numLines) {
ubyte* ptr = cast(ubyte*)videoBuffer;
if (numLines >= videoInfo.height) {
clear();
return;
}
int cury = 0;
int offset1 = 0;
int offset2 = numLines * videoInfo.width;
// Go through and shift the correct amount
for ( ; cury <= videoInfo.height - numLines; cury++) {
for (int curx = 0; curx < videoInfo.width; curx++) {
*(ptr + (curx + offset1) * 2)
= *(ptr + (curx + offset1 + offset2) * 2);
*(ptr + (curx + offset1) * 2 + 1)
= *(ptr + (curx + offset1 + offset2) * 2 + 1);
}
offset1 += videoInfo.width;
}
// clear remaining lines
for ( ; cury <= videoInfo.height; cury++) {
for (int curx = 0; curx < videoInfo.width; curx++) {
*(ptr + (curx + offset1) * 2) = 0x00;
*(ptr + (curx + offset1) * 2 + 1) = 0x00;
}
}
videoInfo.ypos -= numLines;
if (videoInfo.ypos < 0) {
videoInfo.ypos = 0;
}
}
void position(uint x, uint y) {
videoInfo.xpos = x;
videoInfo.ypos = y;
if (videoInfo.xpos >= videoInfo.width) {
videoInfo.xpos = videoInfo.width - 1;
}
if (videoInfo.ypos >= videoInfo.height) {
videoInfo.ypos = videoInfo.height - 1;
}
}
void reset() {
videoInfo.colorAttribute = DEFAULTCOLORS;
clear();
}
void resetColor() {
videoInfo.colorAttribute = DEFAULTCOLORS;
}
void forecolor(Color clr) {
videoInfo.colorAttribute = (videoInfo.colorAttribute & 0xf0) | clr;
}
Color forecolor() {
ubyte clr = videoInfo.colorAttribute & 0xf;
return cast(Color)clr;
}
void backcolor(Color clr) {
videoInfo.colorAttribute = (videoInfo.colorAttribute & 0x0f) | (clr << 4);
}
Color backcolor() {
ubyte clr = videoInfo.colorAttribute & 0xf0;
clr >>= 4;
return cast(Color)clr;
}
uint width() {
return videoInfo.width;
}
uint height() {
return videoInfo.height;
}
private:
MetaData* videoInfo;
Gib video;
ubyte* videoBuffer;
}
|
D
|
/* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
module flow.engine.impl.cmd.CreateAttachmentCmd;
import hunt.stream.Common;
import flow.common.api.FlowableException;
import flow.common.api.FlowableObjectNotFoundException;
import flow.common.api.deleg.event.FlowableEngineEventType;
import flow.common.api.deleg.event.FlowableEventDispatcher;
//import flow.common.identity.Authentication;
import flow.common.interceptor.Command;
import flow.common.interceptor.CommandContext;
//import flow.common.util.IoUtil;
import flow.engine.compatibility.Flowable5CompatibilityHandler;
import flow.engine.deleg.event.impl.FlowableEventBuilder;
import flow.engine.impl.persistence.entity.AttachmentEntity;
import flow.engine.impl.persistence.entity.ByteArrayEntity;
import flow.engine.impl.persistence.entity.ExecutionEntity;
import flow.engine.impl.util.CommandContextUtil;
//import flow.engine.impl.util.Flowable5Util;
import flow.engine.runtime.ProcessInstance;
import flow.engine.task.Attachment;
import flow.task.api.Task;
import flow.task.service.impl.persistence.entity.TaskEntity;
import hunt.Exceptions;
/**
* @author Tom Baeyens
* @author Joram Barrez
*/
// Not Serializable
class CreateAttachmentCmd : Command!Attachment {
protected string attachmentType;
protected string taskId;
protected string processInstanceId;
protected string attachmentName;
protected string attachmentDescription;
protected InputStream content;
protected string url;
this(string attachmentType, string taskId, string processInstanceId, string attachmentName, string attachmentDescription, InputStream content, string url) {
this.attachmentType = attachmentType;
this.taskId = taskId;
this.processInstanceId = processInstanceId;
this.attachmentName = attachmentName;
this.attachmentDescription = attachmentDescription;
this.content = content;
this.url = url;
}
public Attachment execute(CommandContext commandContext) {
if (taskId !is null && taskId.length != 0) {
TaskEntity task = verifyTaskParameters(commandContext);
//if (task.getProcessDefinitionId() !is null && Flowable5Util.isFlowable5ProcessDefinitionId(commandContext, task.getProcessDefinitionId())) {
// Flowable5CompatibilityHandler compatibilityHandler = Flowable5Util.getFlowable5CompatibilityHandler();
// return compatibilityHandler.createAttachment(attachmentType, taskId, processInstanceId, attachmentName, attachmentDescription, content, url);
//}
}
if (processInstanceId !is null && processInstanceId.length != 0) {
ExecutionEntity execution = verifyExecutionParameters(commandContext);
//if (Flowable5Util.isFlowable5ProcessDefinitionId(commandContext, execution.getProcessDefinitionId())) {
// Flowable5CompatibilityHandler compatibilityHandler = Flowable5Util.getFlowable5CompatibilityHandler();
// return compatibilityHandler.createAttachment(attachmentType, taskId, processInstanceId, attachmentName, attachmentDescription, content, url);
//}
}
AttachmentEntity attachment = CommandContextUtil.getAttachmentEntityManager().create();
attachment.setName(attachmentName);
attachment.setProcessInstanceId(processInstanceId);
attachment.setTaskId(taskId);
attachment.setDescription(attachmentDescription);
attachment.setType(attachmentType);
attachment.setUrl(url);
implementationMissing(false);
//attachment.setUserId(Authentication.getAuthenticatedUserId());
attachment.setTime(CommandContextUtil.getProcessEngineConfiguration(commandContext).getClock().getCurrentTime());
CommandContextUtil.getAttachmentEntityManager().insert(attachment, false);
if (content !is null) {
implementationMissing(false);
//byte[] bytes = IoUtil.readInputStream(content, attachmentName);
//ByteArrayEntity byteArray = CommandContextUtil.getByteArrayEntityManager().create();
//byteArray.setBytes(bytes);
//CommandContextUtil.getByteArrayEntityManager().insert(byteArray);
//attachment.setContentId(byteArray.getId());
//attachment.setContent(byteArray);
}
ExecutionEntity processInstance = null;
if (processInstanceId !is null && processInstanceId.length != 0) {
processInstance = CommandContextUtil.getExecutionEntityManager().findById(processInstanceId);
}
TaskEntity task = null;
if (taskId !is null && taskId.length != 0) {
task = CommandContextUtil.getTaskService().getTask(taskId);
}
CommandContextUtil.getHistoryManager(commandContext).createAttachmentComment(task, processInstance, attachmentName, true);
FlowableEventDispatcher eventDispatcher = CommandContextUtil.getProcessEngineConfiguration(commandContext).getEventDispatcher();
if (eventDispatcher !is null && eventDispatcher.isEnabled()) {
// Forced to fetch the process-instance to associate the right
// process definition
string processDefinitionId = null;
if (attachment.getProcessInstanceId() !is null && attachment.getProcessInstanceId().length != 0) {
ExecutionEntity process = CommandContextUtil.getExecutionEntityManager(commandContext).findById(processInstanceId);
if (process !is null) {
processDefinitionId = process.getProcessDefinitionId();
}
}
eventDispatcher
.dispatchEvent(FlowableEventBuilder.createEntityEvent(FlowableEngineEventType.ENTITY_CREATED, cast(Object)attachment, processInstanceId, processInstanceId, processDefinitionId));
eventDispatcher
.dispatchEvent(FlowableEventBuilder.createEntityEvent(FlowableEngineEventType.ENTITY_INITIALIZED, cast(Object)attachment, processInstanceId, processInstanceId, processDefinitionId));
}
return attachment;
}
protected TaskEntity verifyTaskParameters(CommandContext commandContext) {
TaskEntity task = CommandContextUtil.getTaskService().getTask(taskId);
if (task is null) {
throw new FlowableObjectNotFoundException("Cannot find task with id " ~ taskId);
}
if (task.isSuspended()) {
throw new FlowableException("It is not allowed to add an attachment to a suspended task");
}
return task;
}
protected ExecutionEntity verifyExecutionParameters(CommandContext commandContext) {
ExecutionEntity execution = CommandContextUtil.getExecutionEntityManager(commandContext).findById(processInstanceId);
if (execution is null) {
throw new FlowableObjectNotFoundException("Process instance " ~ processInstanceId ~ " doesn't exist");
}
if (execution.isSuspended()) {
throw new FlowableException("It is not allowed to add an attachment to a suspended process instance");
}
return execution;
}
}
|
D
|
*/5 * * * * munin if [ -x /usr/bin/munin-cron ]; then /usr/bin/munin-cron --config /etc/munin-json/munin.conf; fi
|
D
|
module material.transitiontable;
import gamelib.all;
class TransitionTable{
WipeTransition roll;
WipeTransition left_blind;
WipeTransition right_blind;
WipeTransition fade;
WipeTransition mist;
WipeTransition water;
WipeTransition lines;
WipeTransition test;
SurfaceTransition cross;
SurfaceTransition blend;
this(Screen screen){
TileDrawer[string] tdr = create_tile_drawer();
TileDiffusion[string] tdf = create_tile_diffusion();
roll = tileWipeTransition(screen,
new RollingTileDrawer(RotationDirection.left,1),
new CircleOutTileDiffusion,
16, 16, 0.2, 0.5);
left_blind = verticalWipeTransition(screen,
new DirectTileDrawer(Direction8.L),
new DirectTileDiffusion(Direction8.L),
10, 0.2, 0.5);
right_blind = verticalWipeTransition(screen,
new DirectTileDrawer(Direction8.R),
new DirectTileDiffusion(Direction8.R),
10, 0.2, 0.5);
water = horizonWipeTransition(screen,
new CircleTileDrawer(),
new CircleInTileDiffusion(),
20, 0.2, 0.5);
mist = horizonWipeTransition(screen,
new UnboxTileDrawer(),
new CircleInTileDiffusion(),
10, 0.2, 0.5);
lines = horizonWipeTransition(screen,
tdr["left"], tdr["right"],
tdf["down2"],
2, 0.2, 0.5);
test = tileWipeTransition(screen,
tdr["tl"],
tdf["br"],
16,16, 0.2, 0.5);
cross = new CrossFade(screen);
//if(st !is null){
//blend = new BlendTransition(screen, st.blend, BorderRange.border64);
//}
/+
cft["new'"] = horizonWipeTransition(game.screen,new UnboxTileDrawer(), new CircleOutTileDiffusion(), 10, 0.2, 0.5);
cft["new2"] = cft["left"] /+* cft["new'"]+/ * allWipeTransition(game.screen, new FadeTileDrawer(), 0.2, 0.5);
+/
fade = allWipeTransition(screen, new FadeTileDrawer(), 0.2, 0.5);
}
}
private TileDrawer[string] create_tile_drawer(){
TileDrawer[string] res;
res["left"] = new DirectTileDrawer(Direction8.L);
res["right"] = new DirectTileDrawer(Direction8.R);
res["up"] = new DirectTileDrawer(Direction8.T);
res["down"] = new DirectTileDrawer(Direction8.B);
res["br"] = new DirectTileDrawer(Direction8.BR);
res["bl"] = new DirectTileDrawer(Direction8.BL);
res["tl"] = new DirectTileDrawer(Direction8.TL);
res["tr"] = new DirectTileDrawer(Direction8.TR);
res["fade"] = new FadeTileDrawer;
res["box"] = new BoxTileDrawer;
res["openv"] = new OpenVerticalTileDrawer;
res["closev"] = new CloseVerticalTileDrawer;
return res;
}
private TileDiffusion[string] create_tile_diffusion(){
TileDiffusion[string] res;
res["plain"] = new PlainTileDiffusion;
res["left"] = new DirectTileDiffusion(Direction8.L);
res["right"] = new DirectTileDiffusion(Direction8.R);
res["up"] = new DirectTileDiffusion(Direction8.T);
res["down"] = new DirectTileDiffusion(Direction8.B);
res["tl"] = new DirectTileDiffusion(Direction8.TL);
res["tr"] = new DirectTileDiffusion(Direction8.TR);
res["br"] = new DirectTileDiffusion(Direction8.BR);
res["bl"] = new DirectTileDiffusion(Direction8.BL);
res["left2"] = new DirectTileDiffusion(Direction8.L, 1.5);
res["right2"] = new DirectTileDiffusion(Direction8.R, 1.5);
res["up2"] = new DirectTileDiffusion(Direction8.T, 1.5);
res["down2"] = new DirectTileDiffusion(Direction8.B, 1.5);
return res;
}
|
D
|
Sample|Sample|Planed product expense|Actual product expense
|
D
|
// Copyright (C) 2014 Tudor Berariu
//
// 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 3 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, see <http://www.gnu.org/licenses/>.
import std.stdio;
import std.string;
import std.getopt;
import std.conv;
import std.random;
import std.socket;
import utils.continuous_line_splitter;
Random gen;
float[char] readProbabilities(string inFileName) {
float[char] d;
float sum = 0.0f;
string line;
File inFile = File(inFileName, "r");
while ((line = inFile.readln()) !is null) {
line = line.chomp();
string[] parts = line.split();
assert(parts.length == 2);
immutable float value = to!float(parts[1]);
d[to!(char)(parts[0][0])] = value;
sum += value;
}
inFile.close();
assert(sum > 0.999);
return d;
}
char getNextBrick(float[char] d) {
float a = uniform(0.0f, 1.0f, gen);
float s = 0;
foreach (c, v; d) {
s += v;
if (s >= a) {
return c;
}
}
return d.keys()[d.length-1];
}
void printHelp(string name) {
writeln("Usage: ", name, " [options]");
writeln("--port P \t",
"Connect to game server on port P (default is 9923)");
writeln("--help \t",
"Displays this message");
writeln("--in-file F \t",
"Read probabilities from file F (default is 'distributions/dist1'");
}
void main(string[] args) {
alias CLS = ContinuousLineSplitter!(char[]);
ushort port = 9923;
string inFile = "distributions/dist1";
bool help = false;
getopt(args, "port", &port, "in-file", &inFile);
debug {
writeln("port=", port);
writeln("in-file=", inFile);
writeln("help=", help);
}
if (help) {
printHelp(args[0]);
return;
}
gen.seed(unpredictableSeed);
float[char] dist = readProbabilities(inFile);
Socket socket = new TcpSocket();
socket.connect(new InternetAddress(to!(char[])(Socket.hostName), port));
socket.send("BRICKMAKER\n");
CLS cls = new CLS();
char[1024] buf;
auto l = socket.receive(buf);
cls.addText(buf[0 .. l]);
while (!cls.hasLine()) {
l = socket.receive(buf);
cls.addText(buf[0 .. l]);
}
string firstLine = cls.getLine();
if (cls.hasLine) {
cls.getLine();
char[] msg = to!(char[])([]) ~ getNextBrick(dist) ~ "\n";
socket.send(msg);
}
l = socket.receive(buf);
while (l > 0) {
cls.addText(buf[0 .. l]);
if (cls.hasLine()) {
string line = cls.getLine();
if (line.indexOf("GAME OVER") == -1) {
char[] msg = to!(char[])([]) ~ getNextBrick(dist) ~ "\n";
socket.send(msg);
}
}
l = socket.receive(buf);
}
return;
}
|
D
|
module webkit2webextension.ScriptWorld;
private import glib.ConstructionException;
private import glib.Str;
private import gobject.ObjectG;
private import gobject.Signals;
private import std.algorithm;
private import webkit2webextension.Frame;
private import webkit2webextension.WebPage;
private import webkit2webextension.c.functions;
public import webkit2webextension.c.types;
/** */
public class ScriptWorld : ObjectG
{
/** the main Gtk struct */
protected WebKitScriptWorld* webKitScriptWorld;
/** Get the main Gtk struct */
public WebKitScriptWorld* getScriptWorldStruct(bool transferOwnership = false)
{
if (transferOwnership)
ownedRef = false;
return webKitScriptWorld;
}
/** the main Gtk struct as a void* */
protected override void* getStruct()
{
return cast(void*)webKitScriptWorld;
}
/**
* Sets our main struct and passes it to the parent class.
*/
public this (WebKitScriptWorld* webKitScriptWorld, bool ownedRef = false)
{
this.webKitScriptWorld = webKitScriptWorld;
super(cast(GObject*)webKitScriptWorld, ownedRef);
}
/** */
public static GType getType()
{
return webkit_script_world_get_type();
}
/**
* Creates a new isolated #WebKitScriptWorld. Scripts executed in
* isolated worlds have access to the DOM but not to other variable
* or functions created by the page.
* The #WebKitScriptWorld is created with a generated unique name. Use
* webkit_script_world_new_with_name() if you want to create it with a
* custom name.
* You can get the JavaScript execution context of a #WebKitScriptWorld
* for a given #WebKitFrame with webkit_frame_get_javascript_context_for_script_world().
*
* Returns: a new isolated #WebKitScriptWorld
*
* Since: 2.2
*
* Throws: ConstructionException GTK+ fails to create the object.
*/
public this()
{
auto __p = webkit_script_world_new();
if(__p is null)
{
throw new ConstructionException("null returned by new");
}
this(cast(WebKitScriptWorld*) __p, true);
}
/**
* Creates a new isolated #WebKitScriptWorld with a name. Scripts executed in
* isolated worlds have access to the DOM but not to other variable
* or functions created by the page.
* You can get the JavaScript execution context of a #WebKitScriptWorld
* for a given #WebKitFrame with webkit_frame_get_javascript_context_for_script_world().
*
* Params:
* name = a name for the script world
*
* Returns: a new isolated #WebKitScriptWorld
*
* Since: 2.22
*
* Throws: ConstructionException GTK+ fails to create the object.
*/
public this(string name)
{
auto __p = webkit_script_world_new_with_name(Str.toStringz(name));
if(__p is null)
{
throw new ConstructionException("null returned by new_with_name");
}
this(cast(WebKitScriptWorld*) __p, true);
}
/**
* Get the default #WebKitScriptWorld. This is the normal script world
* where all scripts are executed by default.
* You can get the JavaScript execution context of a #WebKitScriptWorld
* for a given #WebKitFrame with webkit_frame_get_javascript_context_for_script_world().
*
* Returns: the default #WebKitScriptWorld
*
* Since: 2.2
*/
public static ScriptWorld getDefault()
{
auto __p = webkit_script_world_get_default();
if(__p is null)
{
return null;
}
return ObjectG.getDObject!(ScriptWorld)(cast(WebKitScriptWorld*) __p);
}
/**
* Get the name of a #WebKitScriptWorld.
*
* Returns: the name of @world
*
* Since: 2.22
*/
public string getName()
{
return Str.toString(webkit_script_world_get_name(webKitScriptWorld));
}
/**
* Emitted when the JavaScript window object in a #WebKitScriptWorld has been
* cleared. This is the preferred place to set custom properties on the window
* object using the JavaScriptCore API. You can get the window object of @frame
* from the JavaScript execution context of @world that is returned by
* webkit_frame_get_js_context_for_script_world().
*
* Params:
* page = a #WebKitWebPage
* frame = the #WebKitFrame to which @world belongs
*
* Since: 2.2
*/
gulong addOnWindowObjectCleared(void delegate(WebPage, Frame, ScriptWorld) dlg, ConnectFlags connectFlags=cast(ConnectFlags)0)
{
return Signals.connect(this, "window-object-cleared", dlg, connectFlags ^ ConnectFlags.SWAPPED);
}
}
|
D
|
module engine.primitives;
import dplug.math.vector;
/// Vertex data
struct Vertex
{
vec3f position = vec3f(0,0,0);
vec2f texture = vec2f(0,0);
}
|
D
|
free from harm or penalty
|
D
|
module basics.init;
import derelict.enet.enet;
import basics.alleg5;
import basics.cmdargs;
import basics.globals;
import basics.globconf;
import basics.user;
import file.language;
import file.filename;
import game.mask;
import game.physdraw;
import graphic.color;
import graphic.internal;
import gui.context;
import gui.root;
import hardware.display;
import hardware.keyboard;
import hardware.mouse;
import hardware.mousecur;
import hardware.sound;
import hardware.music;
import hardware.tharsis;
import tile.tilelib;
static import file.log;
/* void initialize(cmdargs);
* void deinitialize();
* Routines to initialize and deinitialize most things before/after
* the main loop runs. Some have module constructors (static this()),
* but modules using Allegro need to be initialized from here.
*/
void initialize(in Cmdargs cmdargs)
{
// ph == need physics, may or may not need graphics.
// gr == need graphics, may or may not need physics.
immutable ia = cmdargs.mode == Runmode.INTERACTIVE;
immutable ph = cmdargs.mode == Runmode.VERIFY || ia;
immutable gr = cmdargs.mode == Runmode.EXPORT_IMAGES || ia;
if (ia) basics.alleg5.initializeInteractive();
else basics.alleg5.initializeNoninteractive();
file.filename.initialize(); // the virtual filesystem
file.log.initialize();
if (gr) basics.globconf.load();
if (gr) basics.user.load();
if (gr) loadUserLanguageAndIfNotExistSetUserOptionToEnglish();
al_init_image_addon();
al_init_font_addon();
al_init_ttf_addon();
al_init_primitives_addon();
hardware.tharsis.initialize();
if (ia) hardware.display.setScreenMode(cmdargs);
if (ia) hardware.keyboard.initialize();
if (ia) hardware.mouse.initialize();
if (ia) hardware.sound.initialize();
graphic.color.initialize();
graphic.internal.initialize(cmdargs.mode);
if (ph) game.mask.initialize();
if (ia) game.physdraw.initialize();
if (ia) hardware.mousecur.initialize();
if (ia) initializeGUI();
tile.tilelib.initialize();
}
void deinitialize()
{
// We don't deinitialize much. It should be okay to leak at end of
// application on any modern OS, it makes for faster exiting.
hardware.tharsis.deinitialize();
basics.user.save();
basics.globconf.save();
// If we don't abort music, Linux Lix crashes on exit.
// Several places lead into basics.init.deinitialize: Clicking the X
// in the windowmanager-window's corner, pressing Shift+ESC, exiting
// from the main menu.
// Sending sigint or sigterm to Lix doesn't go here, instead crashes.
// Maybe I should register deinitialize by atexit or install signal
// handlers?
hardware.music.deinitialize();
}
private void initializeGUI()
{
assert (display);
immutable xl = al_get_display_width(display);
immutable yl = al_get_display_height(display);
gui.context.initialize(xl, yl);
gui.root.initialize(xl, yl);
graphic.internal.initializeScale(gui.stretchFactor);
}
|
D
|
module ws.wm.win32.api;
public import
derelict.opengl3.gl3,
core.sys.windows.windows;
__gshared:
version(Windows):
extern(Windows){
alias WindowHandle = HWND;
alias Context = HGLRC;
struct Event {
UINT msg;
WPARAM wpar;
LPARAM lpar;
}
struct RAWMOUSE {
USHORT usFlags;
union {
ULONG ulButtons;
struct {
USHORT usButtonFlags;
USHORT usButtonData;
};
};
ULONG ulRawButtons;
LONG lLastX;
LONG lLastY;
ULONG ulExtraInformation;
}
struct RAWKEYBOARD {
USHORT MakeCode;
USHORT Flags;
USHORT Reserved;
USHORT VKey;
UINT Message;
ULONG ExtraInformation;
}
struct RAWHID {
DWORD dwSizeHid;
DWORD dwCount;
BYTE[1] bRawData;
}
struct RAWINPUTHEADER {
DWORD dwType;
DWORD dwSize;
HANDLE hDevice;
WPARAM wParam;
}
struct RAWINPUT {
RAWINPUTHEADER header;
union {
RAWMOUSE mouse;
RAWKEYBOARD keyboard;
RAWHID hid;
}
}
alias RAWINPUT* HRAWINPUT;
UINT GetRawInputData(
HRAWINPUT hRawInput,
UINT uiCommand,
LPVOID pData,
PUINT pcbSize,
UINT cbSizeHeader
);
BOOL RegisterRawInputDevices(RAWINPUTDEVICE* pRawInputDevices, UINT uiNumDevices, UINT cbSize);
const int WM_INPUT = 0x00FF;
const int RID_INPUT = 0x10000003;
const int RIM_TYPEMOUSE = 0;
const int RIDEV_INPUTSINK = 0x00000100;
HWND GetTopWindow(void*);
HWND GetWindow(void*, uint);
int GetWindowTextW(HWND, LPWSTR, int);
DWORD GetWindowThreadProcessId(HWND, DWORD*);
void SwitchToThisWindow(HWND, BOOL);
alias nothrow BOOL function(HDC, const(int)*, const(FLOAT)*, UINT, int*, UINT*) T_wglChoosePixelFormatARB;
alias nothrow HGLRC function(HDC, HGLRC, const(int)*) T_wglCreateContextAttribsARB;
nothrow BOOL SetWindowTextW(HWND,LPCWSTR);
nothrow HANDLE CreateWindowExW(DWORD,LPCWSTR,LPCWSTR,DWORD,int,int,int,int,HWND,HMENU,HINSTANCE,LPVOID);
nothrow LRESULT DefWindowProcW(HWND,UINT,WPARAM,LPARAM);
DWORD SetClassLongW(HWND,int,LONG);
int ChoosePixelFormat(HDC, const PIXELFORMATDESCRIPTOR*);
int DestroyWindow(void*);
uint glewInit();
BOOL SwapBuffers(HDC);
ATOM RegisterClassW(const(WNDCLASSW)*);
struct WNDCLASSW {
uint style;
WNDPROC lpfnWndProc;
int cbClsExtra;
int cbWndExtra;
HINSTANCE hInstance;
HICON hIcon;
HCURSOR hCursor;
HBRUSH hbrBackground;
LPCWSTR lpszMenuName;
LPCWSTR lpszClassName;
}
BOOL SendNotifyMessageA(HWND,UINT,WPARAM,LPARAM);
struct TRACKMOUSEEVENT {
DWORD cbSize;
DWORD dwFlags;
HWND hwndTrack;
DWORD dwHoverTime;
};
struct RAWINPUTDEVICE {
USHORT usUsagePage;
USHORT usUsage;
DWORD dwFlags;
HWND hwndTarget;
}
BOOL TrackMouseEvent(TRACKMOUSEEVENT*);
const int WM_MOUSELEAVE = 0x2A3;
const int WM_MOUSEWHEEL = 522;
int GET_WHEEL_DELTA_WPARAM(WPARAM w){
return (cast(WORD)(((cast(DWORD)w)>>16)&0xFFFF));
}
int GET_X_LPARAM(LPARAM l){
return (cast(int)cast(short)(cast(WORD)(cast(DWORD)l)));
}
int GET_Y_LPARAM(LPARAM l){
return (cast(int)(cast(WORD)((cast(DWORD)l>>16)&0xFFFF)));
}
short GetKeyState(int nVirtKey);
HWND FindWindowW(LPCWSTR lpClassName, LPCWSTR lpWindowName);
BOOL PostMessageA(
HWND hWnd,
UINT Msg,
WPARAM wParam,
LPARAM lParam
);
}
|
D
|
/*
TEST_OUTPUT:
---
fail_compilation/diag7747.d(8): Error: forward reference to inferred return type of function call 'fact(n - 1)'
---
*/
auto fact(int n) { return n > 1 ? fact(n - 1) : 0; }
void main()
{
fact(1);
}
|
D
|
/Users/varun/Documents/2015Desktop/SwiftAdventures/Ingenium/build/Ingenium.build/Release-iphonesimulator/Ingenium.build/Objects-normal/i386/TransitionZoom.o : /Users/varun/Documents/2015Desktop/SwiftAdventures/Ingenium/Ingenium/TutorDetailVC.swift /Users/varun/Documents/2015Desktop/SwiftAdventures/Ingenium/Ingenium/Spring/SpringLabel.swift /Users/varun/Documents/2015Desktop/SwiftAdventures/Ingenium/Ingenium/Spring/ImageLoader.swift /Users/varun/Documents/2015Desktop/SwiftAdventures/Ingenium/Ingenium/Spring/Misc.swift /Users/varun/Documents/2015Desktop/SwiftAdventures/Ingenium/Ingenium/Spring/DesignableImageView.swift /Users/varun/Documents/2015Desktop/SwiftAdventures/Ingenium/Ingenium/Spring/SpringImageView.swift /Users/varun/Documents/2015Desktop/SwiftAdventures/Ingenium/Ingenium/ViewController.swift /Users/varun/Documents/2015Desktop/SwiftAdventures/Ingenium/Ingenium/Spring/SoundPlayer.swift /Users/varun/Documents/2015Desktop/SwiftAdventures/Ingenium/Ingenium/Spring/SpringTextView.swift /Users/varun/Documents/2015Desktop/SwiftAdventures/Ingenium/Ingenium/AppDelegate.swift /Users/varun/Documents/2015Desktop/SwiftAdventures/Ingenium/Ingenium/addHotspotVC.swift /Users/varun/Documents/2015Desktop/SwiftAdventures/Ingenium/Ingenium/Spring/DesignableView.swift /Users/varun/Documents/2015Desktop/SwiftAdventures/Ingenium/Ingenium/Spring/SpringAnimation.swift /Users/varun/Documents/2015Desktop/SwiftAdventures/Ingenium/Ingenium/CosmosDistrib.swift /Users/varun/Documents/2015Desktop/SwiftAdventures/Ingenium/Ingenium/Spring/Spring.swift /Users/varun/Documents/2015Desktop/SwiftAdventures/Ingenium/Ingenium/Spring/LoadingView.swift /Users/varun/Documents/2015Desktop/SwiftAdventures/Ingenium/Ingenium/Spring/SpringTextField.swift /Users/varun/Documents/2015Desktop/SwiftAdventures/Ingenium/Ingenium/NearbyTutorsVC.swift /Users/varun/Documents/2015Desktop/SwiftAdventures/Ingenium/Ingenium/Spring/DesignableButton.swift /Users/varun/Documents/2015Desktop/SwiftAdventures/Ingenium/Ingenium/Spring/DesignableTextField.swift /Users/varun/Documents/2015Desktop/SwiftAdventures/Ingenium/Ingenium/Spring/AsyncButton.swift /Users/varun/Documents/2015Desktop/SwiftAdventures/Ingenium/Ingenium/Spring/KeyboardLayoutConstraint.swift /Users/varun/Documents/2015Desktop/SwiftAdventures/Ingenium/Ingenium/Spring/SpringButton.swift /Users/varun/Documents/2015Desktop/SwiftAdventures/Ingenium/Ingenium/Spring/AsyncImageView.swift /Users/varun/Documents/2015Desktop/SwiftAdventures/Ingenium/Ingenium/Tutor.swift /Users/varun/Documents/2015Desktop/SwiftAdventures/Ingenium/Ingenium/TutorAnnotation.swift /Users/varun/Documents/2015Desktop/SwiftAdventures/Ingenium/Ingenium/ProfileVC.swift /Users/varun/Documents/2015Desktop/SwiftAdventures/Ingenium/Ingenium/AssignmentVC.swift /Users/varun/Documents/2015Desktop/SwiftAdventures/Ingenium/Ingenium/loginVC.swift /Users/varun/Documents/2015Desktop/SwiftAdventures/Ingenium/Ingenium/Spring/DesignableTabBarController.swift /Users/varun/Documents/2015Desktop/SwiftAdventures/Ingenium/Ingenium/Spring/AutoTextView.swift /Users/varun/Documents/2015Desktop/SwiftAdventures/Ingenium/Ingenium/addAssignmentVC.swift /Users/varun/Documents/2015Desktop/SwiftAdventures/Ingenium/Ingenium/Action.swift /Users/varun/Documents/2015Desktop/SwiftAdventures/Ingenium/Ingenium/Spring/DesignableTextView.swift /Users/varun/Documents/2015Desktop/SwiftAdventures/Ingenium/Ingenium/Spring/DesignableLabel.swift /Users/varun/Documents/2015Desktop/SwiftAdventures/Ingenium/Ingenium/Spring/UnwindSegue.swift /Users/varun/Documents/2015Desktop/SwiftAdventures/Ingenium/Ingenium/Assignment.swift /Users/varun/Documents/2015Desktop/SwiftAdventures/Ingenium/Ingenium/Spring/TransitionManager.swift /Users/varun/Documents/2015Desktop/SwiftAdventures/Ingenium/Ingenium/Spring/BlurView.swift /Users/varun/Documents/2015Desktop/SwiftAdventures/Ingenium/Ingenium/Spring/SpringView.swift /Users/varun/Documents/2015Desktop/SwiftAdventures/Ingenium/Ingenium/Spring/TransitionZoom.swift /Users/varun/Documents/2015Desktop/SwiftAdventures/Ingenium/Ingenium/FBObject.swift /Users/varun/Documents/2015Desktop/SwiftAdventures/Ingenium/Ingenium/MapViewVC.swift /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/i386/Swift.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/i386/UIKit.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/i386/Foundation.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/i386/Darwin.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/i386/Dispatch.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/i386/ObjectiveC.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/i386/CoreGraphics.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/i386/CoreImage.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/i386/CoreLocation.swiftmodule /Users/varun/Documents/2015Desktop/SwiftAdventures/Ingenium/Ingenium/Bolts.framework/Headers/BFWebViewAppLinkResolver.h /Users/varun/Documents/2015Desktop/SwiftAdventures/Ingenium/Ingenium/Bolts.framework/Headers/BFURL.h /Users/varun/Documents/2015Desktop/SwiftAdventures/Ingenium/Ingenium/Bolts.framework/Headers/BFMeasurementEvent.h /Users/varun/Documents/2015Desktop/SwiftAdventures/Ingenium/Ingenium/Bolts.framework/Headers/BFAppLinkTarget.h /Users/varun/Documents/2015Desktop/SwiftAdventures/Ingenium/Ingenium/Bolts.framework/Headers/BFAppLinkReturnToRefererView.h /Users/varun/Documents/2015Desktop/SwiftAdventures/Ingenium/Ingenium/Bolts.framework/Headers/BFAppLinkReturnToRefererController.h /Users/varun/Documents/2015Desktop/SwiftAdventures/Ingenium/Ingenium/Bolts.framework/Headers/BFAppLinkResolving.h /Users/varun/Documents/2015Desktop/SwiftAdventures/Ingenium/Ingenium/Bolts.framework/Headers/BFAppLinkNavigation.h /Users/varun/Documents/2015Desktop/SwiftAdventures/Ingenium/Ingenium/Bolts.framework/Headers/BFAppLink.h /Users/varun/Documents/2015Desktop/SwiftAdventures/Ingenium/Ingenium/Bolts.framework/Headers/BFTaskCompletionSource.h /Users/varun/Documents/2015Desktop/SwiftAdventures/Ingenium/Ingenium/Bolts.framework/Headers/BFTask.h /Users/varun/Documents/2015Desktop/SwiftAdventures/Ingenium/Ingenium/Bolts.framework/Headers/BFExecutor.h /Users/varun/Documents/2015Desktop/SwiftAdventures/Ingenium/Ingenium/Bolts.framework/Headers/BFDefines.h /Users/varun/Documents/2015Desktop/SwiftAdventures/Ingenium/Ingenium/Bolts.framework/Headers/BFCancellationTokenSource.h /Users/varun/Documents/2015Desktop/SwiftAdventures/Ingenium/Ingenium/Bolts.framework/Headers/BFCancellationTokenRegistration.h /Users/varun/Documents/2015Desktop/SwiftAdventures/Ingenium/Ingenium/Bolts.framework/Headers/BFCancellationToken.h /Users/varun/Documents/2015Desktop/SwiftAdventures/Ingenium/Ingenium/Bolts.framework/Headers/BoltsVersion.h /Users/varun/Documents/2015Desktop/SwiftAdventures/Ingenium/Ingenium/Bolts.framework/Headers/Bolts.h /Users/varun/Documents/2015Desktop/SwiftAdventures/Ingenium/Ingenium/Bolts.framework/Modules/module.modulemap /Users/varun/Documents/2015Desktop/SwiftAdventures/Ingenium/Ingenium/Parse.framework/Headers/PFPurchase.h /Users/varun/Documents/2015Desktop/SwiftAdventures/Ingenium/Ingenium/Parse.framework/Headers/PFProduct.h /Users/varun/Documents/2015Desktop/SwiftAdventures/Ingenium/Ingenium/Parse.framework/Headers/PFPush.h /Users/varun/Documents/2015Desktop/SwiftAdventures/Ingenium/Ingenium/Parse.framework/Headers/PFNetworkActivityIndicatorManager.h /Users/varun/Documents/2015Desktop/SwiftAdventures/Ingenium/Ingenium/Parse.framework/Headers/PFInstallation.h /Users/varun/Documents/2015Desktop/SwiftAdventures/Ingenium/Ingenium/Parse.framework/Headers/PFUserAuthenticationDelegate.h /Users/varun/Documents/2015Desktop/SwiftAdventures/Ingenium/Ingenium/Parse.framework/Headers/PFSession.h /Users/varun/Documents/2015Desktop/SwiftAdventures/Ingenium/Ingenium/Parse.framework/Headers/PFRole.h /Users/varun/Documents/2015Desktop/SwiftAdventures/Ingenium/Ingenium/Parse.framework/Headers/PFRelation.h /Users/varun/Documents/2015Desktop/SwiftAdventures/Ingenium/Ingenium/Parse.framework/Headers/PFQuery.h /Users/varun/Documents/2015Desktop/SwiftAdventures/Ingenium/Ingenium/Parse.framework/Headers/PFObject+Subclass.h /Users/varun/Documents/2015Desktop/SwiftAdventures/Ingenium/Ingenium/Parse.framework/Headers/PFGeoPoint.h /Users/varun/Documents/2015Desktop/SwiftAdventures/Ingenium/Ingenium/Parse.framework/Headers/PFFile.h /Users/varun/Documents/2015Desktop/SwiftAdventures/Ingenium/Ingenium/Parse.framework/Headers/PFConfig.h /Users/varun/Documents/2015Desktop/SwiftAdventures/Ingenium/Ingenium/Parse.framework/Headers/PFCloud.h /Users/varun/Documents/2015Desktop/SwiftAdventures/Ingenium/Ingenium/Parse.framework/Headers/PFSubclassing.h /Users/varun/Documents/2015Desktop/SwiftAdventures/Ingenium/Ingenium/Parse.framework/Headers/PFObject.h /Users/varun/Documents/2015Desktop/SwiftAdventures/Ingenium/Ingenium/Parse.framework/Headers/PFUser.h /Users/varun/Documents/2015Desktop/SwiftAdventures/Ingenium/Ingenium/Parse.framework/Headers/PFAnonymousUtils.h /Users/varun/Documents/2015Desktop/SwiftAdventures/Ingenium/Ingenium/Parse.framework/Headers/PFConstants.h /Users/varun/Documents/2015Desktop/SwiftAdventures/Ingenium/Ingenium/Parse.framework/Headers/PFAnalytics.h /Users/varun/Documents/2015Desktop/SwiftAdventures/Ingenium/Ingenium/Parse.framework/Headers/PFACL.h /Users/varun/Documents/2015Desktop/SwiftAdventures/Ingenium/Ingenium/Parse.framework/Headers/Parse.h /Users/varun/Documents/2015Desktop/SwiftAdventures/Ingenium/Ingenium/Parse.framework/Modules/module.modulemap /Users/varun/Documents/2015Desktop/SwiftAdventures/Ingenium/Ingenium/FBSDKCoreKit.framework/Headers/FBSDKProfilePictureView.h /Users/varun/Documents/2015Desktop/SwiftAdventures/Ingenium/Ingenium/FBSDKCoreKit.framework/Headers/FBSDKProfile.h /Users/varun/Documents/2015Desktop/SwiftAdventures/Ingenium/Ingenium/FBSDKCoreKit.framework/Headers/FBSDKMutableCopying.h /Users/varun/Documents/2015Desktop/SwiftAdventures/Ingenium/Ingenium/FBSDKCoreKit.framework/Headers/FBSDKGraphErrorRecoveryProcessor.h /Users/varun/Documents/2015Desktop/SwiftAdventures/Ingenium/Ingenium/FBSDKCoreKit.framework/Headers/FBSDKAppLinkUtility.h /Users/varun/Documents/2015Desktop/SwiftAdventures/Ingenium/Ingenium/FBSDKCoreKit.framework/Headers/FBSDKAppLinkResolver.h /Users/varun/Documents/2015Desktop/SwiftAdventures/Ingenium/Ingenium/FBSDKCoreKit.framework/Headers/FBSDKUtility.h /Users/varun/Documents/2015Desktop/SwiftAdventures/Ingenium/Ingenium/FBSDKCoreKit.framework/Headers/FBSDKTestUsersManager.h /Users/varun/Documents/2015Desktop/SwiftAdventures/Ingenium/Ingenium/FBSDKCoreKit.framework/Headers/FBSDKSettings.h /Users/varun/Documents/2015Desktop/SwiftAdventures/Ingenium/Ingenium/FBSDKCoreKit.framework/Headers/FBSDKGraphRequestDataAttachment.h /Users/varun/Documents/2015Desktop/SwiftAdventures/Ingenium/Ingenium/FBSDKCoreKit.framework/Headers/FBSDKGraphRequest.h /Users/varun/Documents/2015Desktop/SwiftAdventures/Ingenium/Ingenium/FBSDKCoreKit.framework/Headers/FBSDKConstants.h /Users/varun/Documents/2015Desktop/SwiftAdventures/Ingenium/Ingenium/FBSDKCoreKit.framework/Headers/FBSDKButton.h /Users/varun/Documents/2015Desktop/SwiftAdventures/Ingenium/Ingenium/FBSDKCoreKit.framework/Headers/FBSDKApplicationDelegate.h /Users/varun/Documents/2015Desktop/SwiftAdventures/Ingenium/Ingenium/FBSDKCoreKit.framework/Headers/FBSDKAppEvents.h /Users/varun/Documents/2015Desktop/SwiftAdventures/Ingenium/Ingenium/FBSDKCoreKit.framework/Headers/FBSDKMacros.h /Users/varun/Documents/2015Desktop/SwiftAdventures/Ingenium/Ingenium/FBSDKCoreKit.framework/Headers/FBSDKGraphRequestConnection.h /Users/varun/Documents/2015Desktop/SwiftAdventures/Ingenium/Ingenium/FBSDKCoreKit.framework/Headers/FBSDKCopying.h /Users/varun/Documents/2015Desktop/SwiftAdventures/Ingenium/Ingenium/FBSDKCoreKit.framework/Headers/FBSDKAccessToken.h /Users/varun/Documents/2015Desktop/SwiftAdventures/Ingenium/Ingenium/FBSDKCoreKit.framework/Headers/FBSDKCoreKit.h /Users/varun/Documents/2015Desktop/SwiftAdventures/Ingenium/Ingenium/FBSDKCoreKit.framework/Modules/module.modulemap /Users/varun/Documents/2015Desktop/SwiftAdventures/Ingenium/Ingenium/FBSDKLoginKit.framework/Headers/FBSDKLoginTooltipView.h /Users/varun/Documents/2015Desktop/SwiftAdventures/Ingenium/Ingenium/FBSDKLoginKit.framework/Headers/FBSDKLoginManagerLoginResult.h /Users/varun/Documents/2015Desktop/SwiftAdventures/Ingenium/Ingenium/FBSDKLoginKit.framework/Headers/FBSDKLoginConstants.h /Users/varun/Documents/2015Desktop/SwiftAdventures/Ingenium/Ingenium/FBSDKLoginKit.framework/Headers/FBSDKTooltipView.h /Users/varun/Documents/2015Desktop/SwiftAdventures/Ingenium/Ingenium/FBSDKLoginKit.framework/Headers/FBSDKLoginManager.h /Users/varun/Documents/2015Desktop/SwiftAdventures/Ingenium/Ingenium/FBSDKLoginKit.framework/Headers/FBSDKLoginButton.h /Users/varun/Documents/2015Desktop/SwiftAdventures/Ingenium/Ingenium/FBSDKLoginKit.framework/Headers/FBSDKLoginKit.h /Users/varun/Documents/2015Desktop/SwiftAdventures/Ingenium/Ingenium/FBSDKLoginKit.framework/Modules/module.modulemap /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/i386/CoreAudio.swiftmodule
/Users/varun/Documents/2015Desktop/SwiftAdventures/Ingenium/build/Ingenium.build/Release-iphonesimulator/Ingenium.build/Objects-normal/i386/TransitionZoom~partial.swiftmodule : /Users/varun/Documents/2015Desktop/SwiftAdventures/Ingenium/Ingenium/TutorDetailVC.swift /Users/varun/Documents/2015Desktop/SwiftAdventures/Ingenium/Ingenium/Spring/SpringLabel.swift /Users/varun/Documents/2015Desktop/SwiftAdventures/Ingenium/Ingenium/Spring/ImageLoader.swift /Users/varun/Documents/2015Desktop/SwiftAdventures/Ingenium/Ingenium/Spring/Misc.swift /Users/varun/Documents/2015Desktop/SwiftAdventures/Ingenium/Ingenium/Spring/DesignableImageView.swift /Users/varun/Documents/2015Desktop/SwiftAdventures/Ingenium/Ingenium/Spring/SpringImageView.swift /Users/varun/Documents/2015Desktop/SwiftAdventures/Ingenium/Ingenium/ViewController.swift /Users/varun/Documents/2015Desktop/SwiftAdventures/Ingenium/Ingenium/Spring/SoundPlayer.swift /Users/varun/Documents/2015Desktop/SwiftAdventures/Ingenium/Ingenium/Spring/SpringTextView.swift /Users/varun/Documents/2015Desktop/SwiftAdventures/Ingenium/Ingenium/AppDelegate.swift /Users/varun/Documents/2015Desktop/SwiftAdventures/Ingenium/Ingenium/addHotspotVC.swift /Users/varun/Documents/2015Desktop/SwiftAdventures/Ingenium/Ingenium/Spring/DesignableView.swift /Users/varun/Documents/2015Desktop/SwiftAdventures/Ingenium/Ingenium/Spring/SpringAnimation.swift /Users/varun/Documents/2015Desktop/SwiftAdventures/Ingenium/Ingenium/CosmosDistrib.swift /Users/varun/Documents/2015Desktop/SwiftAdventures/Ingenium/Ingenium/Spring/Spring.swift /Users/varun/Documents/2015Desktop/SwiftAdventures/Ingenium/Ingenium/Spring/LoadingView.swift /Users/varun/Documents/2015Desktop/SwiftAdventures/Ingenium/Ingenium/Spring/SpringTextField.swift /Users/varun/Documents/2015Desktop/SwiftAdventures/Ingenium/Ingenium/NearbyTutorsVC.swift /Users/varun/Documents/2015Desktop/SwiftAdventures/Ingenium/Ingenium/Spring/DesignableButton.swift /Users/varun/Documents/2015Desktop/SwiftAdventures/Ingenium/Ingenium/Spring/DesignableTextField.swift /Users/varun/Documents/2015Desktop/SwiftAdventures/Ingenium/Ingenium/Spring/AsyncButton.swift /Users/varun/Documents/2015Desktop/SwiftAdventures/Ingenium/Ingenium/Spring/KeyboardLayoutConstraint.swift /Users/varun/Documents/2015Desktop/SwiftAdventures/Ingenium/Ingenium/Spring/SpringButton.swift /Users/varun/Documents/2015Desktop/SwiftAdventures/Ingenium/Ingenium/Spring/AsyncImageView.swift /Users/varun/Documents/2015Desktop/SwiftAdventures/Ingenium/Ingenium/Tutor.swift /Users/varun/Documents/2015Desktop/SwiftAdventures/Ingenium/Ingenium/TutorAnnotation.swift /Users/varun/Documents/2015Desktop/SwiftAdventures/Ingenium/Ingenium/ProfileVC.swift /Users/varun/Documents/2015Desktop/SwiftAdventures/Ingenium/Ingenium/AssignmentVC.swift /Users/varun/Documents/2015Desktop/SwiftAdventures/Ingenium/Ingenium/loginVC.swift /Users/varun/Documents/2015Desktop/SwiftAdventures/Ingenium/Ingenium/Spring/DesignableTabBarController.swift /Users/varun/Documents/2015Desktop/SwiftAdventures/Ingenium/Ingenium/Spring/AutoTextView.swift /Users/varun/Documents/2015Desktop/SwiftAdventures/Ingenium/Ingenium/addAssignmentVC.swift /Users/varun/Documents/2015Desktop/SwiftAdventures/Ingenium/Ingenium/Action.swift /Users/varun/Documents/2015Desktop/SwiftAdventures/Ingenium/Ingenium/Spring/DesignableTextView.swift /Users/varun/Documents/2015Desktop/SwiftAdventures/Ingenium/Ingenium/Spring/DesignableLabel.swift /Users/varun/Documents/2015Desktop/SwiftAdventures/Ingenium/Ingenium/Spring/UnwindSegue.swift /Users/varun/Documents/2015Desktop/SwiftAdventures/Ingenium/Ingenium/Assignment.swift /Users/varun/Documents/2015Desktop/SwiftAdventures/Ingenium/Ingenium/Spring/TransitionManager.swift /Users/varun/Documents/2015Desktop/SwiftAdventures/Ingenium/Ingenium/Spring/BlurView.swift /Users/varun/Documents/2015Desktop/SwiftAdventures/Ingenium/Ingenium/Spring/SpringView.swift /Users/varun/Documents/2015Desktop/SwiftAdventures/Ingenium/Ingenium/Spring/TransitionZoom.swift /Users/varun/Documents/2015Desktop/SwiftAdventures/Ingenium/Ingenium/FBObject.swift /Users/varun/Documents/2015Desktop/SwiftAdventures/Ingenium/Ingenium/MapViewVC.swift /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/i386/Swift.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/i386/UIKit.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/i386/Foundation.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/i386/Darwin.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/i386/Dispatch.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/i386/ObjectiveC.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/i386/CoreGraphics.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/i386/CoreImage.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/i386/CoreLocation.swiftmodule /Users/varun/Documents/2015Desktop/SwiftAdventures/Ingenium/Ingenium/Bolts.framework/Headers/BFWebViewAppLinkResolver.h /Users/varun/Documents/2015Desktop/SwiftAdventures/Ingenium/Ingenium/Bolts.framework/Headers/BFURL.h /Users/varun/Documents/2015Desktop/SwiftAdventures/Ingenium/Ingenium/Bolts.framework/Headers/BFMeasurementEvent.h /Users/varun/Documents/2015Desktop/SwiftAdventures/Ingenium/Ingenium/Bolts.framework/Headers/BFAppLinkTarget.h /Users/varun/Documents/2015Desktop/SwiftAdventures/Ingenium/Ingenium/Bolts.framework/Headers/BFAppLinkReturnToRefererView.h /Users/varun/Documents/2015Desktop/SwiftAdventures/Ingenium/Ingenium/Bolts.framework/Headers/BFAppLinkReturnToRefererController.h /Users/varun/Documents/2015Desktop/SwiftAdventures/Ingenium/Ingenium/Bolts.framework/Headers/BFAppLinkResolving.h /Users/varun/Documents/2015Desktop/SwiftAdventures/Ingenium/Ingenium/Bolts.framework/Headers/BFAppLinkNavigation.h /Users/varun/Documents/2015Desktop/SwiftAdventures/Ingenium/Ingenium/Bolts.framework/Headers/BFAppLink.h /Users/varun/Documents/2015Desktop/SwiftAdventures/Ingenium/Ingenium/Bolts.framework/Headers/BFTaskCompletionSource.h /Users/varun/Documents/2015Desktop/SwiftAdventures/Ingenium/Ingenium/Bolts.framework/Headers/BFTask.h /Users/varun/Documents/2015Desktop/SwiftAdventures/Ingenium/Ingenium/Bolts.framework/Headers/BFExecutor.h /Users/varun/Documents/2015Desktop/SwiftAdventures/Ingenium/Ingenium/Bolts.framework/Headers/BFDefines.h /Users/varun/Documents/2015Desktop/SwiftAdventures/Ingenium/Ingenium/Bolts.framework/Headers/BFCancellationTokenSource.h /Users/varun/Documents/2015Desktop/SwiftAdventures/Ingenium/Ingenium/Bolts.framework/Headers/BFCancellationTokenRegistration.h /Users/varun/Documents/2015Desktop/SwiftAdventures/Ingenium/Ingenium/Bolts.framework/Headers/BFCancellationToken.h /Users/varun/Documents/2015Desktop/SwiftAdventures/Ingenium/Ingenium/Bolts.framework/Headers/BoltsVersion.h /Users/varun/Documents/2015Desktop/SwiftAdventures/Ingenium/Ingenium/Bolts.framework/Headers/Bolts.h /Users/varun/Documents/2015Desktop/SwiftAdventures/Ingenium/Ingenium/Bolts.framework/Modules/module.modulemap /Users/varun/Documents/2015Desktop/SwiftAdventures/Ingenium/Ingenium/Parse.framework/Headers/PFPurchase.h /Users/varun/Documents/2015Desktop/SwiftAdventures/Ingenium/Ingenium/Parse.framework/Headers/PFProduct.h /Users/varun/Documents/2015Desktop/SwiftAdventures/Ingenium/Ingenium/Parse.framework/Headers/PFPush.h /Users/varun/Documents/2015Desktop/SwiftAdventures/Ingenium/Ingenium/Parse.framework/Headers/PFNetworkActivityIndicatorManager.h /Users/varun/Documents/2015Desktop/SwiftAdventures/Ingenium/Ingenium/Parse.framework/Headers/PFInstallation.h /Users/varun/Documents/2015Desktop/SwiftAdventures/Ingenium/Ingenium/Parse.framework/Headers/PFUserAuthenticationDelegate.h /Users/varun/Documents/2015Desktop/SwiftAdventures/Ingenium/Ingenium/Parse.framework/Headers/PFSession.h /Users/varun/Documents/2015Desktop/SwiftAdventures/Ingenium/Ingenium/Parse.framework/Headers/PFRole.h /Users/varun/Documents/2015Desktop/SwiftAdventures/Ingenium/Ingenium/Parse.framework/Headers/PFRelation.h /Users/varun/Documents/2015Desktop/SwiftAdventures/Ingenium/Ingenium/Parse.framework/Headers/PFQuery.h /Users/varun/Documents/2015Desktop/SwiftAdventures/Ingenium/Ingenium/Parse.framework/Headers/PFObject+Subclass.h /Users/varun/Documents/2015Desktop/SwiftAdventures/Ingenium/Ingenium/Parse.framework/Headers/PFGeoPoint.h /Users/varun/Documents/2015Desktop/SwiftAdventures/Ingenium/Ingenium/Parse.framework/Headers/PFFile.h /Users/varun/Documents/2015Desktop/SwiftAdventures/Ingenium/Ingenium/Parse.framework/Headers/PFConfig.h /Users/varun/Documents/2015Desktop/SwiftAdventures/Ingenium/Ingenium/Parse.framework/Headers/PFCloud.h /Users/varun/Documents/2015Desktop/SwiftAdventures/Ingenium/Ingenium/Parse.framework/Headers/PFSubclassing.h /Users/varun/Documents/2015Desktop/SwiftAdventures/Ingenium/Ingenium/Parse.framework/Headers/PFObject.h /Users/varun/Documents/2015Desktop/SwiftAdventures/Ingenium/Ingenium/Parse.framework/Headers/PFUser.h /Users/varun/Documents/2015Desktop/SwiftAdventures/Ingenium/Ingenium/Parse.framework/Headers/PFAnonymousUtils.h /Users/varun/Documents/2015Desktop/SwiftAdventures/Ingenium/Ingenium/Parse.framework/Headers/PFConstants.h /Users/varun/Documents/2015Desktop/SwiftAdventures/Ingenium/Ingenium/Parse.framework/Headers/PFAnalytics.h /Users/varun/Documents/2015Desktop/SwiftAdventures/Ingenium/Ingenium/Parse.framework/Headers/PFACL.h /Users/varun/Documents/2015Desktop/SwiftAdventures/Ingenium/Ingenium/Parse.framework/Headers/Parse.h /Users/varun/Documents/2015Desktop/SwiftAdventures/Ingenium/Ingenium/Parse.framework/Modules/module.modulemap /Users/varun/Documents/2015Desktop/SwiftAdventures/Ingenium/Ingenium/FBSDKCoreKit.framework/Headers/FBSDKProfilePictureView.h /Users/varun/Documents/2015Desktop/SwiftAdventures/Ingenium/Ingenium/FBSDKCoreKit.framework/Headers/FBSDKProfile.h /Users/varun/Documents/2015Desktop/SwiftAdventures/Ingenium/Ingenium/FBSDKCoreKit.framework/Headers/FBSDKMutableCopying.h /Users/varun/Documents/2015Desktop/SwiftAdventures/Ingenium/Ingenium/FBSDKCoreKit.framework/Headers/FBSDKGraphErrorRecoveryProcessor.h /Users/varun/Documents/2015Desktop/SwiftAdventures/Ingenium/Ingenium/FBSDKCoreKit.framework/Headers/FBSDKAppLinkUtility.h /Users/varun/Documents/2015Desktop/SwiftAdventures/Ingenium/Ingenium/FBSDKCoreKit.framework/Headers/FBSDKAppLinkResolver.h /Users/varun/Documents/2015Desktop/SwiftAdventures/Ingenium/Ingenium/FBSDKCoreKit.framework/Headers/FBSDKUtility.h /Users/varun/Documents/2015Desktop/SwiftAdventures/Ingenium/Ingenium/FBSDKCoreKit.framework/Headers/FBSDKTestUsersManager.h /Users/varun/Documents/2015Desktop/SwiftAdventures/Ingenium/Ingenium/FBSDKCoreKit.framework/Headers/FBSDKSettings.h /Users/varun/Documents/2015Desktop/SwiftAdventures/Ingenium/Ingenium/FBSDKCoreKit.framework/Headers/FBSDKGraphRequestDataAttachment.h /Users/varun/Documents/2015Desktop/SwiftAdventures/Ingenium/Ingenium/FBSDKCoreKit.framework/Headers/FBSDKGraphRequest.h /Users/varun/Documents/2015Desktop/SwiftAdventures/Ingenium/Ingenium/FBSDKCoreKit.framework/Headers/FBSDKConstants.h /Users/varun/Documents/2015Desktop/SwiftAdventures/Ingenium/Ingenium/FBSDKCoreKit.framework/Headers/FBSDKButton.h /Users/varun/Documents/2015Desktop/SwiftAdventures/Ingenium/Ingenium/FBSDKCoreKit.framework/Headers/FBSDKApplicationDelegate.h /Users/varun/Documents/2015Desktop/SwiftAdventures/Ingenium/Ingenium/FBSDKCoreKit.framework/Headers/FBSDKAppEvents.h /Users/varun/Documents/2015Desktop/SwiftAdventures/Ingenium/Ingenium/FBSDKCoreKit.framework/Headers/FBSDKMacros.h /Users/varun/Documents/2015Desktop/SwiftAdventures/Ingenium/Ingenium/FBSDKCoreKit.framework/Headers/FBSDKGraphRequestConnection.h /Users/varun/Documents/2015Desktop/SwiftAdventures/Ingenium/Ingenium/FBSDKCoreKit.framework/Headers/FBSDKCopying.h /Users/varun/Documents/2015Desktop/SwiftAdventures/Ingenium/Ingenium/FBSDKCoreKit.framework/Headers/FBSDKAccessToken.h /Users/varun/Documents/2015Desktop/SwiftAdventures/Ingenium/Ingenium/FBSDKCoreKit.framework/Headers/FBSDKCoreKit.h /Users/varun/Documents/2015Desktop/SwiftAdventures/Ingenium/Ingenium/FBSDKCoreKit.framework/Modules/module.modulemap /Users/varun/Documents/2015Desktop/SwiftAdventures/Ingenium/Ingenium/FBSDKLoginKit.framework/Headers/FBSDKLoginTooltipView.h /Users/varun/Documents/2015Desktop/SwiftAdventures/Ingenium/Ingenium/FBSDKLoginKit.framework/Headers/FBSDKLoginManagerLoginResult.h /Users/varun/Documents/2015Desktop/SwiftAdventures/Ingenium/Ingenium/FBSDKLoginKit.framework/Headers/FBSDKLoginConstants.h /Users/varun/Documents/2015Desktop/SwiftAdventures/Ingenium/Ingenium/FBSDKLoginKit.framework/Headers/FBSDKTooltipView.h /Users/varun/Documents/2015Desktop/SwiftAdventures/Ingenium/Ingenium/FBSDKLoginKit.framework/Headers/FBSDKLoginManager.h /Users/varun/Documents/2015Desktop/SwiftAdventures/Ingenium/Ingenium/FBSDKLoginKit.framework/Headers/FBSDKLoginButton.h /Users/varun/Documents/2015Desktop/SwiftAdventures/Ingenium/Ingenium/FBSDKLoginKit.framework/Headers/FBSDKLoginKit.h /Users/varun/Documents/2015Desktop/SwiftAdventures/Ingenium/Ingenium/FBSDKLoginKit.framework/Modules/module.modulemap /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/i386/CoreAudio.swiftmodule
/Users/varun/Documents/2015Desktop/SwiftAdventures/Ingenium/build/Ingenium.build/Release-iphonesimulator/Ingenium.build/Objects-normal/i386/TransitionZoom~partial.swiftdoc : /Users/varun/Documents/2015Desktop/SwiftAdventures/Ingenium/Ingenium/TutorDetailVC.swift /Users/varun/Documents/2015Desktop/SwiftAdventures/Ingenium/Ingenium/Spring/SpringLabel.swift /Users/varun/Documents/2015Desktop/SwiftAdventures/Ingenium/Ingenium/Spring/ImageLoader.swift /Users/varun/Documents/2015Desktop/SwiftAdventures/Ingenium/Ingenium/Spring/Misc.swift /Users/varun/Documents/2015Desktop/SwiftAdventures/Ingenium/Ingenium/Spring/DesignableImageView.swift /Users/varun/Documents/2015Desktop/SwiftAdventures/Ingenium/Ingenium/Spring/SpringImageView.swift /Users/varun/Documents/2015Desktop/SwiftAdventures/Ingenium/Ingenium/ViewController.swift /Users/varun/Documents/2015Desktop/SwiftAdventures/Ingenium/Ingenium/Spring/SoundPlayer.swift /Users/varun/Documents/2015Desktop/SwiftAdventures/Ingenium/Ingenium/Spring/SpringTextView.swift /Users/varun/Documents/2015Desktop/SwiftAdventures/Ingenium/Ingenium/AppDelegate.swift /Users/varun/Documents/2015Desktop/SwiftAdventures/Ingenium/Ingenium/addHotspotVC.swift /Users/varun/Documents/2015Desktop/SwiftAdventures/Ingenium/Ingenium/Spring/DesignableView.swift /Users/varun/Documents/2015Desktop/SwiftAdventures/Ingenium/Ingenium/Spring/SpringAnimation.swift /Users/varun/Documents/2015Desktop/SwiftAdventures/Ingenium/Ingenium/CosmosDistrib.swift /Users/varun/Documents/2015Desktop/SwiftAdventures/Ingenium/Ingenium/Spring/Spring.swift /Users/varun/Documents/2015Desktop/SwiftAdventures/Ingenium/Ingenium/Spring/LoadingView.swift /Users/varun/Documents/2015Desktop/SwiftAdventures/Ingenium/Ingenium/Spring/SpringTextField.swift /Users/varun/Documents/2015Desktop/SwiftAdventures/Ingenium/Ingenium/NearbyTutorsVC.swift /Users/varun/Documents/2015Desktop/SwiftAdventures/Ingenium/Ingenium/Spring/DesignableButton.swift /Users/varun/Documents/2015Desktop/SwiftAdventures/Ingenium/Ingenium/Spring/DesignableTextField.swift /Users/varun/Documents/2015Desktop/SwiftAdventures/Ingenium/Ingenium/Spring/AsyncButton.swift /Users/varun/Documents/2015Desktop/SwiftAdventures/Ingenium/Ingenium/Spring/KeyboardLayoutConstraint.swift /Users/varun/Documents/2015Desktop/SwiftAdventures/Ingenium/Ingenium/Spring/SpringButton.swift /Users/varun/Documents/2015Desktop/SwiftAdventures/Ingenium/Ingenium/Spring/AsyncImageView.swift /Users/varun/Documents/2015Desktop/SwiftAdventures/Ingenium/Ingenium/Tutor.swift /Users/varun/Documents/2015Desktop/SwiftAdventures/Ingenium/Ingenium/TutorAnnotation.swift /Users/varun/Documents/2015Desktop/SwiftAdventures/Ingenium/Ingenium/ProfileVC.swift /Users/varun/Documents/2015Desktop/SwiftAdventures/Ingenium/Ingenium/AssignmentVC.swift /Users/varun/Documents/2015Desktop/SwiftAdventures/Ingenium/Ingenium/loginVC.swift /Users/varun/Documents/2015Desktop/SwiftAdventures/Ingenium/Ingenium/Spring/DesignableTabBarController.swift /Users/varun/Documents/2015Desktop/SwiftAdventures/Ingenium/Ingenium/Spring/AutoTextView.swift /Users/varun/Documents/2015Desktop/SwiftAdventures/Ingenium/Ingenium/addAssignmentVC.swift /Users/varun/Documents/2015Desktop/SwiftAdventures/Ingenium/Ingenium/Action.swift /Users/varun/Documents/2015Desktop/SwiftAdventures/Ingenium/Ingenium/Spring/DesignableTextView.swift /Users/varun/Documents/2015Desktop/SwiftAdventures/Ingenium/Ingenium/Spring/DesignableLabel.swift /Users/varun/Documents/2015Desktop/SwiftAdventures/Ingenium/Ingenium/Spring/UnwindSegue.swift /Users/varun/Documents/2015Desktop/SwiftAdventures/Ingenium/Ingenium/Assignment.swift /Users/varun/Documents/2015Desktop/SwiftAdventures/Ingenium/Ingenium/Spring/TransitionManager.swift /Users/varun/Documents/2015Desktop/SwiftAdventures/Ingenium/Ingenium/Spring/BlurView.swift /Users/varun/Documents/2015Desktop/SwiftAdventures/Ingenium/Ingenium/Spring/SpringView.swift /Users/varun/Documents/2015Desktop/SwiftAdventures/Ingenium/Ingenium/Spring/TransitionZoom.swift /Users/varun/Documents/2015Desktop/SwiftAdventures/Ingenium/Ingenium/FBObject.swift /Users/varun/Documents/2015Desktop/SwiftAdventures/Ingenium/Ingenium/MapViewVC.swift /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/i386/Swift.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/i386/UIKit.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/i386/Foundation.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/i386/Darwin.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/i386/Dispatch.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/i386/ObjectiveC.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/i386/CoreGraphics.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/i386/CoreImage.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/i386/CoreLocation.swiftmodule /Users/varun/Documents/2015Desktop/SwiftAdventures/Ingenium/Ingenium/Bolts.framework/Headers/BFWebViewAppLinkResolver.h /Users/varun/Documents/2015Desktop/SwiftAdventures/Ingenium/Ingenium/Bolts.framework/Headers/BFURL.h /Users/varun/Documents/2015Desktop/SwiftAdventures/Ingenium/Ingenium/Bolts.framework/Headers/BFMeasurementEvent.h /Users/varun/Documents/2015Desktop/SwiftAdventures/Ingenium/Ingenium/Bolts.framework/Headers/BFAppLinkTarget.h /Users/varun/Documents/2015Desktop/SwiftAdventures/Ingenium/Ingenium/Bolts.framework/Headers/BFAppLinkReturnToRefererView.h /Users/varun/Documents/2015Desktop/SwiftAdventures/Ingenium/Ingenium/Bolts.framework/Headers/BFAppLinkReturnToRefererController.h /Users/varun/Documents/2015Desktop/SwiftAdventures/Ingenium/Ingenium/Bolts.framework/Headers/BFAppLinkResolving.h /Users/varun/Documents/2015Desktop/SwiftAdventures/Ingenium/Ingenium/Bolts.framework/Headers/BFAppLinkNavigation.h /Users/varun/Documents/2015Desktop/SwiftAdventures/Ingenium/Ingenium/Bolts.framework/Headers/BFAppLink.h /Users/varun/Documents/2015Desktop/SwiftAdventures/Ingenium/Ingenium/Bolts.framework/Headers/BFTaskCompletionSource.h /Users/varun/Documents/2015Desktop/SwiftAdventures/Ingenium/Ingenium/Bolts.framework/Headers/BFTask.h /Users/varun/Documents/2015Desktop/SwiftAdventures/Ingenium/Ingenium/Bolts.framework/Headers/BFExecutor.h /Users/varun/Documents/2015Desktop/SwiftAdventures/Ingenium/Ingenium/Bolts.framework/Headers/BFDefines.h /Users/varun/Documents/2015Desktop/SwiftAdventures/Ingenium/Ingenium/Bolts.framework/Headers/BFCancellationTokenSource.h /Users/varun/Documents/2015Desktop/SwiftAdventures/Ingenium/Ingenium/Bolts.framework/Headers/BFCancellationTokenRegistration.h /Users/varun/Documents/2015Desktop/SwiftAdventures/Ingenium/Ingenium/Bolts.framework/Headers/BFCancellationToken.h /Users/varun/Documents/2015Desktop/SwiftAdventures/Ingenium/Ingenium/Bolts.framework/Headers/BoltsVersion.h /Users/varun/Documents/2015Desktop/SwiftAdventures/Ingenium/Ingenium/Bolts.framework/Headers/Bolts.h /Users/varun/Documents/2015Desktop/SwiftAdventures/Ingenium/Ingenium/Bolts.framework/Modules/module.modulemap /Users/varun/Documents/2015Desktop/SwiftAdventures/Ingenium/Ingenium/Parse.framework/Headers/PFPurchase.h /Users/varun/Documents/2015Desktop/SwiftAdventures/Ingenium/Ingenium/Parse.framework/Headers/PFProduct.h /Users/varun/Documents/2015Desktop/SwiftAdventures/Ingenium/Ingenium/Parse.framework/Headers/PFPush.h /Users/varun/Documents/2015Desktop/SwiftAdventures/Ingenium/Ingenium/Parse.framework/Headers/PFNetworkActivityIndicatorManager.h /Users/varun/Documents/2015Desktop/SwiftAdventures/Ingenium/Ingenium/Parse.framework/Headers/PFInstallation.h /Users/varun/Documents/2015Desktop/SwiftAdventures/Ingenium/Ingenium/Parse.framework/Headers/PFUserAuthenticationDelegate.h /Users/varun/Documents/2015Desktop/SwiftAdventures/Ingenium/Ingenium/Parse.framework/Headers/PFSession.h /Users/varun/Documents/2015Desktop/SwiftAdventures/Ingenium/Ingenium/Parse.framework/Headers/PFRole.h /Users/varun/Documents/2015Desktop/SwiftAdventures/Ingenium/Ingenium/Parse.framework/Headers/PFRelation.h /Users/varun/Documents/2015Desktop/SwiftAdventures/Ingenium/Ingenium/Parse.framework/Headers/PFQuery.h /Users/varun/Documents/2015Desktop/SwiftAdventures/Ingenium/Ingenium/Parse.framework/Headers/PFObject+Subclass.h /Users/varun/Documents/2015Desktop/SwiftAdventures/Ingenium/Ingenium/Parse.framework/Headers/PFGeoPoint.h /Users/varun/Documents/2015Desktop/SwiftAdventures/Ingenium/Ingenium/Parse.framework/Headers/PFFile.h /Users/varun/Documents/2015Desktop/SwiftAdventures/Ingenium/Ingenium/Parse.framework/Headers/PFConfig.h /Users/varun/Documents/2015Desktop/SwiftAdventures/Ingenium/Ingenium/Parse.framework/Headers/PFCloud.h /Users/varun/Documents/2015Desktop/SwiftAdventures/Ingenium/Ingenium/Parse.framework/Headers/PFSubclassing.h /Users/varun/Documents/2015Desktop/SwiftAdventures/Ingenium/Ingenium/Parse.framework/Headers/PFObject.h /Users/varun/Documents/2015Desktop/SwiftAdventures/Ingenium/Ingenium/Parse.framework/Headers/PFUser.h /Users/varun/Documents/2015Desktop/SwiftAdventures/Ingenium/Ingenium/Parse.framework/Headers/PFAnonymousUtils.h /Users/varun/Documents/2015Desktop/SwiftAdventures/Ingenium/Ingenium/Parse.framework/Headers/PFConstants.h /Users/varun/Documents/2015Desktop/SwiftAdventures/Ingenium/Ingenium/Parse.framework/Headers/PFAnalytics.h /Users/varun/Documents/2015Desktop/SwiftAdventures/Ingenium/Ingenium/Parse.framework/Headers/PFACL.h /Users/varun/Documents/2015Desktop/SwiftAdventures/Ingenium/Ingenium/Parse.framework/Headers/Parse.h /Users/varun/Documents/2015Desktop/SwiftAdventures/Ingenium/Ingenium/Parse.framework/Modules/module.modulemap /Users/varun/Documents/2015Desktop/SwiftAdventures/Ingenium/Ingenium/FBSDKCoreKit.framework/Headers/FBSDKProfilePictureView.h /Users/varun/Documents/2015Desktop/SwiftAdventures/Ingenium/Ingenium/FBSDKCoreKit.framework/Headers/FBSDKProfile.h /Users/varun/Documents/2015Desktop/SwiftAdventures/Ingenium/Ingenium/FBSDKCoreKit.framework/Headers/FBSDKMutableCopying.h /Users/varun/Documents/2015Desktop/SwiftAdventures/Ingenium/Ingenium/FBSDKCoreKit.framework/Headers/FBSDKGraphErrorRecoveryProcessor.h /Users/varun/Documents/2015Desktop/SwiftAdventures/Ingenium/Ingenium/FBSDKCoreKit.framework/Headers/FBSDKAppLinkUtility.h /Users/varun/Documents/2015Desktop/SwiftAdventures/Ingenium/Ingenium/FBSDKCoreKit.framework/Headers/FBSDKAppLinkResolver.h /Users/varun/Documents/2015Desktop/SwiftAdventures/Ingenium/Ingenium/FBSDKCoreKit.framework/Headers/FBSDKUtility.h /Users/varun/Documents/2015Desktop/SwiftAdventures/Ingenium/Ingenium/FBSDKCoreKit.framework/Headers/FBSDKTestUsersManager.h /Users/varun/Documents/2015Desktop/SwiftAdventures/Ingenium/Ingenium/FBSDKCoreKit.framework/Headers/FBSDKSettings.h /Users/varun/Documents/2015Desktop/SwiftAdventures/Ingenium/Ingenium/FBSDKCoreKit.framework/Headers/FBSDKGraphRequestDataAttachment.h /Users/varun/Documents/2015Desktop/SwiftAdventures/Ingenium/Ingenium/FBSDKCoreKit.framework/Headers/FBSDKGraphRequest.h /Users/varun/Documents/2015Desktop/SwiftAdventures/Ingenium/Ingenium/FBSDKCoreKit.framework/Headers/FBSDKConstants.h /Users/varun/Documents/2015Desktop/SwiftAdventures/Ingenium/Ingenium/FBSDKCoreKit.framework/Headers/FBSDKButton.h /Users/varun/Documents/2015Desktop/SwiftAdventures/Ingenium/Ingenium/FBSDKCoreKit.framework/Headers/FBSDKApplicationDelegate.h /Users/varun/Documents/2015Desktop/SwiftAdventures/Ingenium/Ingenium/FBSDKCoreKit.framework/Headers/FBSDKAppEvents.h /Users/varun/Documents/2015Desktop/SwiftAdventures/Ingenium/Ingenium/FBSDKCoreKit.framework/Headers/FBSDKMacros.h /Users/varun/Documents/2015Desktop/SwiftAdventures/Ingenium/Ingenium/FBSDKCoreKit.framework/Headers/FBSDKGraphRequestConnection.h /Users/varun/Documents/2015Desktop/SwiftAdventures/Ingenium/Ingenium/FBSDKCoreKit.framework/Headers/FBSDKCopying.h /Users/varun/Documents/2015Desktop/SwiftAdventures/Ingenium/Ingenium/FBSDKCoreKit.framework/Headers/FBSDKAccessToken.h /Users/varun/Documents/2015Desktop/SwiftAdventures/Ingenium/Ingenium/FBSDKCoreKit.framework/Headers/FBSDKCoreKit.h /Users/varun/Documents/2015Desktop/SwiftAdventures/Ingenium/Ingenium/FBSDKCoreKit.framework/Modules/module.modulemap /Users/varun/Documents/2015Desktop/SwiftAdventures/Ingenium/Ingenium/FBSDKLoginKit.framework/Headers/FBSDKLoginTooltipView.h /Users/varun/Documents/2015Desktop/SwiftAdventures/Ingenium/Ingenium/FBSDKLoginKit.framework/Headers/FBSDKLoginManagerLoginResult.h /Users/varun/Documents/2015Desktop/SwiftAdventures/Ingenium/Ingenium/FBSDKLoginKit.framework/Headers/FBSDKLoginConstants.h /Users/varun/Documents/2015Desktop/SwiftAdventures/Ingenium/Ingenium/FBSDKLoginKit.framework/Headers/FBSDKTooltipView.h /Users/varun/Documents/2015Desktop/SwiftAdventures/Ingenium/Ingenium/FBSDKLoginKit.framework/Headers/FBSDKLoginManager.h /Users/varun/Documents/2015Desktop/SwiftAdventures/Ingenium/Ingenium/FBSDKLoginKit.framework/Headers/FBSDKLoginButton.h /Users/varun/Documents/2015Desktop/SwiftAdventures/Ingenium/Ingenium/FBSDKLoginKit.framework/Headers/FBSDKLoginKit.h /Users/varun/Documents/2015Desktop/SwiftAdventures/Ingenium/Ingenium/FBSDKLoginKit.framework/Modules/module.modulemap /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/i386/CoreAudio.swiftmodule
|
D
|
/Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/Vapor.build/Server/NIOServerConfig.swift.o : /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/vapor/Sources/Vapor/Utilities/FileIO.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/vapor/Sources/Vapor/Content/FormDataCoder+HTTP.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/vapor/Sources/Vapor/Sessions/SessionData.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/vapor/Sources/Vapor/Utilities/Thread.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/vapor/Sources/Vapor/Content/URLEncoded.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/vapor/Sources/Vapor/Deprecated.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/vapor/Sources/Vapor/Commands/ServeCommand.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/vapor/Sources/Vapor/Commands/RoutesCommand.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/vapor/Sources/Vapor/Commands/BootCommand.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/vapor/Sources/Vapor/Routing/Router+Method.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/vapor/Sources/Vapor/Sessions/SessionCache.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/vapor/Sources/Vapor/Response/ResponseCodable.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/vapor/Sources/Vapor/Request/RequestCodable.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/vapor/Sources/Vapor/Routing/Router+Middleware.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/vapor/Sources/Vapor/Middleware/Middleware.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/vapor/Sources/Vapor/Middleware/CORSMiddleware.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/vapor/Sources/Vapor/Middleware/FileMiddleware.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/vapor/Sources/Vapor/Middleware/DateMiddleware.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/vapor/Sources/Vapor/Middleware/ErrorMiddleware.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/vapor/Sources/Vapor/Sessions/SessionsMiddleware.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/vapor/Sources/Vapor/Routing/Router+LazyMiddleware.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/vapor/Sources/Vapor/Response/Response.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/vapor/Sources/Vapor/Utilities/AnyResponse.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/vapor/Sources/Vapor/Middleware/MiddlewareConfig.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/vapor/Sources/Vapor/Server/NIOServerConfig.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/vapor/Sources/Vapor/Sessions/SessionsConfig.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/vapor/Sources/Vapor/Content/ContentConfig.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/vapor/Sources/Vapor/Request/HTTPMethod+String.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/vapor/Sources/Vapor/Routing/Router+Path.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/vapor/Sources/Vapor/Content/JSONCoder+Custom.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/vapor/Sources/Vapor/Sessions/Request+Session.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/vapor/Sources/Vapor/Sessions/Session.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/vapor/Sources/Vapor/Application.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/vapor/Sources/Vapor/Routing/RouteCollection.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/vapor/Sources/Vapor/Routing/Router+Function.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/vapor/Sources/Vapor/Services/VaporProvider.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/vapor/Sources/Vapor/Response/Responder.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/vapor/Sources/Vapor/Response/BasicResponder.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/vapor/Sources/Vapor/Response/ApplicationResponder.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/vapor/Sources/Vapor/WebSocket/WebSocketResponder.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/vapor/Sources/Vapor/Content/PlaintextEncoder.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/vapor/Sources/Vapor/Content/HTTPMessageContainer.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/vapor/Sources/Vapor/Routing/ParametersContainer.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/vapor/Sources/Vapor/Content/ContentContainer.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/vapor/Sources/Vapor/Content/QueryContainer.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/vapor/Sources/Vapor/Routing/Router.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/vapor/Sources/Vapor/Routing/EngineRouter.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/vapor/Sources/Vapor/Server/Server.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/vapor/Sources/Vapor/Server/NIOServer.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/vapor/Sources/Vapor/Server/RunningServer.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/vapor/Sources/Vapor/WebSocket/WebSocketServer.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/vapor/Sources/Vapor/WebSocket/NIOWebSocketServer.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/vapor/Sources/Vapor/Error/Error.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/vapor/Sources/Vapor/Logging/Logger+LogError.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/vapor/Sources/Vapor/Error/AbortError.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/vapor/Sources/Vapor/Sessions/Sessions.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/vapor/Sources/Vapor/Sessions/KeyedCacheSessions.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/vapor/Sources/Vapor/Sessions/MemorySessions.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/vapor/Sources/Vapor/Content/ContentCoders.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/vapor/Sources/Vapor/Utilities/Exports.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/vapor/Sources/Vapor/Response/HTTPStatus.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/vapor/Sources/Vapor/Response/Redirect.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/vapor/Sources/Vapor/Content/SingleValueGet.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/vapor/Sources/Vapor/Services/Config+Default.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/vapor/Sources/Vapor/Commands/CommandConfig+Default.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/vapor/Sources/Vapor/Services/Services+Default.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/vapor/Sources/Vapor/Client/Client.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/vapor/Sources/Vapor/Client/FoundationClient.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/vapor/Sources/Vapor/WebSocket/WebSocketClient.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/vapor/Sources/Vapor/WebSocket/NIOWebSocketClient.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/vapor/Sources/Vapor/Routing/Router+Content.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/vapor/Sources/Vapor/Content/Content.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/vapor/Sources/Vapor/Error/Abort.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/vapor/Sources/Vapor/Request/Request.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/vapor/Sources/Vapor/View/Vapor+View.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/NIOHTTP1.swiftmodule /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/NIOOpenSSL.swiftmodule /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/NIO.swiftmodule /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/HTTP.swiftmodule /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/NIOTLS.swiftmodule /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/Async.swiftmodule /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/Command.swiftmodule /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/Service.swiftmodule /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/Console.swiftmodule /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/Core.swiftmodule /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/Logging.swiftmodule /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/Debugging.swiftmodule /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/Routing.swiftmodule /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/COperatingSystem.swiftmodule /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/Random.swiftmodule /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/URLEncodedForm.swiftmodule /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/Validation.swiftmodule /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/Crypto.swiftmodule /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/Foundation.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 /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/NIOConcurrencyHelpers.swiftmodule /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/Bits.swiftmodule /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/NIOFoundationCompat.swiftmodule /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/WebSocket.swiftmodule /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/NIOWebSocket.swiftmodule /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/DatabaseKit.swiftmodule /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/TemplateKit.swiftmodule /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/Multipart.swiftmodule /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/swift-nio/Sources/CNIOSHA1/include/CNIOSHA1.h /usr/local/Cellar/libressl/3.0.2/include/openssl/asn1.h /usr/local/Cellar/libressl/3.0.2/include/openssl/tls1.h /usr/local/Cellar/libressl/3.0.2/include/openssl/dtls1.h /usr/local/Cellar/libressl/3.0.2/include/openssl/pkcs12.h /usr/local/Cellar/libressl/3.0.2/include/openssl/ssl2.h /usr/local/Cellar/libressl/3.0.2/include/openssl/pem2.h /usr/local/Cellar/libressl/3.0.2/include/openssl/ssl23.h /usr/local/Cellar/libressl/3.0.2/include/openssl/ssl3.h /usr/local/Cellar/libressl/3.0.2/include/openssl/x509v3.h /usr/local/Cellar/libressl/3.0.2/include/openssl/md5.h /usr/local/Cellar/libressl/3.0.2/include/openssl/pkcs7.h /usr/local/Cellar/libressl/3.0.2/include/openssl/x509.h /usr/local/Cellar/libressl/3.0.2/include/openssl/sha.h /usr/local/Cellar/libressl/3.0.2/include/openssl/dsa.h /usr/local/Cellar/libressl/3.0.2/include/openssl/ecdsa.h /usr/local/Cellar/libressl/3.0.2/include/openssl/rsa.h /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/swift-nio/Sources/CNIOZlib/include/CNIOZlib.h /usr/local/Cellar/libressl/3.0.2/include/openssl/obj_mac.h /usr/local/Cellar/libressl/3.0.2/include/openssl/hmac.h /usr/local/Cellar/libressl/3.0.2/include/openssl/ec.h /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/swift-nio/Sources/CNIOAtomics/include/cpp_magic.h /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/swift-nio/Sources/CNIOLinux/include/ifaddrs-android.h /usr/local/Cellar/libressl/3.0.2/include/openssl/rand.h /usr/local/Cellar/libressl/3.0.2/include/openssl/conf.h /usr/local/Cellar/libressl/3.0.2/include/openssl/opensslconf.h /usr/local/Cellar/libressl/3.0.2/include/openssl/dh.h /usr/local/Cellar/libressl/3.0.2/include/openssl/ecdh.h /usr/local/Cellar/libressl/3.0.2/include/openssl/lhash.h /usr/local/Cellar/libressl/3.0.2/include/openssl/stack.h /usr/local/Cellar/libressl/3.0.2/include/openssl/safestack.h /usr/local/Cellar/libressl/3.0.2/include/openssl/ssl.h /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/swift-nio-ssl/Sources/CNIOOpenSSL/include/c_nio_openssl.h /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/crypto/Sources/CCryptoOpenSSL/include/c_crypto_openssl.h /usr/local/Cellar/libressl/3.0.2/include/openssl/pem.h /usr/local/Cellar/libressl/3.0.2/include/openssl/bn.h /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/swift-nio/Sources/CNIODarwin/include/CNIODarwin.h /usr/local/Cellar/libressl/3.0.2/include/openssl/bio.h /usr/local/Cellar/libressl/3.0.2/include/openssl/crypto.h /usr/local/Cellar/libressl/3.0.2/include/openssl/srtp.h /usr/local/Cellar/libressl/3.0.2/include/openssl/evp.h /usr/local/Cellar/libressl/3.0.2/include/openssl/ossl_typ.h /usr/local/Cellar/libressl/3.0.2/include/openssl/buffer.h /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/swift-nio/Sources/CNIOHTTPParser/include/CNIOHTTPParser.h /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/swift-nio/Sources/CNIOHTTPParser/include/c_nio_http_parser.h /usr/local/Cellar/libressl/3.0.2/include/openssl/err.h /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/swift-nio/Sources/CNIOAtomics/include/CNIOAtomics.h /usr/local/Cellar/libressl/3.0.2/include/openssl/opensslfeatures.h /usr/local/Cellar/libressl/3.0.2/include/openssl/objects.h /usr/local/Cellar/libressl/3.0.2/include/openssl/opensslv.h /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/swift-nio/Sources/CNIOLinux/include/CNIOLinux.h /usr/local/Cellar/libressl/3.0.2/include/openssl/x509_vfy.h /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/CNIOSHA1.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/NIOHTTP1.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/SQL.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/PostgreSQL.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/FluentPostgreSQL.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/FluentSQL.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/NIOOpenSSL.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/CNIOOpenSSL.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/CCryptoOpenSSL.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/NIO.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/HTTP.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/NIOTLS.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/CNIOZlib.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/Async.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/Command.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/Service.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/Console.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/Core.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/SQLite.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/FluentSQLite.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/NIOPriorityQueue.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/Logging.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/Debugging.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/Routing.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/SQLBenchmark.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/FluentBenchmark.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/COperatingSystem.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/Random.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/URLEncodedForm.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/CNIODarwin.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/Authentication.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/Validation.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/Crypto.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/App.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/CNIOHTTPParser.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/Vapor.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/CNIOAtomics.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/Redis.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/NIOConcurrencyHelpers.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/Bits.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/NIOFoundationCompat.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/WebSocket.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/NIOWebSocket.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/DatabaseKit.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/TemplateKit.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/Fluent.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/Multipart.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/CNIOLinux.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/crypto/Sources/CBase32/include/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/crypto/Sources/CBcrypt/include/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/swift-nio-zlib-support/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/swift-nio-ssl-support/module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/usr/include/xpc/XPC.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.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/MacOSX10.15.sdk/usr/include/Darwin.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/System/Library/Frameworks/ApplicationServices.framework/Headers/ApplicationServices.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/System/Library/Frameworks/CoreText.framework/Headers/CoreText.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/System/Library/Frameworks/Security.framework/Headers/Security.apinotes
/Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/Vapor.build/Server/NIOServerConfig~partial.swiftmodule : /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/vapor/Sources/Vapor/Utilities/FileIO.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/vapor/Sources/Vapor/Content/FormDataCoder+HTTP.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/vapor/Sources/Vapor/Sessions/SessionData.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/vapor/Sources/Vapor/Utilities/Thread.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/vapor/Sources/Vapor/Content/URLEncoded.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/vapor/Sources/Vapor/Deprecated.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/vapor/Sources/Vapor/Commands/ServeCommand.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/vapor/Sources/Vapor/Commands/RoutesCommand.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/vapor/Sources/Vapor/Commands/BootCommand.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/vapor/Sources/Vapor/Routing/Router+Method.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/vapor/Sources/Vapor/Sessions/SessionCache.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/vapor/Sources/Vapor/Response/ResponseCodable.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/vapor/Sources/Vapor/Request/RequestCodable.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/vapor/Sources/Vapor/Routing/Router+Middleware.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/vapor/Sources/Vapor/Middleware/Middleware.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/vapor/Sources/Vapor/Middleware/CORSMiddleware.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/vapor/Sources/Vapor/Middleware/FileMiddleware.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/vapor/Sources/Vapor/Middleware/DateMiddleware.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/vapor/Sources/Vapor/Middleware/ErrorMiddleware.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/vapor/Sources/Vapor/Sessions/SessionsMiddleware.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/vapor/Sources/Vapor/Routing/Router+LazyMiddleware.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/vapor/Sources/Vapor/Response/Response.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/vapor/Sources/Vapor/Utilities/AnyResponse.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/vapor/Sources/Vapor/Middleware/MiddlewareConfig.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/vapor/Sources/Vapor/Server/NIOServerConfig.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/vapor/Sources/Vapor/Sessions/SessionsConfig.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/vapor/Sources/Vapor/Content/ContentConfig.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/vapor/Sources/Vapor/Request/HTTPMethod+String.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/vapor/Sources/Vapor/Routing/Router+Path.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/vapor/Sources/Vapor/Content/JSONCoder+Custom.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/vapor/Sources/Vapor/Sessions/Request+Session.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/vapor/Sources/Vapor/Sessions/Session.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/vapor/Sources/Vapor/Application.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/vapor/Sources/Vapor/Routing/RouteCollection.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/vapor/Sources/Vapor/Routing/Router+Function.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/vapor/Sources/Vapor/Services/VaporProvider.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/vapor/Sources/Vapor/Response/Responder.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/vapor/Sources/Vapor/Response/BasicResponder.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/vapor/Sources/Vapor/Response/ApplicationResponder.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/vapor/Sources/Vapor/WebSocket/WebSocketResponder.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/vapor/Sources/Vapor/Content/PlaintextEncoder.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/vapor/Sources/Vapor/Content/HTTPMessageContainer.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/vapor/Sources/Vapor/Routing/ParametersContainer.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/vapor/Sources/Vapor/Content/ContentContainer.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/vapor/Sources/Vapor/Content/QueryContainer.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/vapor/Sources/Vapor/Routing/Router.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/vapor/Sources/Vapor/Routing/EngineRouter.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/vapor/Sources/Vapor/Server/Server.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/vapor/Sources/Vapor/Server/NIOServer.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/vapor/Sources/Vapor/Server/RunningServer.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/vapor/Sources/Vapor/WebSocket/WebSocketServer.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/vapor/Sources/Vapor/WebSocket/NIOWebSocketServer.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/vapor/Sources/Vapor/Error/Error.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/vapor/Sources/Vapor/Logging/Logger+LogError.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/vapor/Sources/Vapor/Error/AbortError.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/vapor/Sources/Vapor/Sessions/Sessions.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/vapor/Sources/Vapor/Sessions/KeyedCacheSessions.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/vapor/Sources/Vapor/Sessions/MemorySessions.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/vapor/Sources/Vapor/Content/ContentCoders.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/vapor/Sources/Vapor/Utilities/Exports.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/vapor/Sources/Vapor/Response/HTTPStatus.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/vapor/Sources/Vapor/Response/Redirect.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/vapor/Sources/Vapor/Content/SingleValueGet.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/vapor/Sources/Vapor/Services/Config+Default.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/vapor/Sources/Vapor/Commands/CommandConfig+Default.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/vapor/Sources/Vapor/Services/Services+Default.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/vapor/Sources/Vapor/Client/Client.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/vapor/Sources/Vapor/Client/FoundationClient.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/vapor/Sources/Vapor/WebSocket/WebSocketClient.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/vapor/Sources/Vapor/WebSocket/NIOWebSocketClient.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/vapor/Sources/Vapor/Routing/Router+Content.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/vapor/Sources/Vapor/Content/Content.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/vapor/Sources/Vapor/Error/Abort.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/vapor/Sources/Vapor/Request/Request.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/vapor/Sources/Vapor/View/Vapor+View.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/NIOHTTP1.swiftmodule /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/NIOOpenSSL.swiftmodule /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/NIO.swiftmodule /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/HTTP.swiftmodule /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/NIOTLS.swiftmodule /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/Async.swiftmodule /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/Command.swiftmodule /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/Service.swiftmodule /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/Console.swiftmodule /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/Core.swiftmodule /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/Logging.swiftmodule /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/Debugging.swiftmodule /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/Routing.swiftmodule /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/COperatingSystem.swiftmodule /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/Random.swiftmodule /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/URLEncodedForm.swiftmodule /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/Validation.swiftmodule /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/Crypto.swiftmodule /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/Foundation.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 /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/NIOConcurrencyHelpers.swiftmodule /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/Bits.swiftmodule /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/NIOFoundationCompat.swiftmodule /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/WebSocket.swiftmodule /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/NIOWebSocket.swiftmodule /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/DatabaseKit.swiftmodule /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/TemplateKit.swiftmodule /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/Multipart.swiftmodule /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/swift-nio/Sources/CNIOSHA1/include/CNIOSHA1.h /usr/local/Cellar/libressl/3.0.2/include/openssl/asn1.h /usr/local/Cellar/libressl/3.0.2/include/openssl/tls1.h /usr/local/Cellar/libressl/3.0.2/include/openssl/dtls1.h /usr/local/Cellar/libressl/3.0.2/include/openssl/pkcs12.h /usr/local/Cellar/libressl/3.0.2/include/openssl/ssl2.h /usr/local/Cellar/libressl/3.0.2/include/openssl/pem2.h /usr/local/Cellar/libressl/3.0.2/include/openssl/ssl23.h /usr/local/Cellar/libressl/3.0.2/include/openssl/ssl3.h /usr/local/Cellar/libressl/3.0.2/include/openssl/x509v3.h /usr/local/Cellar/libressl/3.0.2/include/openssl/md5.h /usr/local/Cellar/libressl/3.0.2/include/openssl/pkcs7.h /usr/local/Cellar/libressl/3.0.2/include/openssl/x509.h /usr/local/Cellar/libressl/3.0.2/include/openssl/sha.h /usr/local/Cellar/libressl/3.0.2/include/openssl/dsa.h /usr/local/Cellar/libressl/3.0.2/include/openssl/ecdsa.h /usr/local/Cellar/libressl/3.0.2/include/openssl/rsa.h /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/swift-nio/Sources/CNIOZlib/include/CNIOZlib.h /usr/local/Cellar/libressl/3.0.2/include/openssl/obj_mac.h /usr/local/Cellar/libressl/3.0.2/include/openssl/hmac.h /usr/local/Cellar/libressl/3.0.2/include/openssl/ec.h /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/swift-nio/Sources/CNIOAtomics/include/cpp_magic.h /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/swift-nio/Sources/CNIOLinux/include/ifaddrs-android.h /usr/local/Cellar/libressl/3.0.2/include/openssl/rand.h /usr/local/Cellar/libressl/3.0.2/include/openssl/conf.h /usr/local/Cellar/libressl/3.0.2/include/openssl/opensslconf.h /usr/local/Cellar/libressl/3.0.2/include/openssl/dh.h /usr/local/Cellar/libressl/3.0.2/include/openssl/ecdh.h /usr/local/Cellar/libressl/3.0.2/include/openssl/lhash.h /usr/local/Cellar/libressl/3.0.2/include/openssl/stack.h /usr/local/Cellar/libressl/3.0.2/include/openssl/safestack.h /usr/local/Cellar/libressl/3.0.2/include/openssl/ssl.h /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/swift-nio-ssl/Sources/CNIOOpenSSL/include/c_nio_openssl.h /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/crypto/Sources/CCryptoOpenSSL/include/c_crypto_openssl.h /usr/local/Cellar/libressl/3.0.2/include/openssl/pem.h /usr/local/Cellar/libressl/3.0.2/include/openssl/bn.h /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/swift-nio/Sources/CNIODarwin/include/CNIODarwin.h /usr/local/Cellar/libressl/3.0.2/include/openssl/bio.h /usr/local/Cellar/libressl/3.0.2/include/openssl/crypto.h /usr/local/Cellar/libressl/3.0.2/include/openssl/srtp.h /usr/local/Cellar/libressl/3.0.2/include/openssl/evp.h /usr/local/Cellar/libressl/3.0.2/include/openssl/ossl_typ.h /usr/local/Cellar/libressl/3.0.2/include/openssl/buffer.h /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/swift-nio/Sources/CNIOHTTPParser/include/CNIOHTTPParser.h /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/swift-nio/Sources/CNIOHTTPParser/include/c_nio_http_parser.h /usr/local/Cellar/libressl/3.0.2/include/openssl/err.h /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/swift-nio/Sources/CNIOAtomics/include/CNIOAtomics.h /usr/local/Cellar/libressl/3.0.2/include/openssl/opensslfeatures.h /usr/local/Cellar/libressl/3.0.2/include/openssl/objects.h /usr/local/Cellar/libressl/3.0.2/include/openssl/opensslv.h /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/swift-nio/Sources/CNIOLinux/include/CNIOLinux.h /usr/local/Cellar/libressl/3.0.2/include/openssl/x509_vfy.h /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/CNIOSHA1.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/NIOHTTP1.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/SQL.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/PostgreSQL.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/FluentPostgreSQL.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/FluentSQL.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/NIOOpenSSL.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/CNIOOpenSSL.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/CCryptoOpenSSL.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/NIO.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/HTTP.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/NIOTLS.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/CNIOZlib.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/Async.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/Command.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/Service.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/Console.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/Core.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/SQLite.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/FluentSQLite.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/NIOPriorityQueue.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/Logging.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/Debugging.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/Routing.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/SQLBenchmark.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/FluentBenchmark.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/COperatingSystem.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/Random.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/URLEncodedForm.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/CNIODarwin.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/Authentication.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/Validation.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/Crypto.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/App.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/CNIOHTTPParser.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/Vapor.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/CNIOAtomics.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/Redis.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/NIOConcurrencyHelpers.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/Bits.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/NIOFoundationCompat.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/WebSocket.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/NIOWebSocket.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/DatabaseKit.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/TemplateKit.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/Fluent.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/Multipart.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/CNIOLinux.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/crypto/Sources/CBase32/include/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/crypto/Sources/CBcrypt/include/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/swift-nio-zlib-support/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/swift-nio-ssl-support/module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/usr/include/xpc/XPC.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.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/MacOSX10.15.sdk/usr/include/Darwin.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/System/Library/Frameworks/ApplicationServices.framework/Headers/ApplicationServices.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/System/Library/Frameworks/CoreText.framework/Headers/CoreText.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/System/Library/Frameworks/Security.framework/Headers/Security.apinotes
/Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/Vapor.build/Server/NIOServerConfig~partial.swiftdoc : /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/vapor/Sources/Vapor/Utilities/FileIO.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/vapor/Sources/Vapor/Content/FormDataCoder+HTTP.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/vapor/Sources/Vapor/Sessions/SessionData.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/vapor/Sources/Vapor/Utilities/Thread.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/vapor/Sources/Vapor/Content/URLEncoded.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/vapor/Sources/Vapor/Deprecated.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/vapor/Sources/Vapor/Commands/ServeCommand.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/vapor/Sources/Vapor/Commands/RoutesCommand.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/vapor/Sources/Vapor/Commands/BootCommand.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/vapor/Sources/Vapor/Routing/Router+Method.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/vapor/Sources/Vapor/Sessions/SessionCache.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/vapor/Sources/Vapor/Response/ResponseCodable.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/vapor/Sources/Vapor/Request/RequestCodable.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/vapor/Sources/Vapor/Routing/Router+Middleware.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/vapor/Sources/Vapor/Middleware/Middleware.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/vapor/Sources/Vapor/Middleware/CORSMiddleware.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/vapor/Sources/Vapor/Middleware/FileMiddleware.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/vapor/Sources/Vapor/Middleware/DateMiddleware.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/vapor/Sources/Vapor/Middleware/ErrorMiddleware.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/vapor/Sources/Vapor/Sessions/SessionsMiddleware.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/vapor/Sources/Vapor/Routing/Router+LazyMiddleware.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/vapor/Sources/Vapor/Response/Response.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/vapor/Sources/Vapor/Utilities/AnyResponse.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/vapor/Sources/Vapor/Middleware/MiddlewareConfig.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/vapor/Sources/Vapor/Server/NIOServerConfig.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/vapor/Sources/Vapor/Sessions/SessionsConfig.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/vapor/Sources/Vapor/Content/ContentConfig.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/vapor/Sources/Vapor/Request/HTTPMethod+String.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/vapor/Sources/Vapor/Routing/Router+Path.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/vapor/Sources/Vapor/Content/JSONCoder+Custom.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/vapor/Sources/Vapor/Sessions/Request+Session.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/vapor/Sources/Vapor/Sessions/Session.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/vapor/Sources/Vapor/Application.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/vapor/Sources/Vapor/Routing/RouteCollection.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/vapor/Sources/Vapor/Routing/Router+Function.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/vapor/Sources/Vapor/Services/VaporProvider.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/vapor/Sources/Vapor/Response/Responder.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/vapor/Sources/Vapor/Response/BasicResponder.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/vapor/Sources/Vapor/Response/ApplicationResponder.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/vapor/Sources/Vapor/WebSocket/WebSocketResponder.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/vapor/Sources/Vapor/Content/PlaintextEncoder.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/vapor/Sources/Vapor/Content/HTTPMessageContainer.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/vapor/Sources/Vapor/Routing/ParametersContainer.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/vapor/Sources/Vapor/Content/ContentContainer.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/vapor/Sources/Vapor/Content/QueryContainer.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/vapor/Sources/Vapor/Routing/Router.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/vapor/Sources/Vapor/Routing/EngineRouter.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/vapor/Sources/Vapor/Server/Server.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/vapor/Sources/Vapor/Server/NIOServer.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/vapor/Sources/Vapor/Server/RunningServer.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/vapor/Sources/Vapor/WebSocket/WebSocketServer.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/vapor/Sources/Vapor/WebSocket/NIOWebSocketServer.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/vapor/Sources/Vapor/Error/Error.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/vapor/Sources/Vapor/Logging/Logger+LogError.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/vapor/Sources/Vapor/Error/AbortError.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/vapor/Sources/Vapor/Sessions/Sessions.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/vapor/Sources/Vapor/Sessions/KeyedCacheSessions.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/vapor/Sources/Vapor/Sessions/MemorySessions.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/vapor/Sources/Vapor/Content/ContentCoders.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/vapor/Sources/Vapor/Utilities/Exports.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/vapor/Sources/Vapor/Response/HTTPStatus.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/vapor/Sources/Vapor/Response/Redirect.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/vapor/Sources/Vapor/Content/SingleValueGet.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/vapor/Sources/Vapor/Services/Config+Default.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/vapor/Sources/Vapor/Commands/CommandConfig+Default.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/vapor/Sources/Vapor/Services/Services+Default.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/vapor/Sources/Vapor/Client/Client.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/vapor/Sources/Vapor/Client/FoundationClient.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/vapor/Sources/Vapor/WebSocket/WebSocketClient.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/vapor/Sources/Vapor/WebSocket/NIOWebSocketClient.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/vapor/Sources/Vapor/Routing/Router+Content.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/vapor/Sources/Vapor/Content/Content.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/vapor/Sources/Vapor/Error/Abort.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/vapor/Sources/Vapor/Request/Request.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/vapor/Sources/Vapor/View/Vapor+View.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/NIOHTTP1.swiftmodule /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/NIOOpenSSL.swiftmodule /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/NIO.swiftmodule /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/HTTP.swiftmodule /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/NIOTLS.swiftmodule /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/Async.swiftmodule /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/Command.swiftmodule /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/Service.swiftmodule /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/Console.swiftmodule /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/Core.swiftmodule /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/Logging.swiftmodule /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/Debugging.swiftmodule /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/Routing.swiftmodule /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/COperatingSystem.swiftmodule /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/Random.swiftmodule /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/URLEncodedForm.swiftmodule /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/Validation.swiftmodule /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/Crypto.swiftmodule /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/Foundation.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 /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/NIOConcurrencyHelpers.swiftmodule /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/Bits.swiftmodule /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/NIOFoundationCompat.swiftmodule /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/WebSocket.swiftmodule /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/NIOWebSocket.swiftmodule /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/DatabaseKit.swiftmodule /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/TemplateKit.swiftmodule /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/Multipart.swiftmodule /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/swift-nio/Sources/CNIOSHA1/include/CNIOSHA1.h /usr/local/Cellar/libressl/3.0.2/include/openssl/asn1.h /usr/local/Cellar/libressl/3.0.2/include/openssl/tls1.h /usr/local/Cellar/libressl/3.0.2/include/openssl/dtls1.h /usr/local/Cellar/libressl/3.0.2/include/openssl/pkcs12.h /usr/local/Cellar/libressl/3.0.2/include/openssl/ssl2.h /usr/local/Cellar/libressl/3.0.2/include/openssl/pem2.h /usr/local/Cellar/libressl/3.0.2/include/openssl/ssl23.h /usr/local/Cellar/libressl/3.0.2/include/openssl/ssl3.h /usr/local/Cellar/libressl/3.0.2/include/openssl/x509v3.h /usr/local/Cellar/libressl/3.0.2/include/openssl/md5.h /usr/local/Cellar/libressl/3.0.2/include/openssl/pkcs7.h /usr/local/Cellar/libressl/3.0.2/include/openssl/x509.h /usr/local/Cellar/libressl/3.0.2/include/openssl/sha.h /usr/local/Cellar/libressl/3.0.2/include/openssl/dsa.h /usr/local/Cellar/libressl/3.0.2/include/openssl/ecdsa.h /usr/local/Cellar/libressl/3.0.2/include/openssl/rsa.h /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/swift-nio/Sources/CNIOZlib/include/CNIOZlib.h /usr/local/Cellar/libressl/3.0.2/include/openssl/obj_mac.h /usr/local/Cellar/libressl/3.0.2/include/openssl/hmac.h /usr/local/Cellar/libressl/3.0.2/include/openssl/ec.h /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/swift-nio/Sources/CNIOAtomics/include/cpp_magic.h /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/swift-nio/Sources/CNIOLinux/include/ifaddrs-android.h /usr/local/Cellar/libressl/3.0.2/include/openssl/rand.h /usr/local/Cellar/libressl/3.0.2/include/openssl/conf.h /usr/local/Cellar/libressl/3.0.2/include/openssl/opensslconf.h /usr/local/Cellar/libressl/3.0.2/include/openssl/dh.h /usr/local/Cellar/libressl/3.0.2/include/openssl/ecdh.h /usr/local/Cellar/libressl/3.0.2/include/openssl/lhash.h /usr/local/Cellar/libressl/3.0.2/include/openssl/stack.h /usr/local/Cellar/libressl/3.0.2/include/openssl/safestack.h /usr/local/Cellar/libressl/3.0.2/include/openssl/ssl.h /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/swift-nio-ssl/Sources/CNIOOpenSSL/include/c_nio_openssl.h /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/crypto/Sources/CCryptoOpenSSL/include/c_crypto_openssl.h /usr/local/Cellar/libressl/3.0.2/include/openssl/pem.h /usr/local/Cellar/libressl/3.0.2/include/openssl/bn.h /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/swift-nio/Sources/CNIODarwin/include/CNIODarwin.h /usr/local/Cellar/libressl/3.0.2/include/openssl/bio.h /usr/local/Cellar/libressl/3.0.2/include/openssl/crypto.h /usr/local/Cellar/libressl/3.0.2/include/openssl/srtp.h /usr/local/Cellar/libressl/3.0.2/include/openssl/evp.h /usr/local/Cellar/libressl/3.0.2/include/openssl/ossl_typ.h /usr/local/Cellar/libressl/3.0.2/include/openssl/buffer.h /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/swift-nio/Sources/CNIOHTTPParser/include/CNIOHTTPParser.h /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/swift-nio/Sources/CNIOHTTPParser/include/c_nio_http_parser.h /usr/local/Cellar/libressl/3.0.2/include/openssl/err.h /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/swift-nio/Sources/CNIOAtomics/include/CNIOAtomics.h /usr/local/Cellar/libressl/3.0.2/include/openssl/opensslfeatures.h /usr/local/Cellar/libressl/3.0.2/include/openssl/objects.h /usr/local/Cellar/libressl/3.0.2/include/openssl/opensslv.h /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/swift-nio/Sources/CNIOLinux/include/CNIOLinux.h /usr/local/Cellar/libressl/3.0.2/include/openssl/x509_vfy.h /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/CNIOSHA1.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/NIOHTTP1.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/SQL.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/PostgreSQL.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/FluentPostgreSQL.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/FluentSQL.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/NIOOpenSSL.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/CNIOOpenSSL.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/CCryptoOpenSSL.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/NIO.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/HTTP.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/NIOTLS.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/CNIOZlib.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/Async.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/Command.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/Service.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/Console.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/Core.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/SQLite.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/FluentSQLite.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/NIOPriorityQueue.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/Logging.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/Debugging.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/Routing.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/SQLBenchmark.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/FluentBenchmark.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/COperatingSystem.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/Random.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/URLEncodedForm.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/CNIODarwin.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/Authentication.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/Validation.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/Crypto.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/App.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/CNIOHTTPParser.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/Vapor.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/CNIOAtomics.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/Redis.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/NIOConcurrencyHelpers.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/Bits.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/NIOFoundationCompat.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/WebSocket.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/NIOWebSocket.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/DatabaseKit.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/TemplateKit.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/Fluent.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/Multipart.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/CNIOLinux.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/crypto/Sources/CBase32/include/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/crypto/Sources/CBcrypt/include/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/swift-nio-zlib-support/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/swift-nio-ssl-support/module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/usr/include/xpc/XPC.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.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/MacOSX10.15.sdk/usr/include/Darwin.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/System/Library/Frameworks/ApplicationServices.framework/Headers/ApplicationServices.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/System/Library/Frameworks/CoreText.framework/Headers/CoreText.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/System/Library/Frameworks/Security.framework/Headers/Security.apinotes
/Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/Vapor.build/Server/NIOServerConfig~partial.swiftsourceinfo : /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/vapor/Sources/Vapor/Utilities/FileIO.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/vapor/Sources/Vapor/Content/FormDataCoder+HTTP.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/vapor/Sources/Vapor/Sessions/SessionData.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/vapor/Sources/Vapor/Utilities/Thread.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/vapor/Sources/Vapor/Content/URLEncoded.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/vapor/Sources/Vapor/Deprecated.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/vapor/Sources/Vapor/Commands/ServeCommand.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/vapor/Sources/Vapor/Commands/RoutesCommand.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/vapor/Sources/Vapor/Commands/BootCommand.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/vapor/Sources/Vapor/Routing/Router+Method.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/vapor/Sources/Vapor/Sessions/SessionCache.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/vapor/Sources/Vapor/Response/ResponseCodable.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/vapor/Sources/Vapor/Request/RequestCodable.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/vapor/Sources/Vapor/Routing/Router+Middleware.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/vapor/Sources/Vapor/Middleware/Middleware.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/vapor/Sources/Vapor/Middleware/CORSMiddleware.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/vapor/Sources/Vapor/Middleware/FileMiddleware.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/vapor/Sources/Vapor/Middleware/DateMiddleware.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/vapor/Sources/Vapor/Middleware/ErrorMiddleware.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/vapor/Sources/Vapor/Sessions/SessionsMiddleware.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/vapor/Sources/Vapor/Routing/Router+LazyMiddleware.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/vapor/Sources/Vapor/Response/Response.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/vapor/Sources/Vapor/Utilities/AnyResponse.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/vapor/Sources/Vapor/Middleware/MiddlewareConfig.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/vapor/Sources/Vapor/Server/NIOServerConfig.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/vapor/Sources/Vapor/Sessions/SessionsConfig.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/vapor/Sources/Vapor/Content/ContentConfig.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/vapor/Sources/Vapor/Request/HTTPMethod+String.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/vapor/Sources/Vapor/Routing/Router+Path.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/vapor/Sources/Vapor/Content/JSONCoder+Custom.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/vapor/Sources/Vapor/Sessions/Request+Session.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/vapor/Sources/Vapor/Sessions/Session.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/vapor/Sources/Vapor/Application.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/vapor/Sources/Vapor/Routing/RouteCollection.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/vapor/Sources/Vapor/Routing/Router+Function.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/vapor/Sources/Vapor/Services/VaporProvider.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/vapor/Sources/Vapor/Response/Responder.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/vapor/Sources/Vapor/Response/BasicResponder.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/vapor/Sources/Vapor/Response/ApplicationResponder.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/vapor/Sources/Vapor/WebSocket/WebSocketResponder.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/vapor/Sources/Vapor/Content/PlaintextEncoder.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/vapor/Sources/Vapor/Content/HTTPMessageContainer.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/vapor/Sources/Vapor/Routing/ParametersContainer.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/vapor/Sources/Vapor/Content/ContentContainer.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/vapor/Sources/Vapor/Content/QueryContainer.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/vapor/Sources/Vapor/Routing/Router.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/vapor/Sources/Vapor/Routing/EngineRouter.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/vapor/Sources/Vapor/Server/Server.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/vapor/Sources/Vapor/Server/NIOServer.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/vapor/Sources/Vapor/Server/RunningServer.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/vapor/Sources/Vapor/WebSocket/WebSocketServer.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/vapor/Sources/Vapor/WebSocket/NIOWebSocketServer.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/vapor/Sources/Vapor/Error/Error.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/vapor/Sources/Vapor/Logging/Logger+LogError.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/vapor/Sources/Vapor/Error/AbortError.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/vapor/Sources/Vapor/Sessions/Sessions.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/vapor/Sources/Vapor/Sessions/KeyedCacheSessions.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/vapor/Sources/Vapor/Sessions/MemorySessions.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/vapor/Sources/Vapor/Content/ContentCoders.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/vapor/Sources/Vapor/Utilities/Exports.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/vapor/Sources/Vapor/Response/HTTPStatus.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/vapor/Sources/Vapor/Response/Redirect.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/vapor/Sources/Vapor/Content/SingleValueGet.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/vapor/Sources/Vapor/Services/Config+Default.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/vapor/Sources/Vapor/Commands/CommandConfig+Default.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/vapor/Sources/Vapor/Services/Services+Default.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/vapor/Sources/Vapor/Client/Client.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/vapor/Sources/Vapor/Client/FoundationClient.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/vapor/Sources/Vapor/WebSocket/WebSocketClient.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/vapor/Sources/Vapor/WebSocket/NIOWebSocketClient.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/vapor/Sources/Vapor/Routing/Router+Content.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/vapor/Sources/Vapor/Content/Content.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/vapor/Sources/Vapor/Error/Abort.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/vapor/Sources/Vapor/Request/Request.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/vapor/Sources/Vapor/View/Vapor+View.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/NIOHTTP1.swiftmodule /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/NIOOpenSSL.swiftmodule /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/NIO.swiftmodule /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/HTTP.swiftmodule /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/NIOTLS.swiftmodule /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/Async.swiftmodule /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/Command.swiftmodule /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/Service.swiftmodule /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/Console.swiftmodule /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/Core.swiftmodule /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/Logging.swiftmodule /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/Debugging.swiftmodule /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/Routing.swiftmodule /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/COperatingSystem.swiftmodule /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/Random.swiftmodule /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/URLEncodedForm.swiftmodule /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/Validation.swiftmodule /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/Crypto.swiftmodule /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/Foundation.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 /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/NIOConcurrencyHelpers.swiftmodule /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/Bits.swiftmodule /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/NIOFoundationCompat.swiftmodule /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/WebSocket.swiftmodule /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/NIOWebSocket.swiftmodule /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/DatabaseKit.swiftmodule /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/TemplateKit.swiftmodule /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/Multipart.swiftmodule /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/swift-nio/Sources/CNIOSHA1/include/CNIOSHA1.h /usr/local/Cellar/libressl/3.0.2/include/openssl/asn1.h /usr/local/Cellar/libressl/3.0.2/include/openssl/tls1.h /usr/local/Cellar/libressl/3.0.2/include/openssl/dtls1.h /usr/local/Cellar/libressl/3.0.2/include/openssl/pkcs12.h /usr/local/Cellar/libressl/3.0.2/include/openssl/ssl2.h /usr/local/Cellar/libressl/3.0.2/include/openssl/pem2.h /usr/local/Cellar/libressl/3.0.2/include/openssl/ssl23.h /usr/local/Cellar/libressl/3.0.2/include/openssl/ssl3.h /usr/local/Cellar/libressl/3.0.2/include/openssl/x509v3.h /usr/local/Cellar/libressl/3.0.2/include/openssl/md5.h /usr/local/Cellar/libressl/3.0.2/include/openssl/pkcs7.h /usr/local/Cellar/libressl/3.0.2/include/openssl/x509.h /usr/local/Cellar/libressl/3.0.2/include/openssl/sha.h /usr/local/Cellar/libressl/3.0.2/include/openssl/dsa.h /usr/local/Cellar/libressl/3.0.2/include/openssl/ecdsa.h /usr/local/Cellar/libressl/3.0.2/include/openssl/rsa.h /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/swift-nio/Sources/CNIOZlib/include/CNIOZlib.h /usr/local/Cellar/libressl/3.0.2/include/openssl/obj_mac.h /usr/local/Cellar/libressl/3.0.2/include/openssl/hmac.h /usr/local/Cellar/libressl/3.0.2/include/openssl/ec.h /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/swift-nio/Sources/CNIOAtomics/include/cpp_magic.h /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/swift-nio/Sources/CNIOLinux/include/ifaddrs-android.h /usr/local/Cellar/libressl/3.0.2/include/openssl/rand.h /usr/local/Cellar/libressl/3.0.2/include/openssl/conf.h /usr/local/Cellar/libressl/3.0.2/include/openssl/opensslconf.h /usr/local/Cellar/libressl/3.0.2/include/openssl/dh.h /usr/local/Cellar/libressl/3.0.2/include/openssl/ecdh.h /usr/local/Cellar/libressl/3.0.2/include/openssl/lhash.h /usr/local/Cellar/libressl/3.0.2/include/openssl/stack.h /usr/local/Cellar/libressl/3.0.2/include/openssl/safestack.h /usr/local/Cellar/libressl/3.0.2/include/openssl/ssl.h /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/swift-nio-ssl/Sources/CNIOOpenSSL/include/c_nio_openssl.h /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/crypto/Sources/CCryptoOpenSSL/include/c_crypto_openssl.h /usr/local/Cellar/libressl/3.0.2/include/openssl/pem.h /usr/local/Cellar/libressl/3.0.2/include/openssl/bn.h /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/swift-nio/Sources/CNIODarwin/include/CNIODarwin.h /usr/local/Cellar/libressl/3.0.2/include/openssl/bio.h /usr/local/Cellar/libressl/3.0.2/include/openssl/crypto.h /usr/local/Cellar/libressl/3.0.2/include/openssl/srtp.h /usr/local/Cellar/libressl/3.0.2/include/openssl/evp.h /usr/local/Cellar/libressl/3.0.2/include/openssl/ossl_typ.h /usr/local/Cellar/libressl/3.0.2/include/openssl/buffer.h /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/swift-nio/Sources/CNIOHTTPParser/include/CNIOHTTPParser.h /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/swift-nio/Sources/CNIOHTTPParser/include/c_nio_http_parser.h /usr/local/Cellar/libressl/3.0.2/include/openssl/err.h /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/swift-nio/Sources/CNIOAtomics/include/CNIOAtomics.h /usr/local/Cellar/libressl/3.0.2/include/openssl/opensslfeatures.h /usr/local/Cellar/libressl/3.0.2/include/openssl/objects.h /usr/local/Cellar/libressl/3.0.2/include/openssl/opensslv.h /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/swift-nio/Sources/CNIOLinux/include/CNIOLinux.h /usr/local/Cellar/libressl/3.0.2/include/openssl/x509_vfy.h /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/CNIOSHA1.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/NIOHTTP1.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/SQL.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/PostgreSQL.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/FluentPostgreSQL.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/FluentSQL.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/NIOOpenSSL.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/CNIOOpenSSL.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/CCryptoOpenSSL.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/NIO.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/HTTP.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/NIOTLS.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/CNIOZlib.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/Async.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/Command.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/Service.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/Console.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/Core.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/SQLite.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/FluentSQLite.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/NIOPriorityQueue.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/Logging.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/Debugging.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/Routing.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/SQLBenchmark.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/FluentBenchmark.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/COperatingSystem.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/Random.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/URLEncodedForm.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/CNIODarwin.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/Authentication.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/Validation.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/Crypto.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/App.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/CNIOHTTPParser.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/Vapor.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/CNIOAtomics.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/Redis.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/NIOConcurrencyHelpers.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/Bits.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/NIOFoundationCompat.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/WebSocket.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/NIOWebSocket.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/DatabaseKit.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/TemplateKit.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/Fluent.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/Multipart.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/CNIOLinux.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/crypto/Sources/CBase32/include/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/crypto/Sources/CBcrypt/include/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/swift-nio-zlib-support/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/swift-nio-ssl-support/module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/usr/include/xpc/XPC.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.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/MacOSX10.15.sdk/usr/include/Darwin.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/System/Library/Frameworks/ApplicationServices.framework/Headers/ApplicationServices.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/System/Library/Frameworks/CoreText.framework/Headers/CoreText.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/System/Library/Frameworks/Security.framework/Headers/Security.apinotes
|
D
|
/Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/x86_64-apple-macosx/debug/SQL.build/SQLCreateIndexBuilder.swift.o : /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/sql/Sources/SQL/SQLBind.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/sql/Sources/SQL/SQLJoinMethod.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/sql/Sources/SQL/SQLTable.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/sql/Sources/SQL/SQLCreateTable.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/sql/Sources/SQL/SQLDropTable.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/sql/Sources/SQL/SQLAlterTable.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/sql/Sources/SQL/SQLSerializable.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/sql/Sources/SQL/SQLDataType.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/sql/Sources/SQL/SQLUpdate.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/sql/Sources/SQL/SQLDelete.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/sql/Sources/SQL/SQLLiteral.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/sql/Sources/SQL/SQLBoolLiteral.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/sql/Sources/SQL/SQLDefaultLiteral.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/sql/Sources/SQL/SQLTableConstraintAlgorithm.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/sql/Sources/SQL/SQLColumnConstraintAlgorithm.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/sql/Sources/SQL/SQLJoin.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/sql/Sources/SQL/SQLExpression.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/sql/Sources/SQL/SQLSelectExpression.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/sql/Sources/SQL/SQLCollation.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/sql/Sources/SQL/SQLForeignKeyAction.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/sql/Sources/SQL/SQLConnection.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/sql/Sources/SQL/SQLDirection.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/sql/Sources/SQL/SQLFunction.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/sql/Sources/SQL/SQLColumnDefinition.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/sql/Sources/SQL/SQLCreateTableBuilder.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/sql/Sources/SQL/SQLDropTableBuilder.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/sql/Sources/SQL/SQLAlterTableBuilder.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/sql/Sources/SQL/SQLPredicateBuilder.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/sql/Sources/SQL/SQLUpdateBuilder.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/sql/Sources/SQL/SQLDeleteBuilder.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/sql/Sources/SQL/SQLColumnBuilder.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/sql/Sources/SQL/SQLPredicateGroupBuilder.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/sql/Sources/SQL/SQLSelectBuilder.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/sql/Sources/SQL/SQLInsertBuilder.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/sql/Sources/SQL/SQLRawBuilder.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/sql/Sources/SQL/SQLCreateIndexBuilder.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/sql/Sources/SQL/SQLQueryBuilder.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/sql/Sources/SQL/SQLQueryEncoder.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/sql/Sources/SQL/SQLQueryFetcher.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/sql/Sources/SQL/SQLIndexModifier.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/sql/Sources/SQL/SQLIdentifier.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/sql/Sources/SQL/SQLTableIdentifier.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/sql/Sources/SQL/SQLColumnIdentifier.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/sql/Sources/SQL/SQLError.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/sql/Sources/SQL/SQLBinaryOperator.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/sql/Sources/SQL/Exports.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/sql/Sources/SQL/SQLSelect.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/sql/Sources/SQL/SQLDistinct.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/sql/Sources/SQL/SQLFunctionArgument.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/sql/Sources/SQL/SQLTableConstraint.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/sql/Sources/SQL/SQLColumnConstraint.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/sql/Sources/SQL/SQLInsert.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/sql/Sources/SQL/SQLCreateIndex.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/sql/Sources/SQL/SQLDropIndex.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/sql/Sources/SQL/SQLGroupBy.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/sql/Sources/SQL/SQLOrderBy.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/sql/Sources/SQL/SQLForeignKey.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/sql/Sources/SQL/SQLPrimaryKey.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/sql/Sources/SQL/SQLQuery.swift /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/ObjectiveC.swiftmodule /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/x86_64-apple-macosx/debug/NIO.swiftmodule /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/x86_64-apple-macosx/debug/Async.swiftmodule /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/x86_64-apple-macosx/debug/Service.swiftmodule /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/x86_64-apple-macosx/debug/Core.swiftmodule /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.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/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.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/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/x86_64-apple-macosx/debug/NIOConcurrencyHelpers.swiftmodule /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/x86_64-apple-macosx/debug/Bits.swiftmodule /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.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 /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/x86_64-apple-macosx/debug/DatabaseKit.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/SwiftOnoneSupport.swiftmodule /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/swift-nio/Sources/CNIOAtomics/include/cpp_magic.h /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/swift-nio/Sources/CNIOLinux/include/ifaddrs-android.h /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/swift-nio/Sources/CNIODarwin/include/CNIODarwin.h /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/swift-nio/Sources/CNIOAtomics/include/CNIOAtomics.h /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/swift-nio/Sources/CNIOLinux/include/CNIOLinux.h /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/x86_64-apple-macosx/debug/CNIOSHA1.build/module.modulemap /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/x86_64-apple-macosx/debug/CNIOOpenSSL.build/module.modulemap /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/x86_64-apple-macosx/debug/CCryptoOpenSSL.build/module.modulemap /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/x86_64-apple-macosx/debug/CNIOZlib.build/module.modulemap /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/x86_64-apple-macosx/debug/CNIODarwin.build/module.modulemap /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/x86_64-apple-macosx/debug/CNIOHTTPParser.build/module.modulemap /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/x86_64-apple-macosx/debug/CNIOAtomics.build/module.modulemap /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/x86_64-apple-macosx/debug/CNIOLinux.build/module.modulemap /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.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/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/x86_64-apple-macosx/debug/SQL.build/SQLCreateIndexBuilder~partial.swiftmodule : /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/sql/Sources/SQL/SQLBind.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/sql/Sources/SQL/SQLJoinMethod.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/sql/Sources/SQL/SQLTable.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/sql/Sources/SQL/SQLCreateTable.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/sql/Sources/SQL/SQLDropTable.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/sql/Sources/SQL/SQLAlterTable.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/sql/Sources/SQL/SQLSerializable.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/sql/Sources/SQL/SQLDataType.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/sql/Sources/SQL/SQLUpdate.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/sql/Sources/SQL/SQLDelete.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/sql/Sources/SQL/SQLLiteral.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/sql/Sources/SQL/SQLBoolLiteral.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/sql/Sources/SQL/SQLDefaultLiteral.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/sql/Sources/SQL/SQLTableConstraintAlgorithm.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/sql/Sources/SQL/SQLColumnConstraintAlgorithm.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/sql/Sources/SQL/SQLJoin.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/sql/Sources/SQL/SQLExpression.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/sql/Sources/SQL/SQLSelectExpression.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/sql/Sources/SQL/SQLCollation.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/sql/Sources/SQL/SQLForeignKeyAction.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/sql/Sources/SQL/SQLConnection.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/sql/Sources/SQL/SQLDirection.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/sql/Sources/SQL/SQLFunction.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/sql/Sources/SQL/SQLColumnDefinition.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/sql/Sources/SQL/SQLCreateTableBuilder.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/sql/Sources/SQL/SQLDropTableBuilder.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/sql/Sources/SQL/SQLAlterTableBuilder.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/sql/Sources/SQL/SQLPredicateBuilder.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/sql/Sources/SQL/SQLUpdateBuilder.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/sql/Sources/SQL/SQLDeleteBuilder.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/sql/Sources/SQL/SQLColumnBuilder.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/sql/Sources/SQL/SQLPredicateGroupBuilder.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/sql/Sources/SQL/SQLSelectBuilder.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/sql/Sources/SQL/SQLInsertBuilder.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/sql/Sources/SQL/SQLRawBuilder.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/sql/Sources/SQL/SQLCreateIndexBuilder.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/sql/Sources/SQL/SQLQueryBuilder.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/sql/Sources/SQL/SQLQueryEncoder.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/sql/Sources/SQL/SQLQueryFetcher.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/sql/Sources/SQL/SQLIndexModifier.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/sql/Sources/SQL/SQLIdentifier.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/sql/Sources/SQL/SQLTableIdentifier.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/sql/Sources/SQL/SQLColumnIdentifier.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/sql/Sources/SQL/SQLError.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/sql/Sources/SQL/SQLBinaryOperator.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/sql/Sources/SQL/Exports.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/sql/Sources/SQL/SQLSelect.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/sql/Sources/SQL/SQLDistinct.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/sql/Sources/SQL/SQLFunctionArgument.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/sql/Sources/SQL/SQLTableConstraint.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/sql/Sources/SQL/SQLColumnConstraint.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/sql/Sources/SQL/SQLInsert.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/sql/Sources/SQL/SQLCreateIndex.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/sql/Sources/SQL/SQLDropIndex.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/sql/Sources/SQL/SQLGroupBy.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/sql/Sources/SQL/SQLOrderBy.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/sql/Sources/SQL/SQLForeignKey.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/sql/Sources/SQL/SQLPrimaryKey.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/sql/Sources/SQL/SQLQuery.swift /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/ObjectiveC.swiftmodule /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/x86_64-apple-macosx/debug/NIO.swiftmodule /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/x86_64-apple-macosx/debug/Async.swiftmodule /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/x86_64-apple-macosx/debug/Service.swiftmodule /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/x86_64-apple-macosx/debug/Core.swiftmodule /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.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/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.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/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/x86_64-apple-macosx/debug/NIOConcurrencyHelpers.swiftmodule /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/x86_64-apple-macosx/debug/Bits.swiftmodule /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.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 /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/x86_64-apple-macosx/debug/DatabaseKit.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/SwiftOnoneSupport.swiftmodule /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/swift-nio/Sources/CNIOAtomics/include/cpp_magic.h /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/swift-nio/Sources/CNIOLinux/include/ifaddrs-android.h /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/swift-nio/Sources/CNIODarwin/include/CNIODarwin.h /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/swift-nio/Sources/CNIOAtomics/include/CNIOAtomics.h /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/swift-nio/Sources/CNIOLinux/include/CNIOLinux.h /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/x86_64-apple-macosx/debug/CNIOSHA1.build/module.modulemap /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/x86_64-apple-macosx/debug/CNIOOpenSSL.build/module.modulemap /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/x86_64-apple-macosx/debug/CCryptoOpenSSL.build/module.modulemap /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/x86_64-apple-macosx/debug/CNIOZlib.build/module.modulemap /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/x86_64-apple-macosx/debug/CNIODarwin.build/module.modulemap /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/x86_64-apple-macosx/debug/CNIOHTTPParser.build/module.modulemap /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/x86_64-apple-macosx/debug/CNIOAtomics.build/module.modulemap /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/x86_64-apple-macosx/debug/CNIOLinux.build/module.modulemap /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.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/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/x86_64-apple-macosx/debug/SQL.build/SQLCreateIndexBuilder~partial.swiftdoc : /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/sql/Sources/SQL/SQLBind.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/sql/Sources/SQL/SQLJoinMethod.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/sql/Sources/SQL/SQLTable.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/sql/Sources/SQL/SQLCreateTable.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/sql/Sources/SQL/SQLDropTable.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/sql/Sources/SQL/SQLAlterTable.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/sql/Sources/SQL/SQLSerializable.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/sql/Sources/SQL/SQLDataType.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/sql/Sources/SQL/SQLUpdate.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/sql/Sources/SQL/SQLDelete.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/sql/Sources/SQL/SQLLiteral.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/sql/Sources/SQL/SQLBoolLiteral.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/sql/Sources/SQL/SQLDefaultLiteral.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/sql/Sources/SQL/SQLTableConstraintAlgorithm.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/sql/Sources/SQL/SQLColumnConstraintAlgorithm.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/sql/Sources/SQL/SQLJoin.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/sql/Sources/SQL/SQLExpression.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/sql/Sources/SQL/SQLSelectExpression.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/sql/Sources/SQL/SQLCollation.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/sql/Sources/SQL/SQLForeignKeyAction.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/sql/Sources/SQL/SQLConnection.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/sql/Sources/SQL/SQLDirection.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/sql/Sources/SQL/SQLFunction.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/sql/Sources/SQL/SQLColumnDefinition.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/sql/Sources/SQL/SQLCreateTableBuilder.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/sql/Sources/SQL/SQLDropTableBuilder.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/sql/Sources/SQL/SQLAlterTableBuilder.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/sql/Sources/SQL/SQLPredicateBuilder.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/sql/Sources/SQL/SQLUpdateBuilder.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/sql/Sources/SQL/SQLDeleteBuilder.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/sql/Sources/SQL/SQLColumnBuilder.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/sql/Sources/SQL/SQLPredicateGroupBuilder.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/sql/Sources/SQL/SQLSelectBuilder.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/sql/Sources/SQL/SQLInsertBuilder.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/sql/Sources/SQL/SQLRawBuilder.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/sql/Sources/SQL/SQLCreateIndexBuilder.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/sql/Sources/SQL/SQLQueryBuilder.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/sql/Sources/SQL/SQLQueryEncoder.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/sql/Sources/SQL/SQLQueryFetcher.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/sql/Sources/SQL/SQLIndexModifier.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/sql/Sources/SQL/SQLIdentifier.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/sql/Sources/SQL/SQLTableIdentifier.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/sql/Sources/SQL/SQLColumnIdentifier.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/sql/Sources/SQL/SQLError.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/sql/Sources/SQL/SQLBinaryOperator.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/sql/Sources/SQL/Exports.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/sql/Sources/SQL/SQLSelect.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/sql/Sources/SQL/SQLDistinct.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/sql/Sources/SQL/SQLFunctionArgument.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/sql/Sources/SQL/SQLTableConstraint.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/sql/Sources/SQL/SQLColumnConstraint.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/sql/Sources/SQL/SQLInsert.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/sql/Sources/SQL/SQLCreateIndex.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/sql/Sources/SQL/SQLDropIndex.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/sql/Sources/SQL/SQLGroupBy.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/sql/Sources/SQL/SQLOrderBy.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/sql/Sources/SQL/SQLForeignKey.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/sql/Sources/SQL/SQLPrimaryKey.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/sql/Sources/SQL/SQLQuery.swift /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/ObjectiveC.swiftmodule /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/x86_64-apple-macosx/debug/NIO.swiftmodule /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/x86_64-apple-macosx/debug/Async.swiftmodule /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/x86_64-apple-macosx/debug/Service.swiftmodule /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/x86_64-apple-macosx/debug/Core.swiftmodule /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.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/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.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/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/x86_64-apple-macosx/debug/NIOConcurrencyHelpers.swiftmodule /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/x86_64-apple-macosx/debug/Bits.swiftmodule /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.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 /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/x86_64-apple-macosx/debug/DatabaseKit.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/SwiftOnoneSupport.swiftmodule /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/swift-nio/Sources/CNIOAtomics/include/cpp_magic.h /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/swift-nio/Sources/CNIOLinux/include/ifaddrs-android.h /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/swift-nio/Sources/CNIODarwin/include/CNIODarwin.h /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/swift-nio/Sources/CNIOAtomics/include/CNIOAtomics.h /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/swift-nio/Sources/CNIOLinux/include/CNIOLinux.h /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/x86_64-apple-macosx/debug/CNIOSHA1.build/module.modulemap /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/x86_64-apple-macosx/debug/CNIOOpenSSL.build/module.modulemap /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/x86_64-apple-macosx/debug/CCryptoOpenSSL.build/module.modulemap /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/x86_64-apple-macosx/debug/CNIOZlib.build/module.modulemap /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/x86_64-apple-macosx/debug/CNIODarwin.build/module.modulemap /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/x86_64-apple-macosx/debug/CNIOHTTPParser.build/module.modulemap /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/x86_64-apple-macosx/debug/CNIOAtomics.build/module.modulemap /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/x86_64-apple-macosx/debug/CNIOLinux.build/module.modulemap /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.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
|
/Users/janearnonobal/POC-workspace/Bray_workspace/mamo/mamocode/contacts/Contacts/build/Contacts.build/Debug-iphonesimulator/Contacts.build/Objects-normal/x86_64/Contacts.o : /Users/janearnonobal/POC-workspace/Bray_workspace/mamo/mamocode/contacts/Contacts/Contacts/APIService/APIService.swift /Users/janearnonobal/POC-workspace/Bray_workspace/mamo/mamocode/contacts/Contacts/Contacts/SceneDelegate.swift /Users/janearnonobal/POC-workspace/Bray_workspace/mamo/mamocode/contacts/Contacts/Contacts/AppDelegate.swift /Users/janearnonobal/POC-workspace/Bray_workspace/mamo/mamocode/contacts/Contacts/Contacts/ViewModels/ContactsViewModel.swift /Users/janearnonobal/POC-workspace/Bray_workspace/mamo/mamocode/contacts/Contacts/Contacts/Controllers/ViewController.swift /Users/janearnonobal/POC-workspace/Bray_workspace/mamo/mamocode/contacts/Contacts/Contacts/Models/Contacts.swift /Users/janearnonobal/POC-workspace/Bray_workspace/mamo/mamocode/contacts/Contacts/Contacts/Models/FreqContacts.swift /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/usr/lib/swift/ObjectiveC.swiftmodule/x86_64-apple-ios-simulator.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/usr/lib/swift/CoreImage.swiftmodule/x86_64-apple-ios-simulator.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/System/Library/Frameworks/Combine.framework/Modules/Combine.swiftmodule/x86_64-apple-ios-simulator.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/usr/lib/swift/QuartzCore.swiftmodule/x86_64-apple-ios-simulator.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/usr/lib/swift/Dispatch.swiftmodule/x86_64-apple-ios-simulator.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/usr/lib/swift/Metal.swiftmodule/x86_64-apple-ios-simulator.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/usr/lib/swift/Darwin.swiftmodule/x86_64-apple-ios-simulator.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/usr/lib/swift/Foundation.swiftmodule/x86_64-apple-ios-simulator.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/usr/lib/swift/CoreFoundation.swiftmodule/x86_64-apple-ios-simulator.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/usr/lib/swift/CoreGraphics.swiftmodule/x86_64-apple-ios-simulator.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/usr/lib/swift/Swift.swiftmodule/x86_64-apple-ios-simulator.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/usr/lib/swift/UIKit.swiftmodule/x86_64-apple-ios-simulator.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/usr/lib/swift/SwiftOnoneSupport.swiftmodule/x86_64-apple-ios-simulator.swiftinterface /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/14.5/ObjectiveC.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/14.5/CoreImage.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/14.5/Combine.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/14.5/QuartzCore.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/14.5/Dispatch.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/14.5/Metal.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/14.5/Darwin.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/14.5/Foundation.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/14.5/CoreFoundation.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/14.5/CoreGraphics.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/14.5/Swift.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/14.5/UIKit.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/14.5/SwiftOnoneSupport.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/usr/include/mach-o/dyld.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/usr/include/mach-o/compact_unwind_encoding.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/usr/include/objc/ObjectiveC.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/OpenGLES.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CoreImage.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/QuartzCore.apinotes /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/apinotes/Dispatch.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/System/Library/Frameworks/Metal.framework/Headers/Metal.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/usr/include/Darwin.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UserNotifications.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKit.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/System/Library/Frameworks/CoreText.framework/Headers/CoreText.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/System/Library/Frameworks/Security.framework/Headers/Security.apinotes
/Users/janearnonobal/POC-workspace/Bray_workspace/mamo/mamocode/contacts/Contacts/build/Contacts.build/Debug-iphonesimulator/Contacts.build/Objects-normal/x86_64/Contacts~partial.swiftmodule : /Users/janearnonobal/POC-workspace/Bray_workspace/mamo/mamocode/contacts/Contacts/Contacts/APIService/APIService.swift /Users/janearnonobal/POC-workspace/Bray_workspace/mamo/mamocode/contacts/Contacts/Contacts/SceneDelegate.swift /Users/janearnonobal/POC-workspace/Bray_workspace/mamo/mamocode/contacts/Contacts/Contacts/AppDelegate.swift /Users/janearnonobal/POC-workspace/Bray_workspace/mamo/mamocode/contacts/Contacts/Contacts/ViewModels/ContactsViewModel.swift /Users/janearnonobal/POC-workspace/Bray_workspace/mamo/mamocode/contacts/Contacts/Contacts/Controllers/ViewController.swift /Users/janearnonobal/POC-workspace/Bray_workspace/mamo/mamocode/contacts/Contacts/Contacts/Models/Contacts.swift /Users/janearnonobal/POC-workspace/Bray_workspace/mamo/mamocode/contacts/Contacts/Contacts/Models/FreqContacts.swift /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/usr/lib/swift/ObjectiveC.swiftmodule/x86_64-apple-ios-simulator.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/usr/lib/swift/CoreImage.swiftmodule/x86_64-apple-ios-simulator.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/System/Library/Frameworks/Combine.framework/Modules/Combine.swiftmodule/x86_64-apple-ios-simulator.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/usr/lib/swift/QuartzCore.swiftmodule/x86_64-apple-ios-simulator.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/usr/lib/swift/Dispatch.swiftmodule/x86_64-apple-ios-simulator.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/usr/lib/swift/Metal.swiftmodule/x86_64-apple-ios-simulator.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/usr/lib/swift/Darwin.swiftmodule/x86_64-apple-ios-simulator.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/usr/lib/swift/Foundation.swiftmodule/x86_64-apple-ios-simulator.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/usr/lib/swift/CoreFoundation.swiftmodule/x86_64-apple-ios-simulator.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/usr/lib/swift/CoreGraphics.swiftmodule/x86_64-apple-ios-simulator.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/usr/lib/swift/Swift.swiftmodule/x86_64-apple-ios-simulator.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/usr/lib/swift/UIKit.swiftmodule/x86_64-apple-ios-simulator.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/usr/lib/swift/SwiftOnoneSupport.swiftmodule/x86_64-apple-ios-simulator.swiftinterface /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/14.5/ObjectiveC.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/14.5/CoreImage.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/14.5/Combine.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/14.5/QuartzCore.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/14.5/Dispatch.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/14.5/Metal.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/14.5/Darwin.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/14.5/Foundation.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/14.5/CoreFoundation.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/14.5/CoreGraphics.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/14.5/Swift.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/14.5/UIKit.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/14.5/SwiftOnoneSupport.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/usr/include/mach-o/dyld.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/usr/include/mach-o/compact_unwind_encoding.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/usr/include/objc/ObjectiveC.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/OpenGLES.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CoreImage.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/QuartzCore.apinotes /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/apinotes/Dispatch.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/System/Library/Frameworks/Metal.framework/Headers/Metal.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/usr/include/Darwin.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UserNotifications.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKit.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/System/Library/Frameworks/CoreText.framework/Headers/CoreText.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/System/Library/Frameworks/Security.framework/Headers/Security.apinotes
/Users/janearnonobal/POC-workspace/Bray_workspace/mamo/mamocode/contacts/Contacts/build/Contacts.build/Debug-iphonesimulator/Contacts.build/Objects-normal/x86_64/Contacts~partial.swiftdoc : /Users/janearnonobal/POC-workspace/Bray_workspace/mamo/mamocode/contacts/Contacts/Contacts/APIService/APIService.swift /Users/janearnonobal/POC-workspace/Bray_workspace/mamo/mamocode/contacts/Contacts/Contacts/SceneDelegate.swift /Users/janearnonobal/POC-workspace/Bray_workspace/mamo/mamocode/contacts/Contacts/Contacts/AppDelegate.swift /Users/janearnonobal/POC-workspace/Bray_workspace/mamo/mamocode/contacts/Contacts/Contacts/ViewModels/ContactsViewModel.swift /Users/janearnonobal/POC-workspace/Bray_workspace/mamo/mamocode/contacts/Contacts/Contacts/Controllers/ViewController.swift /Users/janearnonobal/POC-workspace/Bray_workspace/mamo/mamocode/contacts/Contacts/Contacts/Models/Contacts.swift /Users/janearnonobal/POC-workspace/Bray_workspace/mamo/mamocode/contacts/Contacts/Contacts/Models/FreqContacts.swift /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/usr/lib/swift/ObjectiveC.swiftmodule/x86_64-apple-ios-simulator.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/usr/lib/swift/CoreImage.swiftmodule/x86_64-apple-ios-simulator.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/System/Library/Frameworks/Combine.framework/Modules/Combine.swiftmodule/x86_64-apple-ios-simulator.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/usr/lib/swift/QuartzCore.swiftmodule/x86_64-apple-ios-simulator.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/usr/lib/swift/Dispatch.swiftmodule/x86_64-apple-ios-simulator.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/usr/lib/swift/Metal.swiftmodule/x86_64-apple-ios-simulator.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/usr/lib/swift/Darwin.swiftmodule/x86_64-apple-ios-simulator.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/usr/lib/swift/Foundation.swiftmodule/x86_64-apple-ios-simulator.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/usr/lib/swift/CoreFoundation.swiftmodule/x86_64-apple-ios-simulator.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/usr/lib/swift/CoreGraphics.swiftmodule/x86_64-apple-ios-simulator.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/usr/lib/swift/Swift.swiftmodule/x86_64-apple-ios-simulator.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/usr/lib/swift/UIKit.swiftmodule/x86_64-apple-ios-simulator.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/usr/lib/swift/SwiftOnoneSupport.swiftmodule/x86_64-apple-ios-simulator.swiftinterface /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/14.5/ObjectiveC.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/14.5/CoreImage.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/14.5/Combine.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/14.5/QuartzCore.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/14.5/Dispatch.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/14.5/Metal.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/14.5/Darwin.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/14.5/Foundation.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/14.5/CoreFoundation.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/14.5/CoreGraphics.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/14.5/Swift.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/14.5/UIKit.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/14.5/SwiftOnoneSupport.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/usr/include/mach-o/dyld.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/usr/include/mach-o/compact_unwind_encoding.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/usr/include/objc/ObjectiveC.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/OpenGLES.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CoreImage.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/QuartzCore.apinotes /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/apinotes/Dispatch.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/System/Library/Frameworks/Metal.framework/Headers/Metal.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/usr/include/Darwin.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UserNotifications.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKit.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/System/Library/Frameworks/CoreText.framework/Headers/CoreText.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/System/Library/Frameworks/Security.framework/Headers/Security.apinotes
/Users/janearnonobal/POC-workspace/Bray_workspace/mamo/mamocode/contacts/Contacts/build/Contacts.build/Debug-iphonesimulator/Contacts.build/Objects-normal/x86_64/Contacts~partial.swiftsourceinfo : /Users/janearnonobal/POC-workspace/Bray_workspace/mamo/mamocode/contacts/Contacts/Contacts/APIService/APIService.swift /Users/janearnonobal/POC-workspace/Bray_workspace/mamo/mamocode/contacts/Contacts/Contacts/SceneDelegate.swift /Users/janearnonobal/POC-workspace/Bray_workspace/mamo/mamocode/contacts/Contacts/Contacts/AppDelegate.swift /Users/janearnonobal/POC-workspace/Bray_workspace/mamo/mamocode/contacts/Contacts/Contacts/ViewModels/ContactsViewModel.swift /Users/janearnonobal/POC-workspace/Bray_workspace/mamo/mamocode/contacts/Contacts/Contacts/Controllers/ViewController.swift /Users/janearnonobal/POC-workspace/Bray_workspace/mamo/mamocode/contacts/Contacts/Contacts/Models/Contacts.swift /Users/janearnonobal/POC-workspace/Bray_workspace/mamo/mamocode/contacts/Contacts/Contacts/Models/FreqContacts.swift /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/usr/lib/swift/ObjectiveC.swiftmodule/x86_64-apple-ios-simulator.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/usr/lib/swift/CoreImage.swiftmodule/x86_64-apple-ios-simulator.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/System/Library/Frameworks/Combine.framework/Modules/Combine.swiftmodule/x86_64-apple-ios-simulator.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/usr/lib/swift/QuartzCore.swiftmodule/x86_64-apple-ios-simulator.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/usr/lib/swift/Dispatch.swiftmodule/x86_64-apple-ios-simulator.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/usr/lib/swift/Metal.swiftmodule/x86_64-apple-ios-simulator.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/usr/lib/swift/Darwin.swiftmodule/x86_64-apple-ios-simulator.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/usr/lib/swift/Foundation.swiftmodule/x86_64-apple-ios-simulator.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/usr/lib/swift/CoreFoundation.swiftmodule/x86_64-apple-ios-simulator.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/usr/lib/swift/CoreGraphics.swiftmodule/x86_64-apple-ios-simulator.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/usr/lib/swift/Swift.swiftmodule/x86_64-apple-ios-simulator.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/usr/lib/swift/UIKit.swiftmodule/x86_64-apple-ios-simulator.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/usr/lib/swift/SwiftOnoneSupport.swiftmodule/x86_64-apple-ios-simulator.swiftinterface /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/14.5/ObjectiveC.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/14.5/CoreImage.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/14.5/Combine.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/14.5/QuartzCore.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/14.5/Dispatch.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/14.5/Metal.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/14.5/Darwin.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/14.5/Foundation.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/14.5/CoreFoundation.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/14.5/CoreGraphics.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/14.5/Swift.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/14.5/UIKit.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/14.5/SwiftOnoneSupport.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/usr/include/mach-o/dyld.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/usr/include/mach-o/compact_unwind_encoding.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/usr/include/objc/ObjectiveC.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/OpenGLES.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CoreImage.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/QuartzCore.apinotes /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/apinotes/Dispatch.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/System/Library/Frameworks/Metal.framework/Headers/Metal.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/usr/include/Darwin.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UserNotifications.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKit.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/System/Library/Frameworks/CoreText.framework/Headers/CoreText.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/System/Library/Frameworks/Security.framework/Headers/Security.apinotes
|
D
|
// *********
// SPL_Unsichtbarkeit
// *********
const int SPL_Cost_Unsichtbarkeit = 10;
INSTANCE Spell_Unsichtbarkeit (C_Spell_Proto)
{
time_per_mana = 500;
spelltype = SPELL_NEUTRAL;
targetCollectAlgo = TARGET_COLLECT_NONE;
targetCollectRange = 0;
targetCollectAzi = 0;
targetCollectElev = 0;
};
// ------ SPL_Unsichtbarkeit ------
func int Spell_Logic_Unsichtbarkeit(var int manaInvested)
{
if (Npc_GetActiveSpellIsScroll(self) && (self.attribute[ATR_MANA] >= SPL_Cost_Scroll))
{
return SPL_SENDCAST;
}
else if (self.attribute[ATR_MANA] >= SPL_Cost_Unsichtbarkeit)
{
return SPL_SENDCAST;
}
else //nicht genug Mana
{
return SPL_SENDSTOP;
};
};
func void Spell_Cast_Unsichtbarkeit()
{
if (Npc_GetActiveSpellIsScroll(self))
{
self.attribute[ATR_MANA] = self.attribute[ATR_MANA] - SPL_Cost_Scroll;
}
else
{
self.attribute[ATR_MANA] = self.attribute[ATR_MANA] - SPL_Cost_Unsichtbarkeit;
};
if (Unsichtbarkeitsperk == FALSE)
{
hero.flags = NPC_FLAG_GHOST;
Unsichtbarkeitsperk = True;
AI_Teleport (hero, "PC_HERO");
}
else
{
hero.flags = 0;
Unsichtbarkeitsperk = FALSE;
AI_Teleport (hero, "PC_HERO");
};
self.aivar[AIV_SelectSpell] += 1;
};
|
D
|
/Users/michaelstromer/Documents/Codes/BlogBase/Build/Intermediates/BlogBase.build/Debug-iphoneos/BlogBase.build/Objects-normal/arm64/DetailViewController.o : /Users/michaelstromer/Documents/Codes/BlogBase/BlogBase/AppDelegate.swift /Users/michaelstromer/Documents/Codes/BlogBase/BlogBase/MasterViewController.swift /Users/michaelstromer/Documents/Codes/BlogBase/BlogBase/DetailViewController.swift /Users/michaelstromer/Documents/Codes/BlogBase/BlogBase/PostViewController.swift /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/Swift.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/Darwin.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/UIKit.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/Foundation.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/Dispatch.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/ObjectiveC.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/CoreGraphics.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/Security.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/CoreImage.swiftmodule
/Users/michaelstromer/Documents/Codes/BlogBase/Build/Intermediates/BlogBase.build/Debug-iphoneos/BlogBase.build/Objects-normal/arm64/DetailViewController~partial.swiftmodule : /Users/michaelstromer/Documents/Codes/BlogBase/BlogBase/AppDelegate.swift /Users/michaelstromer/Documents/Codes/BlogBase/BlogBase/MasterViewController.swift /Users/michaelstromer/Documents/Codes/BlogBase/BlogBase/DetailViewController.swift /Users/michaelstromer/Documents/Codes/BlogBase/BlogBase/PostViewController.swift /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/Swift.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/Darwin.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/UIKit.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/Foundation.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/Dispatch.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/ObjectiveC.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/CoreGraphics.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/Security.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/CoreImage.swiftmodule
/Users/michaelstromer/Documents/Codes/BlogBase/Build/Intermediates/BlogBase.build/Debug-iphoneos/BlogBase.build/Objects-normal/arm64/DetailViewController~partial.swiftdoc : /Users/michaelstromer/Documents/Codes/BlogBase/BlogBase/AppDelegate.swift /Users/michaelstromer/Documents/Codes/BlogBase/BlogBase/MasterViewController.swift /Users/michaelstromer/Documents/Codes/BlogBase/BlogBase/DetailViewController.swift /Users/michaelstromer/Documents/Codes/BlogBase/BlogBase/PostViewController.swift /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/Swift.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/Darwin.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/UIKit.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/Foundation.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/Dispatch.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/ObjectiveC.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/CoreGraphics.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/Security.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/CoreImage.swiftmodule
|
D
|
// Copyright 2018 - 2021 Michael D. Parker
// 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 bindbc.sdl.bind.sdlpower;
import bindbc.sdl.config;
enum SDL_PowerState {
SDL_POWERSTATE_UNKNOWN,
SDL_POWERSTATE_ON_BATTERY,
SDL_POWERSTATE_NO_BATTERY,
SDL_POWERSTATE_CHARGING,
SDL_POWERSTATE_CHARGED
}
mixin(expandEnum!SDL_PowerState);
static if(staticBinding) {
extern(C) @nogc nothrow {
SDL_PowerState SDL_GetPowerInfo(int* secs, int* pct);
}
}
else {
extern(C) @nogc nothrow {
alias pSDL_GetPowerInfo = SDL_PowerState function(int* secs, int* pct);
}
__gshared {
pSDL_GetPowerInfo SDL_GetPowerInfo;
}
}
|
D
|
/Users/user/Documents/RiseTimeAssets/server/.build/x86_64-apple-macosx10.10/debug/TemplateKit.build/AST/TemplateConditional.swift.o : /Users/user/Documents/RiseTimeAssets/server/.build/checkouts/template-kit.git--6129928586187134836/Sources/TemplateKit/Data/TemplateData.swift /Users/user/Documents/RiseTimeAssets/server/.build/checkouts/template-kit.git--6129928586187134836/Sources/TemplateKit/AST/TemplateEmbed.swift /Users/user/Documents/RiseTimeAssets/server/.build/checkouts/template-kit.git--6129928586187134836/Sources/TemplateKit/Deprecated.swift /Users/user/Documents/RiseTimeAssets/server/.build/checkouts/template-kit.git--6129928586187134836/Sources/TemplateKit/AST/TemplateSource.swift /Users/user/Documents/RiseTimeAssets/server/.build/checkouts/template-kit.git--6129928586187134836/Sources/TemplateKit/Data/TemplateDataStorage.swift /Users/user/Documents/RiseTimeAssets/server/.build/checkouts/template-kit.git--6129928586187134836/Sources/TemplateKit/Pipeline/ASTCache.swift /Users/user/Documents/RiseTimeAssets/server/.build/checkouts/template-kit.git--6129928586187134836/Sources/TemplateKit/Data/TemplateDataRepresentable.swift /Users/user/Documents/RiseTimeAssets/server/.build/checkouts/template-kit.git--6129928586187134836/Sources/TemplateKit/Utilities/HTMLEscape.swift /Users/user/Documents/RiseTimeAssets/server/.build/checkouts/template-kit.git--6129928586187134836/Sources/TemplateKit/AST/TemplateSyntaxType.swift /Users/user/Documents/RiseTimeAssets/server/.build/checkouts/template-kit.git--6129928586187134836/Sources/TemplateKit/Tag/Uppercase.swift /Users/user/Documents/RiseTimeAssets/server/.build/checkouts/template-kit.git--6129928586187134836/Sources/TemplateKit/Tag/Lowercase.swift /Users/user/Documents/RiseTimeAssets/server/.build/checkouts/template-kit.git--6129928586187134836/Sources/TemplateKit/Tag/Capitalize.swift /Users/user/Documents/RiseTimeAssets/server/.build/checkouts/template-kit.git--6129928586187134836/Sources/TemplateKit/AST/TemplateTag.swift /Users/user/Documents/RiseTimeAssets/server/.build/checkouts/template-kit.git--6129928586187134836/Sources/TemplateKit/AST/TemplateConditional.swift /Users/user/Documents/RiseTimeAssets/server/.build/checkouts/template-kit.git--6129928586187134836/Sources/TemplateKit/AST/TemplateCustom.swift /Users/user/Documents/RiseTimeAssets/server/.build/checkouts/template-kit.git--6129928586187134836/Sources/TemplateKit/AST/TemplateExpression.swift /Users/user/Documents/RiseTimeAssets/server/.build/checkouts/template-kit.git--6129928586187134836/Sources/TemplateKit/Tag/Var.swift /Users/user/Documents/RiseTimeAssets/server/.build/checkouts/template-kit.git--6129928586187134836/Sources/TemplateKit/Data/TemplateDataEncoder.swift /Users/user/Documents/RiseTimeAssets/server/.build/checkouts/template-kit.git--6129928586187134836/Sources/TemplateKit/AST/TemplateIdentifier.swift /Users/user/Documents/RiseTimeAssets/server/.build/checkouts/template-kit.git--6129928586187134836/Sources/TemplateKit/Pipeline/TemplateByteScanner.swift /Users/user/Documents/RiseTimeAssets/server/.build/checkouts/template-kit.git--6129928586187134836/Sources/TemplateKit/Pipeline/TemplateRenderer.swift /Users/user/Documents/RiseTimeAssets/server/.build/checkouts/template-kit.git--6129928586187134836/Sources/TemplateKit/Tag/TagRenderer.swift /Users/user/Documents/RiseTimeAssets/server/.build/checkouts/template-kit.git--6129928586187134836/Sources/TemplateKit/Pipeline/PlaintextRenderer.swift /Users/user/Documents/RiseTimeAssets/server/.build/checkouts/template-kit.git--6129928586187134836/Sources/TemplateKit/ViewRenderer.swift /Users/user/Documents/RiseTimeAssets/server/.build/checkouts/template-kit.git--6129928586187134836/Sources/TemplateKit/Pipeline/TemplateParser.swift /Users/user/Documents/RiseTimeAssets/server/.build/checkouts/template-kit.git--6129928586187134836/Sources/TemplateKit/Pipeline/TemplateSerializer.swift /Users/user/Documents/RiseTimeAssets/server/.build/checkouts/template-kit.git--6129928586187134836/Sources/TemplateKit/Utilities/TemplateError.swift /Users/user/Documents/RiseTimeAssets/server/.build/checkouts/template-kit.git--6129928586187134836/Sources/TemplateKit/AST/TemplateIterator.swift /Users/user/Documents/RiseTimeAssets/server/.build/checkouts/template-kit.git--6129928586187134836/Sources/TemplateKit/Tag/Contains.swift /Users/user/Documents/RiseTimeAssets/server/.build/checkouts/template-kit.git--6129928586187134836/Sources/TemplateKit/Utilities/Exports.swift /Users/user/Documents/RiseTimeAssets/server/.build/checkouts/template-kit.git--6129928586187134836/Sources/TemplateKit/Tag/DateFormat.swift /Users/user/Documents/RiseTimeAssets/server/.build/checkouts/template-kit.git--6129928586187134836/Sources/TemplateKit/AST/TemplateConstant.swift /Users/user/Documents/RiseTimeAssets/server/.build/checkouts/template-kit.git--6129928586187134836/Sources/TemplateKit/Tag/Comment.swift /Users/user/Documents/RiseTimeAssets/server/.build/checkouts/template-kit.git--6129928586187134836/Sources/TemplateKit/Tag/Print.swift /Users/user/Documents/RiseTimeAssets/server/.build/checkouts/template-kit.git--6129928586187134836/Sources/TemplateKit/Tag/Count.swift /Users/user/Documents/RiseTimeAssets/server/.build/checkouts/template-kit.git--6129928586187134836/Sources/TemplateKit/AST/TemplateDataContext.swift /Users/user/Documents/RiseTimeAssets/server/.build/checkouts/template-kit.git--6129928586187134836/Sources/TemplateKit/Tag/TagContext.swift /Users/user/Documents/RiseTimeAssets/server/.build/checkouts/template-kit.git--6129928586187134836/Sources/TemplateKit/Tag/Raw.swift /Users/user/Documents/RiseTimeAssets/server/.build/checkouts/template-kit.git--6129928586187134836/Sources/TemplateKit/AST/TemplateRaw.swift /Users/user/Documents/RiseTimeAssets/server/.build/checkouts/template-kit.git--6129928586187134836/Sources/TemplateKit/View.swift /Users/user/Documents/RiseTimeAssets/server/.build/checkouts/template-kit.git--6129928586187134836/Sources/TemplateKit/AST/TemplateSyntax.swift /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Dispatch.apinotesc /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/ObjectiveC.swiftmodule /Users/user/Documents/RiseTimeAssets/server/.build/x86_64-apple-macosx10.10/debug/NIO.swiftmodule /Users/user/Documents/RiseTimeAssets/server/.build/x86_64-apple-macosx10.10/debug/Async.swiftmodule /Users/user/Documents/RiseTimeAssets/server/.build/x86_64-apple-macosx10.10/debug/Service.swiftmodule /Users/user/Documents/RiseTimeAssets/server/.build/x86_64-apple-macosx10.10/debug/Core.swiftmodule /Users/user/Documents/RiseTimeAssets/server/.build/x86_64-apple-macosx10.10/debug/Debugging.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Dispatch.swiftmodule /Users/user/Documents/RiseTimeAssets/server/.build/x86_64-apple-macosx10.10/debug/COperatingSystem.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Darwin.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Foundation.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/CoreFoundation.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/CoreGraphics.swiftmodule /Users/user/Documents/RiseTimeAssets/server/.build/x86_64-apple-macosx10.10/debug/NIOConcurrencyHelpers.swiftmodule /Users/user/Documents/RiseTimeAssets/server/.build/x86_64-apple-macosx10.10/debug/Bits.swiftmodule /Users/user/Documents/RiseTimeAssets/server/.build/x86_64-apple-macosx10.10/debug/NIOFoundationCompat.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Swift.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/IOKit.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/SwiftOnoneSupport.swiftmodule /Users/user/Documents/RiseTimeAssets/server/.build/checkouts/swift-nio.git-3108475404973543938/Sources/CNIOAtomics/include/cpp_magic.h /Users/user/Documents/RiseTimeAssets/server/.build/checkouts/swift-nio.git-3108475404973543938/Sources/CNIODarwin/include/c_nio_darwin.h /Users/user/Documents/RiseTimeAssets/server/.build/checkouts/swift-nio.git-3108475404973543938/Sources/CNIOAtomics/include/c-atomics.h /Users/user/Documents/RiseTimeAssets/server/.build/checkouts/swift-nio.git-3108475404973543938/Sources/CNIOLinux/include/c_nio_linux.h /Users/user/Documents/RiseTimeAssets/server/.build/checkouts/swift-nio-zlib-support.git--1071467962839356487/module.modulemap /Users/user/Documents/RiseTimeAssets/server/.build/x86_64-apple-macosx10.10/debug/CNIOSHA1.build/module.modulemap /Users/user/Documents/RiseTimeAssets/server/.build/x86_64-apple-macosx10.10/debug/CNIOOpenSSL.build/module.modulemap /Users/user/Documents/RiseTimeAssets/server/.build/x86_64-apple-macosx10.10/debug/CNIOZlib.build/module.modulemap /Users/user/Documents/RiseTimeAssets/server/.build/x86_64-apple-macosx10.10/debug/CNIODarwin.build/module.modulemap /Users/user/Documents/RiseTimeAssets/server/.build/x86_64-apple-macosx10.10/debug/CNIOHTTPParser.build/module.modulemap /Users/user/Documents/RiseTimeAssets/server/.build/x86_64-apple-macosx10.10/debug/CNIOAtomics.build/module.modulemap /Users/user/Documents/RiseTimeAssets/server/.build/x86_64-apple-macosx10.10/debug/CNIOLinux.build/module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/usr/include/objc/ObjectiveC.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/usr/include/Darwin.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/CoreText.framework/Headers/CoreText.apinotes
/Users/user/Documents/RiseTimeAssets/server/.build/x86_64-apple-macosx10.10/debug/TemplateKit.build/TemplateConditional~partial.swiftmodule : /Users/user/Documents/RiseTimeAssets/server/.build/checkouts/template-kit.git--6129928586187134836/Sources/TemplateKit/Data/TemplateData.swift /Users/user/Documents/RiseTimeAssets/server/.build/checkouts/template-kit.git--6129928586187134836/Sources/TemplateKit/AST/TemplateEmbed.swift /Users/user/Documents/RiseTimeAssets/server/.build/checkouts/template-kit.git--6129928586187134836/Sources/TemplateKit/Deprecated.swift /Users/user/Documents/RiseTimeAssets/server/.build/checkouts/template-kit.git--6129928586187134836/Sources/TemplateKit/AST/TemplateSource.swift /Users/user/Documents/RiseTimeAssets/server/.build/checkouts/template-kit.git--6129928586187134836/Sources/TemplateKit/Data/TemplateDataStorage.swift /Users/user/Documents/RiseTimeAssets/server/.build/checkouts/template-kit.git--6129928586187134836/Sources/TemplateKit/Pipeline/ASTCache.swift /Users/user/Documents/RiseTimeAssets/server/.build/checkouts/template-kit.git--6129928586187134836/Sources/TemplateKit/Data/TemplateDataRepresentable.swift /Users/user/Documents/RiseTimeAssets/server/.build/checkouts/template-kit.git--6129928586187134836/Sources/TemplateKit/Utilities/HTMLEscape.swift /Users/user/Documents/RiseTimeAssets/server/.build/checkouts/template-kit.git--6129928586187134836/Sources/TemplateKit/AST/TemplateSyntaxType.swift /Users/user/Documents/RiseTimeAssets/server/.build/checkouts/template-kit.git--6129928586187134836/Sources/TemplateKit/Tag/Uppercase.swift /Users/user/Documents/RiseTimeAssets/server/.build/checkouts/template-kit.git--6129928586187134836/Sources/TemplateKit/Tag/Lowercase.swift /Users/user/Documents/RiseTimeAssets/server/.build/checkouts/template-kit.git--6129928586187134836/Sources/TemplateKit/Tag/Capitalize.swift /Users/user/Documents/RiseTimeAssets/server/.build/checkouts/template-kit.git--6129928586187134836/Sources/TemplateKit/AST/TemplateTag.swift /Users/user/Documents/RiseTimeAssets/server/.build/checkouts/template-kit.git--6129928586187134836/Sources/TemplateKit/AST/TemplateConditional.swift /Users/user/Documents/RiseTimeAssets/server/.build/checkouts/template-kit.git--6129928586187134836/Sources/TemplateKit/AST/TemplateCustom.swift /Users/user/Documents/RiseTimeAssets/server/.build/checkouts/template-kit.git--6129928586187134836/Sources/TemplateKit/AST/TemplateExpression.swift /Users/user/Documents/RiseTimeAssets/server/.build/checkouts/template-kit.git--6129928586187134836/Sources/TemplateKit/Tag/Var.swift /Users/user/Documents/RiseTimeAssets/server/.build/checkouts/template-kit.git--6129928586187134836/Sources/TemplateKit/Data/TemplateDataEncoder.swift /Users/user/Documents/RiseTimeAssets/server/.build/checkouts/template-kit.git--6129928586187134836/Sources/TemplateKit/AST/TemplateIdentifier.swift /Users/user/Documents/RiseTimeAssets/server/.build/checkouts/template-kit.git--6129928586187134836/Sources/TemplateKit/Pipeline/TemplateByteScanner.swift /Users/user/Documents/RiseTimeAssets/server/.build/checkouts/template-kit.git--6129928586187134836/Sources/TemplateKit/Pipeline/TemplateRenderer.swift /Users/user/Documents/RiseTimeAssets/server/.build/checkouts/template-kit.git--6129928586187134836/Sources/TemplateKit/Tag/TagRenderer.swift /Users/user/Documents/RiseTimeAssets/server/.build/checkouts/template-kit.git--6129928586187134836/Sources/TemplateKit/Pipeline/PlaintextRenderer.swift /Users/user/Documents/RiseTimeAssets/server/.build/checkouts/template-kit.git--6129928586187134836/Sources/TemplateKit/ViewRenderer.swift /Users/user/Documents/RiseTimeAssets/server/.build/checkouts/template-kit.git--6129928586187134836/Sources/TemplateKit/Pipeline/TemplateParser.swift /Users/user/Documents/RiseTimeAssets/server/.build/checkouts/template-kit.git--6129928586187134836/Sources/TemplateKit/Pipeline/TemplateSerializer.swift /Users/user/Documents/RiseTimeAssets/server/.build/checkouts/template-kit.git--6129928586187134836/Sources/TemplateKit/Utilities/TemplateError.swift /Users/user/Documents/RiseTimeAssets/server/.build/checkouts/template-kit.git--6129928586187134836/Sources/TemplateKit/AST/TemplateIterator.swift /Users/user/Documents/RiseTimeAssets/server/.build/checkouts/template-kit.git--6129928586187134836/Sources/TemplateKit/Tag/Contains.swift /Users/user/Documents/RiseTimeAssets/server/.build/checkouts/template-kit.git--6129928586187134836/Sources/TemplateKit/Utilities/Exports.swift /Users/user/Documents/RiseTimeAssets/server/.build/checkouts/template-kit.git--6129928586187134836/Sources/TemplateKit/Tag/DateFormat.swift /Users/user/Documents/RiseTimeAssets/server/.build/checkouts/template-kit.git--6129928586187134836/Sources/TemplateKit/AST/TemplateConstant.swift /Users/user/Documents/RiseTimeAssets/server/.build/checkouts/template-kit.git--6129928586187134836/Sources/TemplateKit/Tag/Comment.swift /Users/user/Documents/RiseTimeAssets/server/.build/checkouts/template-kit.git--6129928586187134836/Sources/TemplateKit/Tag/Print.swift /Users/user/Documents/RiseTimeAssets/server/.build/checkouts/template-kit.git--6129928586187134836/Sources/TemplateKit/Tag/Count.swift /Users/user/Documents/RiseTimeAssets/server/.build/checkouts/template-kit.git--6129928586187134836/Sources/TemplateKit/AST/TemplateDataContext.swift /Users/user/Documents/RiseTimeAssets/server/.build/checkouts/template-kit.git--6129928586187134836/Sources/TemplateKit/Tag/TagContext.swift /Users/user/Documents/RiseTimeAssets/server/.build/checkouts/template-kit.git--6129928586187134836/Sources/TemplateKit/Tag/Raw.swift /Users/user/Documents/RiseTimeAssets/server/.build/checkouts/template-kit.git--6129928586187134836/Sources/TemplateKit/AST/TemplateRaw.swift /Users/user/Documents/RiseTimeAssets/server/.build/checkouts/template-kit.git--6129928586187134836/Sources/TemplateKit/View.swift /Users/user/Documents/RiseTimeAssets/server/.build/checkouts/template-kit.git--6129928586187134836/Sources/TemplateKit/AST/TemplateSyntax.swift /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Dispatch.apinotesc /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/ObjectiveC.swiftmodule /Users/user/Documents/RiseTimeAssets/server/.build/x86_64-apple-macosx10.10/debug/NIO.swiftmodule /Users/user/Documents/RiseTimeAssets/server/.build/x86_64-apple-macosx10.10/debug/Async.swiftmodule /Users/user/Documents/RiseTimeAssets/server/.build/x86_64-apple-macosx10.10/debug/Service.swiftmodule /Users/user/Documents/RiseTimeAssets/server/.build/x86_64-apple-macosx10.10/debug/Core.swiftmodule /Users/user/Documents/RiseTimeAssets/server/.build/x86_64-apple-macosx10.10/debug/Debugging.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Dispatch.swiftmodule /Users/user/Documents/RiseTimeAssets/server/.build/x86_64-apple-macosx10.10/debug/COperatingSystem.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Darwin.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Foundation.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/CoreFoundation.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/CoreGraphics.swiftmodule /Users/user/Documents/RiseTimeAssets/server/.build/x86_64-apple-macosx10.10/debug/NIOConcurrencyHelpers.swiftmodule /Users/user/Documents/RiseTimeAssets/server/.build/x86_64-apple-macosx10.10/debug/Bits.swiftmodule /Users/user/Documents/RiseTimeAssets/server/.build/x86_64-apple-macosx10.10/debug/NIOFoundationCompat.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Swift.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/IOKit.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/SwiftOnoneSupport.swiftmodule /Users/user/Documents/RiseTimeAssets/server/.build/checkouts/swift-nio.git-3108475404973543938/Sources/CNIOAtomics/include/cpp_magic.h /Users/user/Documents/RiseTimeAssets/server/.build/checkouts/swift-nio.git-3108475404973543938/Sources/CNIODarwin/include/c_nio_darwin.h /Users/user/Documents/RiseTimeAssets/server/.build/checkouts/swift-nio.git-3108475404973543938/Sources/CNIOAtomics/include/c-atomics.h /Users/user/Documents/RiseTimeAssets/server/.build/checkouts/swift-nio.git-3108475404973543938/Sources/CNIOLinux/include/c_nio_linux.h /Users/user/Documents/RiseTimeAssets/server/.build/checkouts/swift-nio-zlib-support.git--1071467962839356487/module.modulemap /Users/user/Documents/RiseTimeAssets/server/.build/x86_64-apple-macosx10.10/debug/CNIOSHA1.build/module.modulemap /Users/user/Documents/RiseTimeAssets/server/.build/x86_64-apple-macosx10.10/debug/CNIOOpenSSL.build/module.modulemap /Users/user/Documents/RiseTimeAssets/server/.build/x86_64-apple-macosx10.10/debug/CNIOZlib.build/module.modulemap /Users/user/Documents/RiseTimeAssets/server/.build/x86_64-apple-macosx10.10/debug/CNIODarwin.build/module.modulemap /Users/user/Documents/RiseTimeAssets/server/.build/x86_64-apple-macosx10.10/debug/CNIOHTTPParser.build/module.modulemap /Users/user/Documents/RiseTimeAssets/server/.build/x86_64-apple-macosx10.10/debug/CNIOAtomics.build/module.modulemap /Users/user/Documents/RiseTimeAssets/server/.build/x86_64-apple-macosx10.10/debug/CNIOLinux.build/module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/usr/include/objc/ObjectiveC.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/usr/include/Darwin.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/CoreText.framework/Headers/CoreText.apinotes
/Users/user/Documents/RiseTimeAssets/server/.build/x86_64-apple-macosx10.10/debug/TemplateKit.build/TemplateConditional~partial.swiftdoc : /Users/user/Documents/RiseTimeAssets/server/.build/checkouts/template-kit.git--6129928586187134836/Sources/TemplateKit/Data/TemplateData.swift /Users/user/Documents/RiseTimeAssets/server/.build/checkouts/template-kit.git--6129928586187134836/Sources/TemplateKit/AST/TemplateEmbed.swift /Users/user/Documents/RiseTimeAssets/server/.build/checkouts/template-kit.git--6129928586187134836/Sources/TemplateKit/Deprecated.swift /Users/user/Documents/RiseTimeAssets/server/.build/checkouts/template-kit.git--6129928586187134836/Sources/TemplateKit/AST/TemplateSource.swift /Users/user/Documents/RiseTimeAssets/server/.build/checkouts/template-kit.git--6129928586187134836/Sources/TemplateKit/Data/TemplateDataStorage.swift /Users/user/Documents/RiseTimeAssets/server/.build/checkouts/template-kit.git--6129928586187134836/Sources/TemplateKit/Pipeline/ASTCache.swift /Users/user/Documents/RiseTimeAssets/server/.build/checkouts/template-kit.git--6129928586187134836/Sources/TemplateKit/Data/TemplateDataRepresentable.swift /Users/user/Documents/RiseTimeAssets/server/.build/checkouts/template-kit.git--6129928586187134836/Sources/TemplateKit/Utilities/HTMLEscape.swift /Users/user/Documents/RiseTimeAssets/server/.build/checkouts/template-kit.git--6129928586187134836/Sources/TemplateKit/AST/TemplateSyntaxType.swift /Users/user/Documents/RiseTimeAssets/server/.build/checkouts/template-kit.git--6129928586187134836/Sources/TemplateKit/Tag/Uppercase.swift /Users/user/Documents/RiseTimeAssets/server/.build/checkouts/template-kit.git--6129928586187134836/Sources/TemplateKit/Tag/Lowercase.swift /Users/user/Documents/RiseTimeAssets/server/.build/checkouts/template-kit.git--6129928586187134836/Sources/TemplateKit/Tag/Capitalize.swift /Users/user/Documents/RiseTimeAssets/server/.build/checkouts/template-kit.git--6129928586187134836/Sources/TemplateKit/AST/TemplateTag.swift /Users/user/Documents/RiseTimeAssets/server/.build/checkouts/template-kit.git--6129928586187134836/Sources/TemplateKit/AST/TemplateConditional.swift /Users/user/Documents/RiseTimeAssets/server/.build/checkouts/template-kit.git--6129928586187134836/Sources/TemplateKit/AST/TemplateCustom.swift /Users/user/Documents/RiseTimeAssets/server/.build/checkouts/template-kit.git--6129928586187134836/Sources/TemplateKit/AST/TemplateExpression.swift /Users/user/Documents/RiseTimeAssets/server/.build/checkouts/template-kit.git--6129928586187134836/Sources/TemplateKit/Tag/Var.swift /Users/user/Documents/RiseTimeAssets/server/.build/checkouts/template-kit.git--6129928586187134836/Sources/TemplateKit/Data/TemplateDataEncoder.swift /Users/user/Documents/RiseTimeAssets/server/.build/checkouts/template-kit.git--6129928586187134836/Sources/TemplateKit/AST/TemplateIdentifier.swift /Users/user/Documents/RiseTimeAssets/server/.build/checkouts/template-kit.git--6129928586187134836/Sources/TemplateKit/Pipeline/TemplateByteScanner.swift /Users/user/Documents/RiseTimeAssets/server/.build/checkouts/template-kit.git--6129928586187134836/Sources/TemplateKit/Pipeline/TemplateRenderer.swift /Users/user/Documents/RiseTimeAssets/server/.build/checkouts/template-kit.git--6129928586187134836/Sources/TemplateKit/Tag/TagRenderer.swift /Users/user/Documents/RiseTimeAssets/server/.build/checkouts/template-kit.git--6129928586187134836/Sources/TemplateKit/Pipeline/PlaintextRenderer.swift /Users/user/Documents/RiseTimeAssets/server/.build/checkouts/template-kit.git--6129928586187134836/Sources/TemplateKit/ViewRenderer.swift /Users/user/Documents/RiseTimeAssets/server/.build/checkouts/template-kit.git--6129928586187134836/Sources/TemplateKit/Pipeline/TemplateParser.swift /Users/user/Documents/RiseTimeAssets/server/.build/checkouts/template-kit.git--6129928586187134836/Sources/TemplateKit/Pipeline/TemplateSerializer.swift /Users/user/Documents/RiseTimeAssets/server/.build/checkouts/template-kit.git--6129928586187134836/Sources/TemplateKit/Utilities/TemplateError.swift /Users/user/Documents/RiseTimeAssets/server/.build/checkouts/template-kit.git--6129928586187134836/Sources/TemplateKit/AST/TemplateIterator.swift /Users/user/Documents/RiseTimeAssets/server/.build/checkouts/template-kit.git--6129928586187134836/Sources/TemplateKit/Tag/Contains.swift /Users/user/Documents/RiseTimeAssets/server/.build/checkouts/template-kit.git--6129928586187134836/Sources/TemplateKit/Utilities/Exports.swift /Users/user/Documents/RiseTimeAssets/server/.build/checkouts/template-kit.git--6129928586187134836/Sources/TemplateKit/Tag/DateFormat.swift /Users/user/Documents/RiseTimeAssets/server/.build/checkouts/template-kit.git--6129928586187134836/Sources/TemplateKit/AST/TemplateConstant.swift /Users/user/Documents/RiseTimeAssets/server/.build/checkouts/template-kit.git--6129928586187134836/Sources/TemplateKit/Tag/Comment.swift /Users/user/Documents/RiseTimeAssets/server/.build/checkouts/template-kit.git--6129928586187134836/Sources/TemplateKit/Tag/Print.swift /Users/user/Documents/RiseTimeAssets/server/.build/checkouts/template-kit.git--6129928586187134836/Sources/TemplateKit/Tag/Count.swift /Users/user/Documents/RiseTimeAssets/server/.build/checkouts/template-kit.git--6129928586187134836/Sources/TemplateKit/AST/TemplateDataContext.swift /Users/user/Documents/RiseTimeAssets/server/.build/checkouts/template-kit.git--6129928586187134836/Sources/TemplateKit/Tag/TagContext.swift /Users/user/Documents/RiseTimeAssets/server/.build/checkouts/template-kit.git--6129928586187134836/Sources/TemplateKit/Tag/Raw.swift /Users/user/Documents/RiseTimeAssets/server/.build/checkouts/template-kit.git--6129928586187134836/Sources/TemplateKit/AST/TemplateRaw.swift /Users/user/Documents/RiseTimeAssets/server/.build/checkouts/template-kit.git--6129928586187134836/Sources/TemplateKit/View.swift /Users/user/Documents/RiseTimeAssets/server/.build/checkouts/template-kit.git--6129928586187134836/Sources/TemplateKit/AST/TemplateSyntax.swift /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Dispatch.apinotesc /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/ObjectiveC.swiftmodule /Users/user/Documents/RiseTimeAssets/server/.build/x86_64-apple-macosx10.10/debug/NIO.swiftmodule /Users/user/Documents/RiseTimeAssets/server/.build/x86_64-apple-macosx10.10/debug/Async.swiftmodule /Users/user/Documents/RiseTimeAssets/server/.build/x86_64-apple-macosx10.10/debug/Service.swiftmodule /Users/user/Documents/RiseTimeAssets/server/.build/x86_64-apple-macosx10.10/debug/Core.swiftmodule /Users/user/Documents/RiseTimeAssets/server/.build/x86_64-apple-macosx10.10/debug/Debugging.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Dispatch.swiftmodule /Users/user/Documents/RiseTimeAssets/server/.build/x86_64-apple-macosx10.10/debug/COperatingSystem.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Darwin.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Foundation.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/CoreFoundation.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/CoreGraphics.swiftmodule /Users/user/Documents/RiseTimeAssets/server/.build/x86_64-apple-macosx10.10/debug/NIOConcurrencyHelpers.swiftmodule /Users/user/Documents/RiseTimeAssets/server/.build/x86_64-apple-macosx10.10/debug/Bits.swiftmodule /Users/user/Documents/RiseTimeAssets/server/.build/x86_64-apple-macosx10.10/debug/NIOFoundationCompat.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Swift.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/IOKit.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/SwiftOnoneSupport.swiftmodule /Users/user/Documents/RiseTimeAssets/server/.build/checkouts/swift-nio.git-3108475404973543938/Sources/CNIOAtomics/include/cpp_magic.h /Users/user/Documents/RiseTimeAssets/server/.build/checkouts/swift-nio.git-3108475404973543938/Sources/CNIODarwin/include/c_nio_darwin.h /Users/user/Documents/RiseTimeAssets/server/.build/checkouts/swift-nio.git-3108475404973543938/Sources/CNIOAtomics/include/c-atomics.h /Users/user/Documents/RiseTimeAssets/server/.build/checkouts/swift-nio.git-3108475404973543938/Sources/CNIOLinux/include/c_nio_linux.h /Users/user/Documents/RiseTimeAssets/server/.build/checkouts/swift-nio-zlib-support.git--1071467962839356487/module.modulemap /Users/user/Documents/RiseTimeAssets/server/.build/x86_64-apple-macosx10.10/debug/CNIOSHA1.build/module.modulemap /Users/user/Documents/RiseTimeAssets/server/.build/x86_64-apple-macosx10.10/debug/CNIOOpenSSL.build/module.modulemap /Users/user/Documents/RiseTimeAssets/server/.build/x86_64-apple-macosx10.10/debug/CNIOZlib.build/module.modulemap /Users/user/Documents/RiseTimeAssets/server/.build/x86_64-apple-macosx10.10/debug/CNIODarwin.build/module.modulemap /Users/user/Documents/RiseTimeAssets/server/.build/x86_64-apple-macosx10.10/debug/CNIOHTTPParser.build/module.modulemap /Users/user/Documents/RiseTimeAssets/server/.build/x86_64-apple-macosx10.10/debug/CNIOAtomics.build/module.modulemap /Users/user/Documents/RiseTimeAssets/server/.build/x86_64-apple-macosx10.10/debug/CNIOLinux.build/module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/usr/include/objc/ObjectiveC.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/usr/include/Darwin.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/CoreText.framework/Headers/CoreText.apinotes
|
D
|
instance VLK_3010_dancer (Npc_Default)
{
// ------ NSC ------
name = "Tancerka";
guild = GIL_VLK;
id = 3010;
voice = 16;
flags = 0;
npctype = NPCTYPE_MAIN;
//-----------AIVARS----------------
aivar[AIV_ToughGuy] = TRUE;
// ------ Attribute ------
B_SetAttributesToChapter (self, 1);
// ------ Kampf-Taktik ------
fight_tactic = FAI_HUMAN_COWARD;
// ------ Equippte Waffen ------
// ------ Inventory ------
B_CreateAmbientInv (self);
// ------ visuals ------
B_SetNpcVisual (self, FEMALE, "Hum_Head_Babe8", FaceBabe_N_Hure, BodyTex_N, ITAR_VlkBabe_H);
Mdl_SetModelFatness (self,0);
Mdl_ApplyOverlayMds (self, "Humans_Babe.mds");
// ------ NSC-relevante Talente vergeben ------
B_GiveNpcTalents (self);
// ------ Kampf-Talente ------
B_SetFightSkills (self, 30);
// ------ TA anmelden ------
daily_routine = Rtn_Start_3010;
};
FUNC VOID Rtn_Start_3010 () // Nadja hält sich für gewöhnlich unten auf...2
{
TA_Dance (09,00,21,00,"NW_CITY_MERCHANT_PATH_35");
TA_Dance (21,00,09,00,"NW_CITY_MERCHANT_PATH_35");
};
|
D
|
/Users/thendral/POC/vapor/Friends/.build/debug/Turnstile.build/Core/Subject.swift.o : /Users/thendral/POC/vapor/Friends/Packages/Turnstile-1.0.3/Sources/Turnstile/TurnstileError.swift /Users/thendral/POC/vapor/Friends/Packages/Turnstile-1.0.3/Sources/Turnstile/Core/Subject.swift /Users/thendral/POC/vapor/Friends/Packages/Turnstile-1.0.3/Sources/Turnstile/Core/Turnstile.swift /Users/thendral/POC/vapor/Friends/Packages/Turnstile-1.0.3/Sources/Turnstile/Credentials/APIKey.swift /Users/thendral/POC/vapor/Friends/Packages/Turnstile-1.0.3/Sources/Turnstile/Credentials/Credentials.swift /Users/thendral/POC/vapor/Friends/Packages/Turnstile-1.0.3/Sources/Turnstile/Credentials/CredentialsError.swift /Users/thendral/POC/vapor/Friends/Packages/Turnstile-1.0.3/Sources/Turnstile/Credentials/Token.swift /Users/thendral/POC/vapor/Friends/Packages/Turnstile-1.0.3/Sources/Turnstile/Credentials/UsernamePassword.swift /Users/thendral/POC/vapor/Friends/Packages/Turnstile-1.0.3/Sources/Turnstile/Realm/Account.swift /Users/thendral/POC/vapor/Friends/Packages/Turnstile-1.0.3/Sources/Turnstile/Realm/MemoryRealm.swift /Users/thendral/POC/vapor/Friends/Packages/Turnstile-1.0.3/Sources/Turnstile/Realm/Realm.swift /Users/thendral/POC/vapor/Friends/Packages/Turnstile-1.0.3/Sources/Turnstile/SessionManager/MemorySessionManager.swift /Users/thendral/POC/vapor/Friends/Packages/Turnstile-1.0.3/Sources/Turnstile/SessionManager/SessionManager.swift /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Swift.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/SwiftOnoneSupport.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Foundation.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Darwin.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Dispatch.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/ObjectiveC.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/CoreGraphics.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/IOKit.swiftmodule /Users/thendral/POC/vapor/Friends/.build/debug/TurnstileCrypto.swiftmodule
/Users/thendral/POC/vapor/Friends/.build/debug/Turnstile.build/Subject~partial.swiftmodule : /Users/thendral/POC/vapor/Friends/Packages/Turnstile-1.0.3/Sources/Turnstile/TurnstileError.swift /Users/thendral/POC/vapor/Friends/Packages/Turnstile-1.0.3/Sources/Turnstile/Core/Subject.swift /Users/thendral/POC/vapor/Friends/Packages/Turnstile-1.0.3/Sources/Turnstile/Core/Turnstile.swift /Users/thendral/POC/vapor/Friends/Packages/Turnstile-1.0.3/Sources/Turnstile/Credentials/APIKey.swift /Users/thendral/POC/vapor/Friends/Packages/Turnstile-1.0.3/Sources/Turnstile/Credentials/Credentials.swift /Users/thendral/POC/vapor/Friends/Packages/Turnstile-1.0.3/Sources/Turnstile/Credentials/CredentialsError.swift /Users/thendral/POC/vapor/Friends/Packages/Turnstile-1.0.3/Sources/Turnstile/Credentials/Token.swift /Users/thendral/POC/vapor/Friends/Packages/Turnstile-1.0.3/Sources/Turnstile/Credentials/UsernamePassword.swift /Users/thendral/POC/vapor/Friends/Packages/Turnstile-1.0.3/Sources/Turnstile/Realm/Account.swift /Users/thendral/POC/vapor/Friends/Packages/Turnstile-1.0.3/Sources/Turnstile/Realm/MemoryRealm.swift /Users/thendral/POC/vapor/Friends/Packages/Turnstile-1.0.3/Sources/Turnstile/Realm/Realm.swift /Users/thendral/POC/vapor/Friends/Packages/Turnstile-1.0.3/Sources/Turnstile/SessionManager/MemorySessionManager.swift /Users/thendral/POC/vapor/Friends/Packages/Turnstile-1.0.3/Sources/Turnstile/SessionManager/SessionManager.swift /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Swift.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/SwiftOnoneSupport.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Foundation.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Darwin.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Dispatch.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/ObjectiveC.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/CoreGraphics.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/IOKit.swiftmodule /Users/thendral/POC/vapor/Friends/.build/debug/TurnstileCrypto.swiftmodule
/Users/thendral/POC/vapor/Friends/.build/debug/Turnstile.build/Subject~partial.swiftdoc : /Users/thendral/POC/vapor/Friends/Packages/Turnstile-1.0.3/Sources/Turnstile/TurnstileError.swift /Users/thendral/POC/vapor/Friends/Packages/Turnstile-1.0.3/Sources/Turnstile/Core/Subject.swift /Users/thendral/POC/vapor/Friends/Packages/Turnstile-1.0.3/Sources/Turnstile/Core/Turnstile.swift /Users/thendral/POC/vapor/Friends/Packages/Turnstile-1.0.3/Sources/Turnstile/Credentials/APIKey.swift /Users/thendral/POC/vapor/Friends/Packages/Turnstile-1.0.3/Sources/Turnstile/Credentials/Credentials.swift /Users/thendral/POC/vapor/Friends/Packages/Turnstile-1.0.3/Sources/Turnstile/Credentials/CredentialsError.swift /Users/thendral/POC/vapor/Friends/Packages/Turnstile-1.0.3/Sources/Turnstile/Credentials/Token.swift /Users/thendral/POC/vapor/Friends/Packages/Turnstile-1.0.3/Sources/Turnstile/Credentials/UsernamePassword.swift /Users/thendral/POC/vapor/Friends/Packages/Turnstile-1.0.3/Sources/Turnstile/Realm/Account.swift /Users/thendral/POC/vapor/Friends/Packages/Turnstile-1.0.3/Sources/Turnstile/Realm/MemoryRealm.swift /Users/thendral/POC/vapor/Friends/Packages/Turnstile-1.0.3/Sources/Turnstile/Realm/Realm.swift /Users/thendral/POC/vapor/Friends/Packages/Turnstile-1.0.3/Sources/Turnstile/SessionManager/MemorySessionManager.swift /Users/thendral/POC/vapor/Friends/Packages/Turnstile-1.0.3/Sources/Turnstile/SessionManager/SessionManager.swift /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Swift.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/SwiftOnoneSupport.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Foundation.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Darwin.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Dispatch.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/ObjectiveC.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/CoreGraphics.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/IOKit.swiftmodule /Users/thendral/POC/vapor/Friends/.build/debug/TurnstileCrypto.swiftmodule
|
D
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.