Lines Matching refs:stmt
32 def wrapParens(stmt): argument
33 return "(" + stmt + ")"
80 def _parseType(self, stmt): argument
81 m = re.match(r"type\s+(.+)", stmt)
85 def _parseExpandtypeattribute(self, stmt): argument
86 m = re.match(r"expandtypeattribute\s+\((.+)\)\s+(true|false)", stmt)
90 def _parseTypeattribute(self, stmt): argument
91 m = re.match(r"typeattribute\s+(.+)", stmt)
95 def _parseTypeattributeset(self, stmt): argument
96 m = re.match(r"typeattributeset\s+(.+?)\s+\((.+?)\)", stmt, flags = re.M |re.S)
116 def _parseStmt(self, stmt): argument
117 if re.match(r"type\s+.+", stmt):
118 self._parseType(stmt)
119 elif re.match(r"typeattribute\s+.+", stmt):
120 self._parseTypeattribute(stmt)
121 elif re.match(r"typeattributeset\s+.+", stmt):
122 self._parseTypeattributeset(stmt)
123 elif re.match(r"expandtypeattribute\s+.+", stmt):
124 self._parseExpandtypeattribute(stmt)