/*
Copyright 2011-2016 Google Inc. All Rights Reserved.

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

    http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/
package com.google.security.zynamics.binnavi.debug.models.memoryexpressions;

/**
 * Interface for memory expression visitors.
 */
public interface MemoryExpressionVisitor {
  /**
   * Invoked to visit memory expressions.
   *
   * @param expression The expression to visit.
   */
  void visit(MemoryExpression expression);

  /**
   * Invoked to visit subtraction expressions.
   *
   * @param expression The expression to visit.
   */
  void visit(MinusExpression expression);

  /**
   * Invoked to visit multiplication expressions.
   *
   * @param expression The expression to visit.
   */
  void visit(MultiplicationExpression expression);

  /**
   * Invoked to visit numerical value expressions.
   *
   * @param expression The expression to visit.
   */
  void visit(NumericalValue expression);

  /**
   * Invoked to visit addition expressions.
   *
   * @param expression The expression to visit.
   */
  void visit(PlusExpression expression);

  /**
   * Invoked to visit register expressions.
   *
   * @param expression The expression to visit.
   */
  void visit(Register expression);

  /**
   * Invoked to visit subtraction expressions.
   *
   * @param expression The expression to visit.
   */
  void visit(SubExpression expression);
}
