visitLocalElement method

R visitLocalElement (
  1. LocalElement element
)

Implementation

R visitLocalElement(LocalElement element) {
  if (element is LocalVariableElement) {
    return visitVariableElement(element);
  } else if (element is ParameterElement) {
    return visitVariableElement(element);
  } else if (element is FunctionElement) {
    return visitExecutableElement(element);
  }
  return null;
}