def __init__(self, game): Parser.__init__(self, "Added Time Usage") if not game.reaches_mwc: self.complete = True else: self.start_clock = game.clock self.time_added = 0
def __init__(self, stringToScan): Parser.stringToScan = stringToScan Parser.__init__( self, self.stringToScan, '(?:\s|\>)[mM]ale|(?:\s|\>)+[Ff]emale|(?:\s|\>)+[Ww]omen|(?:\s|\>)+[Mm]en' ) self.resultList = []
def __init__(self, game): Parser.__init__(self, "Contact Delay") if "Contact" not in game.missions_complete: self.complete = True else: self.rbbts = 0 self.results = [[], []]
def __init__(self, stringToScan, attributeId): self.attributeId = attributeId self.IsMatched = False self.stringToScan = stringToScan self.searchCriteria = DatabaseHelper.getOnlyOneRegex(self.attributeId) Parser.__init__(self, stringToScan, self.searchCriteria) self.IsMatched = self.doesMatchExist()
def __init__(self, game): Parser.__init__(self, "Clock Usage") self.start_clock = game.clock self.end_clock = game.timeline.events[-3].time # this does not violate the parallelization because it is an index, not a loop self.results = str(round(100*self.end_clock/self.start_clock, 1))+"%" # currently returns a percent (string) of clock time used, how is this a good idea # in fact, this is so easily computed, it was possible without the timeline at all (via spyparsey) self.complete = True
def __init__(self, stringToScan, scholarshipPackageId='0'): self.stringToScan = stringToScan Parser.__init__(self, self.stringToScan, '\s[^$\d\.]?[1234]\.\d+') self.resultList = [] self.attributeId = '1' self.gpa = '' self.logicGroup = '0' self.requirementTypeCode = '>=' self.scholarshipPackageId = scholarshipPackageId
def __init__(self, stringToScan, uaColleges, scholarshipPackageId='0'): self.uaColleges = uaColleges self.stringToScan = stringToScan Parser.__init__(self, self.stringToScan, self.uaColleges) self.resultList = [] self.attributeId = '377' self.requirementValue = '' self.logicGroup = '0' self.requirementTypeCode = '*' self.scholarshipPackageId = scholarshipPackageId
def __init__(self, stringToScan, majorsRegex, scholarshipPackageId='0'): self.majorsRegex = majorsRegex self.stringToScan = stringToScan Parser.__init__(self, self.stringToScan.lower(), self.majorsRegex) self.resultList = [] self.attributeId = '417' self.major = '' self.logicGroup = '0' self.requirementTypeCode = '*' self.scholarshipPackageId = scholarshipPackageId
def __init__(self, stringToScan, arizonaCounties): self.arizonaCounties = arizonaCounties self.stringToScan = stringToScan Parser.__init__(self, self.stringToScan, self.arizonaCounties) self.resultList = []
def __init__(self, stringToScan): self.stringToScan = stringToScan Parser.__init__(self, self.stringToScan.lower(), 'fafsa') self.resultList = []
def __init__(self, stringToScan, demographics): self.demographics = demographics self.stringToScan = stringToScan Parser.__init__(self, self.stringToScan, self.demographics) self.resultList = []
def __init__(self, stringToScan, states): self.states = states self.stringToScan = stringToScan Parser.__init__(self, self.stringToScan, self.states) self.resultList = []
def __init__(self, stringToScan, aboutMeAttributes): self.aboutMeAttributes = aboutMeAttributes self.stringToScan = stringToScan Parser.__init__(self, self.stringToScan.lower(), self.aboutMeAttributes) self.resultList = []
def __init__(self, stringToScan, countriesNationalities): self.countriesNationalities = countriesNationalities self.stringToScan = stringToScan Parser.__init__(self, self.stringToScan, self.countriesNationalities) self.resultList = []
def __init__(self, stringToScan, interestsAndActivities): self.interestsAndActivities = interestsAndActivities self.stringToScan = stringToScan Parser.__init__(self, self.stringToScan.lower(), self.interestsAndActivities) self.resultList = []
def __init__(self, stringToScan): self.stringToScan = stringToScan Parser.__init__(self, self.stringToScan, 'full\-time|part\-time|full\stime|part\stime') self.resultList = []
def __init__(self, stringToScan): Parser.stringToScan = stringToScan Parser.__init__(self, self.stringToScan, '(?:\s|\>)[mM]ale|(?:\s|\>)+[Ff]emale|(?:\s|\>)+[Ww]omen|(?:\s|\>)+[Mm]en') self.resultList = []
def __init__(self, stringToScan, classStandingOptions): self.classStandingOptions = classStandingOptions self.stringToScan = stringToScan Parser.__init__(self, self.stringToScan.lower(), self.classStandingOptions) self.resultList = []
def __init__(self, stringToScan): self.stringToScan = stringToScan Parser.__init__(self, self.stringToScan, '\s\d{1,3}\s') self.resultList = []