Home | History | Annotate | Download | only in idl_parser

Lines Matching refs:keywords

54     # Symbol and keywords types
62 # 'keywords' is a map of string to token type. All tokens matching
63 # KEYWORD_OR_SYMBOL are matched against keywords dictionary, to determine
65 keywords = {
159 # All non-keywords are assumed to be symbols
160 t.type = self.keywords.get(t.value, 'identifier')
163 # value as a keywords (E.g. a dictionary named 'interface').
262 def _AddKeywords(self, keywords):
263 for key in keywords:
266 self.keywords[key] = value
268 def _DelKeywords(self, keywords):
269 for key in keywords:
271 del self.keywords[key]
278 self.keywords = {}
281 self._AddKeywords(IDLLexer.keywords)