import re import logging as log from .propValues import choose, singleton, listOf, compose, number, real, double, color, text, empty, anything, point, move, stone from . import skipWhitespace, ParserError GAME_INFO=1 UNKNOWN=99 class Property: identRegexp=re.compile(r"[A-Z]+") def __init__(self): self.name="" self.value="" @staticmethod def fits(s,i): return i