PageRenderTime 31ms CodeModel.GetById 17ms RepoModel.GetById 0ms app.codeStats 0ms

/cpp/src/main/java/com/google/test/metric/cpp/dom/Visitor.java

http://testability-explorer.googlecode.com/
Java | 106 lines | 61 code | 30 blank | 15 comment | 0 complexity | 13b9eebd1ad42ad2944f575b64e4b179 MD5 | raw file
Possible License(s): Apache-2.0
  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. */
  16. package com.google.test.metric.cpp.dom;
  17. public abstract class Visitor {
  18. public void beginVisit(FunctionDefinition functionDefinition) {
  19. }
  20. public void endVisit(FunctionDefinition functionDefinition) {
  21. }
  22. public void beginVisit(IfStatement ifStatement) {
  23. }
  24. public void endVisit(IfStatement ifStatement) {
  25. }
  26. public void beginVisit(SwitchStatement switchStatement) {
  27. }
  28. public void endVisit(SwitchStatement switchStatement) {
  29. }
  30. public void beginVisit(CaseStatement caseStatement) {
  31. }
  32. public void endVisit(CaseStatement caseStatement) {
  33. }
  34. public void beginVisit(LoopStatement loopStatement) {
  35. }
  36. public void endVisit(LoopStatement loopStatement) {
  37. }
  38. public void beginVisit(ElseStatement elseStatement) {
  39. }
  40. public void endVisit(ElseStatement elseStatement) {
  41. }
  42. public void beginVisit(DefaultStatement defaultStatement) {
  43. }
  44. public void endVisit(DefaultStatement defaultStatement) {
  45. }
  46. public void visit(BreakStatement breakStatement) {
  47. }
  48. public void beginVisit(ReturnStatement returnStatement) {
  49. }
  50. public void endVisit(ReturnStatement returnStatement) {
  51. }
  52. public void beginVisit(TernaryOperation ternaryOperation) {
  53. }
  54. public void endVisit(TernaryOperation ternaryOperation) {
  55. }
  56. public void beginVisit(ClassDeclaration classDeclaration) {
  57. }
  58. public void endVisit(ClassDeclaration classDeclaration) {
  59. }
  60. public void beginVisit(TranslationUnit translationUnit) {
  61. }
  62. public void endVisit(TranslationUnit translationUnit) {
  63. }
  64. public void visit(VariableDeclaration localVariableDeclaration) {
  65. }
  66. public void visit(AssignmentExpression assignmentExpression) {
  67. }
  68. public void beginVisit(Namespace namespace) {
  69. }
  70. public void endVisit(Namespace namespace) {
  71. }
  72. public void beginVisit(ExpressionStatement expressionStatement) {
  73. }
  74. public void endVisit(ExpressionStatement expressionStatement) {
  75. }
  76. }