PageRenderTime 15ms CodeModel.GetById 1ms app.highlight 11ms RepoModel.GetById 1ms app.codeStats 1ms

/cpp/src/main/java/com/google/test/metric/cpp/DefaultBuilder.java

http://testability-explorer.googlecode.com/
Java | 351 lines | 251 code | 85 blank | 15 comment | 0 complexity | 6f4a16396f41d6461f183b8b38c0fe30 MD5 | raw file
  1/*
  2 * Copyright 2008 Google Inc.
  3 *
  4 * Licensed under the Apache License, Version 2.0 (the "License"); you may not
  5 * use this file except in compliance with the License. You may obtain a copy of
  6 * the License at
  7 *
  8 * http://www.apache.org/licenses/LICENSE-2.0
  9 *
 10 * Unless required by applicable law or agreed to in writing, software
 11 * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
 12 * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
 13 * License for the specific language governing permissions and limitations under
 14 * the License.
 15 */
 16package com.google.test.metric.cpp;
 17
 18import java.util.List;
 19
 20class DefaultBuilder implements Builder {
 21
 22  protected BuilderContext context;
 23
 24  void setContext(BuilderContext context) {
 25    this.context = context;
 26  }
 27
 28  protected void pushBuilder(DefaultBuilder builder) {
 29    context.pushBuilder(builder);
 30  }
 31
 32  protected void finished() {
 33    context.popBuilder();
 34  }
 35
 36  public void accessSpecifier(String accessSpec) {
 37    throw new UnsupportedOperationException();
 38  }
 39
 40  public void baseSpecifier(String identifier, boolean isVirtual) {
 41    throw new UnsupportedOperationException();
 42  }
 43
 44  public void beginBaseSpecifier() {
 45    throw new UnsupportedOperationException();
 46  }
 47
 48  public void beginClassDefinition(String type, String identifier) {
 49    throw new UnsupportedOperationException();
 50  }
 51
 52  public void beginCompoundStatement() {
 53    throw new UnsupportedOperationException();
 54  }
 55
 56  public void beginCtorDefinition() {
 57    throw new UnsupportedOperationException();
 58  }
 59
 60  public void beginDoStatement() {
 61    throw new UnsupportedOperationException();
 62  }
 63
 64  public void beginDtorHead() {
 65    throw new UnsupportedOperationException();
 66  }
 67
 68  public void beginElseStatement() {
 69    throw new UnsupportedOperationException();
 70  }
 71
 72  public void beginForStatement() {
 73    throw new UnsupportedOperationException();
 74  }
 75
 76  public void beginFunctionDeclaration() {
 77    throw new UnsupportedOperationException();
 78  }
 79
 80  public void beginFunctionDefinition(int line) {
 81    throw new UnsupportedOperationException();
 82  }
 83
 84  public void beginIfStatement() {
 85    throw new UnsupportedOperationException();
 86  }
 87
 88  public void beginInitializer() {
 89    throw new UnsupportedOperationException();
 90  }
 91
 92  public void beginMemberDeclaration() {
 93    throw new UnsupportedOperationException();
 94  }
 95
 96  public void beginParameterDeclaration() {
 97    throw new UnsupportedOperationException();
 98  }
 99
100  public void beginPtrOperator() {
101    throw new UnsupportedOperationException();
102  }
103
104  public void beginTranslationUnit() {
105    throw new UnsupportedOperationException();
106  }
107
108  public void beginWhileStatement() {
109    throw new UnsupportedOperationException();
110  }
111
112  public void breakStatement() {
113    throw new UnsupportedOperationException();
114  }
115
116  public void continueStatement() {
117    throw new UnsupportedOperationException();
118  }
119
120  public void declarationSpecifiers(List<String> declSpecs) {
121    throw new UnsupportedOperationException();
122  }
123
124  public void directDeclarator(String id) {
125    throw new UnsupportedOperationException();
126  }
127
128  public void dtorDeclarator(String identifier) {
129    throw new UnsupportedOperationException();
130  }
131
132  public void endBaseSpecifier() {
133    throw new UnsupportedOperationException();
134  }
135
136  public void endClassDefinition() {
137    throw new UnsupportedOperationException();
138  }
139
140  public void endCompoundStatement() {
141    throw new UnsupportedOperationException();
142  }
143
144  public void endCtorDefinition() {
145    throw new UnsupportedOperationException();
146  }
147
148  public void endDoStatement() {
149    throw new UnsupportedOperationException();
150  }
151
152  public void endDtorHead() {
153    throw new UnsupportedOperationException();
154  }
155
156  public void endForStatement() {
157    throw new UnsupportedOperationException();
158  }
159
160  public void endFunctionDeclaration() {
161    throw new UnsupportedOperationException();
162  }
163
164  public void endFunctionDefinition() {
165    throw new UnsupportedOperationException();
166  }
167
168  public void endIfStatement() {
169    throw new UnsupportedOperationException();
170  }
171
172  public void endElseStatement() {
173    throw new UnsupportedOperationException();
174  }
175
176  public void endInitializer() {
177    throw new UnsupportedOperationException();
178  }
179
180  public void endMemberDeclaration() {
181    throw new UnsupportedOperationException();
182  }
183
184  public void endParameterDeclaration() {
185    throw new UnsupportedOperationException();
186  }
187
188  public void endPtrOperator() {
189    throw new UnsupportedOperationException();
190  }
191
192  public void endTranslationUnit() {
193    throw new UnsupportedOperationException();
194  }
195
196  public void endWhileStatement() {
197    throw new UnsupportedOperationException();
198  }
199
200  public void enterNamespaceScope(String ns) {
201    throw new UnsupportedOperationException();
202  }
203
204  public void exitNamespaceScope() {
205    throw new UnsupportedOperationException();
206  }
207
208  public void functionDirectDeclarator(String identifier) {
209    throw new UnsupportedOperationException();
210  }
211
212  public void gotoStatement() {
213    throw new UnsupportedOperationException();
214  }
215
216  public void makeNamespaceAlias(String ns, String alias) {
217    throw new UnsupportedOperationException();
218  }
219
220  public void ptrOperator(String ptrSymbol) {
221    throw new UnsupportedOperationException();
222  }
223
224  public void ptrToMember(String scopedItem, String star) {
225    throw new UnsupportedOperationException();
226  }
227
228  public void qualifiedCtorId(String identifier) {
229    throw new UnsupportedOperationException();
230  }
231
232  public void simpleTypeSpecifier(List<String> sts) {
233    throw new UnsupportedOperationException();
234  }
235
236  public void storageClassSpecifier(String storageClassSpec) {
237    throw new UnsupportedOperationException();
238  }
239
240  public void typeQualifier(String typeQualifier) {
241    throw new UnsupportedOperationException();
242  }
243
244  public void beginCaseStatement() {
245    throw new UnsupportedOperationException();
246  }
247
248  public void beginSwitchStatement() {
249    throw new UnsupportedOperationException();
250  }
251
252  public void endCaseStatement() {
253    throw new UnsupportedOperationException();
254  }
255
256  public void endSwitchStatement() {
257    throw new UnsupportedOperationException();
258  }
259
260  public void beginDefaultStatement() {
261    throw new UnsupportedOperationException();
262  }
263
264  public void endDefaultStatement() {
265    throw new UnsupportedOperationException();
266  }
267
268  public void endTernaryOperator() {
269    throw new UnsupportedOperationException();
270  }
271
272  public void beginTernaryOperator() {
273    throw new UnsupportedOperationException();
274  }
275
276  public void endReturnStatement() {
277    throw new UnsupportedOperationException();
278  }
279
280  public void beginReturnStatement(int lineNumber) {
281    throw new UnsupportedOperationException();
282  }
283
284  public void beginPostfixExpression() {
285    throw new UnsupportedOperationException();
286  }
287
288  public void beginPrimaryExpression() {
289    throw new UnsupportedOperationException();
290  }
291
292  public void endPostfixExpression() {
293    throw new UnsupportedOperationException();
294  }
295
296  public void endPrimaryExpression() {
297    throw new UnsupportedOperationException();
298  }
299
300  public void idExpression(String text) {
301    throw new UnsupportedOperationException();
302  }
303
304  public void beginParameterList() {
305    throw new UnsupportedOperationException();
306  }
307
308  public void endParameterList() {
309    throw new UnsupportedOperationException();
310  }
311
312  public void endAssignmentExpression() {
313    throw new UnsupportedOperationException();
314  }
315
316  public void beginAssignmentExpression(int line) {
317    throw new UnsupportedOperationException();
318  }
319
320  public void beginMemberAccess() {
321    throw new UnsupportedOperationException();
322  }
323
324  public void endMemberAccess() {
325    throw new UnsupportedOperationException();
326  }
327
328  public void beginInitDeclaratorList() {
329    throw new UnsupportedOperationException();
330  }
331
332  public void endInitDeclaratorList() {
333    throw new UnsupportedOperationException();
334  }
335
336  public void beginExpression() {
337    throw new UnsupportedOperationException();
338  }
339
340  public void endExpression() {
341    throw new UnsupportedOperationException();
342  }
343
344  public void beginExpressionStatement() {
345    throw new UnsupportedOperationException();
346  }
347
348  public void endExpressionStatement() {
349    throw new UnsupportedOperationException();
350  }
351}