blob: 8aa085089f4bb3c14ead8c793099ae6fc541c6e7 [file] [log] [blame]
/*=============================================================================#
# Copyright (c) 2009, 2020 Stephan Wahlbrink and others.
#
# This program and the accompanying materials are made available under the
# terms of the Eclipse Public License 2.0 which is available at
# https://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0
# which is available at https://www.apache.org/licenses/LICENSE-2.0.
#
# SPDX-License-Identifier: EPL-2.0 OR Apache-2.0
#
# Contributors:
# Stephan Wahlbrink <sw@wahlbrink.eu> - initial API and implementation
#=============================================================================*/
package org.eclipse.statet.internal.r.core.sourcemodel;
import org.eclipse.statet.internal.r.core.sourcemodel.RSourceElementByElementAccess.RClass;
import org.eclipse.statet.internal.r.core.sourcemodel.RSourceElementByElementAccess.RMethod;
import org.eclipse.statet.r.core.model.RLangSourceElement;
import org.eclipse.statet.r.core.model.RSourceFrame;
import org.eclipse.statet.r.core.model.RSourceUnitModelInfo;
import org.eclipse.statet.r.core.rsource.ast.RAstNode;
public interface RoxygenAnalyzeContext {
RSourceUnitModelInfo getModelInfo();
RSourceFrame getNamespaceFrame(final String name);
void createSelfAccess(final RLangSourceElement element, final RAstNode symbol);
void createNamespaceImportAccess(final RAstNode symbol);
void createNamespaceObjectImportAccess(final RSourceFrame namespace, final RAstNode symbol);
void createSlotAccess(final RClass rClass, final RAstNode symbol);
void createArgAccess(final RMethod rMethod, final RAstNode symbol);
void createRSourceRegion(final RAstNode node);
}