864a574a1ee70ef88913b0e4eb2c6e8471f0186d
[deliverable/tracecompass.git] / org.eclipse.linuxtools.ctf.core / src / org / eclipse / linuxtools / ctf / core / event / scope / IDefinitionScope.java
1 /*******************************************************************************
2 * Copyright (c) 2011, 2013 Ericsson, Ecole Polytechnique de Montreal and others
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
13 package org.eclipse.linuxtools.ctf.core.event.scope;
14
15 import org.eclipse.linuxtools.ctf.core.event.types.Definition;
16
17 /**
18 * The scope of a CTF definition. Used for compound types.
19 *
20 * @version 1.0
21 * @author Matthew Khouzam
22 * @author Simon Marchi
23 * @since 3.0
24 */
25 public interface IDefinitionScope {
26
27 /**
28 * Gets the path in a C style for the scope.
29 *
30 * @return the path
31 * @since 3.0
32 */
33 LexicalScope getScopePath();
34
35 /**
36 * Looks up in this definition scope.
37 *
38 * @param lookupPath
39 * The path to look up
40 * @return The Definition that was read
41 */
42 // TODO: change to IDefintion
43 Definition lookupDefinition(String lookupPath);
44 }
This page took 0.032671 seconds and 4 git commands to generate.