blob: 864a574a1ee70ef88913b0e4eb2c6e8471f0186d (
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
39
40
41
42
43
44
|
/*******************************************************************************
* Copyright (c) 2011, 2013 Ericsson, Ecole Polytechnique de Montreal 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: Matthew Khouzam - Initial API and implementation
* Contributors: Simon Marchi - Initial API and implementation
*******************************************************************************/
package org.eclipse.linuxtools.ctf.core.event.scope;
import org.eclipse.linuxtools.ctf.core.event.types.Definition;
/**
* The scope of a CTF definition. Used for compound types.
*
* @version 1.0
* @author Matthew Khouzam
* @author Simon Marchi
* @since 3.0
*/
public interface IDefinitionScope {
/**
* Gets the path in a C style for the scope.
*
* @return the path
* @since 3.0
*/
LexicalScope getScopePath();
/**
* Looks up in this definition scope.
*
* @param lookupPath
* The path to look up
* @return The Definition that was read
*/
// TODO: change to IDefintion
Definition lookupDefinition(String lookupPath);
}
|