Skip to main content
summaryrefslogtreecommitdiffstats
blob: a4e4a8c1037858d9f2de41e089666e590009ba43 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
/*
 * <copyright>
 *
 * Copyright (c) 2005-2007 Sven Efftinge (http://www.efftinge.de) and others.
 * All rights reserved.   This program and the accompanying materials
 * are made available under the terms of the Eclipse Public License v1.0
 * which accompanies this distribution, and is available at
 * http://www.eclipse.org/legal/epl-v10.html
 *
 * Contributors:
 *     Sven Efftinge (http://www.efftinge.de) - Initial API and implementation
 *
 * </copyright>
 */
package org.eclipse.xpand2;

import java.util.List;

import org.eclipse.internal.xpand2.model.XpandDefinition;
import org.eclipse.internal.xpand2.model.XpandResource;
import org.eclipse.internal.xpand2.pr.ProtectedRegionResolver;
import org.eclipse.xpand2.output.Output;
import org.eclipse.xtend.expression.ExecutionContext;
import org.eclipse.xtend.typesystem.Type;

public interface XpandExecutionContext extends ExecutionContext {

    public ProtectedRegionResolver getProtectedRegionResolver();

    public Output getOutput();

    public List<XpandDefinition> getAllDefinitions();
    
    public XpandDefinition findDefinition(String name, Type target, Type[] paramTypes);

    public XpandResource findTemplate(String templateName);

}

Back to the top