Commit | Line | Data |
---|---|---|
866e5b51 | 1 | /******************************************************************************* |
ed902a2b | 2 | * Copyright (c) 2011, 2014 Ericsson, Ecole Polytechnique de Montreal and others |
866e5b51 FC |
3 | * |
4 | * All rights reserved. This program and the accompanying materials are made | |
5 | * available under the terms of the Eclipse Public License v1.0 which | |
6 | * accompanies this distribution, and is available at | |
7 | * http://www.eclipse.org/legal/epl-v10.html | |
8 | * | |
9 | * Contributors: Matthew Khouzam - Initial API and implementation | |
10 | * Contributors: Simon Marchi - Initial API and implementation | |
11 | *******************************************************************************/ | |
12 | ||
f357bcd4 | 13 | package org.eclipse.tracecompass.ctf.core.event.scope; |
a4fa4e36 | 14 | |
f357bcd4 | 15 | import org.eclipse.tracecompass.ctf.core.event.types.Definition; |
866e5b51 FC |
16 | |
17 | /** | |
d37aaa7f FC |
18 | * The scope of a CTF definition. Used for compound types. |
19 | * | |
20 | * @version 1.0 | |
21 | * @author Matthew Khouzam | |
22 | * @author Simon Marchi | |
866e5b51 FC |
23 | */ |
24 | public interface IDefinitionScope { | |
25 | ||
9ac2eb62 MK |
26 | /** |
27 | * Gets the path in a C style for the scope. | |
a4fa4e36 | 28 | * |
9ac2eb62 MK |
29 | * @return the path |
30 | */ | |
a4fa4e36 | 31 | LexicalScope getScopePath(); |
866e5b51 FC |
32 | |
33 | /** | |
34 | * Looks up in this definition scope. | |
be6df2d8 AM |
35 | * |
36 | * @param lookupPath | |
37 | * The path to look up | |
38 | * @return The Definition that was read | |
866e5b51 | 39 | */ |
6c7592e1 | 40 | // TODO: change to IDefintion |
3e2618e9 | 41 | Definition lookupDefinition(String lookupPath); |
866e5b51 | 42 | } |