%filenames scanner

// %interactive
//%debug

%%

[ \t\n]+                    // skip ws
#.*                         // skip comment

true        |
false                       return Tokens::BOOL;

random      |
fixed       |
increasing                  return Tokens::GENTYPE;


ageGroup:?                  return Tokens::AGEGROUP;
BreastDensities:?           return Tokens::BREASTDENSITIES;
Costs:?                     return Tokens::COSTS;
Discount:?                  return Tokens::DISCOUNT;
Scenario:?                  return Tokens::SCENARIO;
age:?                       return Tokens::AGE;
biop:?                      return Tokens::BIOP;
cases:?                     return Tokens::CASES;
diameters:?                 return Tokens::DIAMETERS;
generator:?                 return Tokens::GENERATOR;
iterations:?                return Tokens::ITERATIONS;
prop:?                      return Tokens::PROP;
seed:?                      return Tokens::SEED;
spread:?                    return Tokens::SPREAD;

Modalities:?                return Tokens::MODALITIES;
Mammo:?                     return Tokens::MAMMO;
Tomo:?                      return Tokens::TOMO;
MRI:?                       return Tokens::MRI;
costs:?                     return Tokens::COST;
dose:?                      return Tokens::DOSE;
sensitivity:?               return Tokens::SENSITIVITY;
specificity:?               return Tokens::SPECIFICITY;
beta:?                      return Tokens::BETA;
systematicError:?           return Tokens::SYSERR;
Normal:?                    return Tokens::NORMAL;

Screening:?                 return Tokens::SCREENING;
round:?                     return Tokens::ROUND;
attendanceRate:?            return Tokens::ATTENDANCERATE;

Tumor:?                     return Tokens::TUMOR;
Beir7:?                     return Tokens::BEIR7;
eta:?                       return Tokens::ETA;

Incidence:?                 return Tokens::INCIDENCE;
prob:?                      return Tokens::PROB;
lifetimeRisk:?              return Tokens::LIFETIMERISK;
meanAge:?                   return Tokens::MEANAGE;
stdDev:?                    return Tokens::STDDEV;

BRCA1:?                     return Tokens::BRCA1;
BRCA2:?                     return Tokens::BRCA2;

Growth:?                    return Tokens::GROWTH;
start:?                     return Tokens::START;
selfDetectMu:?              return Tokens::SELFDETECTMU;
selfDetectSigma:?           return Tokens::SELFDETECTSIGMA;

DoublingTime:?              return Tokens::DOUBLINGTIME;
Survival:?                  return Tokens::SURVIVAL;

type:?[ \t]+.               return Tokens::TYPE;

[0-9]+                      return Tokens::NR;

-?[0-9]*\.[0-9]+    |
-?[0-9]+\.[0-9]*            return Tokens::REAL;




.                           return matched()[0];
