Home | History | Annotate | Download | only in tests

Lines Matching refs:stmt

42     def _parseType(self, stmt):
43 m = re.match(r"type\s+(.+)", stmt)
47 def _parseTypeattribute(self, stmt):
48 m = re.match(r"typeattribute\s+(.+)", stmt)
52 def _parseTypeattributeset(self, stmt):
53 m = re.match(r"typeattributeset\s+(.+?)\s+\((.+?)\)", stmt, flags = re.M |re.S)
73 def _parseStmt(self, stmt):
74 if re.match(r"type\s+.+", stmt):
75 self._parseType(stmt)
76 elif re.match(r"typeattribute\s+.+", stmt):
77 self._parseTypeattribute(stmt)
78 elif re.match(r"typeattributeset\s+.+", stmt):
79 self._parseTypeattributeset(stmt)
81 m = re.match(r"(\w+)\s+.+", stmt)