示例#1
0
    def interpret(self, match):
        thing = HasKeyword(match.thing.tokens)
        location = LocationOf(thing)
        location_name = LabelOf(location)

        return location_name, "enum"
示例#2
0
 def interpret(self, match):
     location = LocationOf(match.thing)
     location_name = NameOf(location)
     return location_name