Lines Matching +full:cancel +full:- +full:in +full:- +full:progress
8 # "License"); you may not use this file except in compliance
11 # http://www.apache.org/licenses/LICENSE-2.0
13 # Unless required by applicable law or agreed to in writing,
27 postTransMap = {"ok-button": "okbutton",
28 "cancel-button": "cancelbutton",
29 "help-button": "helpbutton"}
32 """Translate a mixed-casing name to dash-separated name.
34 Translate a mixed-casing name (e.g. MyLongName) to a dash-separated name
35 (e.g. my-long-name).
43 for c in name:
54 for part in parts:
58 newname += '-'
61 # special-case mapping ...
71 Examples of translated values include TRUE -> true, FALSE -> false.
73 if value.lower() in ["true", "false"]:
81 if elemName == 'metric-field' and name == 'spin-size':
82 return 'step-size'
90 Each statement consists of the left-hand-side token(s), and right-hand-side
92 left-hand-side tokens.
111 if token not in self.defines:
125 for mtoken in macro.tokens:
126 if mtoken in macro.vars:
130 for valtoken in valtokens:
145 replaced with 'one two three', and the 'b' replaced with 'and four'. In other
157 progress ("error parsing values (%d)\n"%i)
158 for j in range(0, i):
164 for tk in self.expandedTokens:
165 print("-"*20)
176 scope -= 1
209 progress ("-"*68+"\n")
210 for key in list(self.defines.keys()):
211 progress ("define: %s\n"%key)
249 #-------------------------------------------------------------------------
255 and the last processed token are one and the same, in which case the handler
269 # Keep track of lhs data in case of compound statement.
271 self.stmtData.leftScope = len(self.elementStack) - 1
300 if obj.name == 'string-list':
302 elif obj.name == 'filter-list':
305 self.elementStack[-1].appendChild(obj)
325 scope = stackSize - 1
329 # We are not supposed to have any statement in global scope.
335 elem = self.elementStack[-1]
379 self.elementStack[-1].appendChild(obj)
387 elem = self.elementStack[-1]
397 elem = self.elementStack[-1]
408 for tk in tokens:
416 scope -= 1