~ubuntu-branches/debian/sid/eclipse-cdt/sid

« back to all changes in this revision

Viewing changes to results/plugins/org.eclipse.cdt.core.lrparser/old/org/eclipse/cdt/internal/core/dom/lrparser/c99/bindings/C99Scope.java

  • Committer: Package Import Robot
  • Author(s): Jakub Adam
  • Date: 2011-10-06 21:15:04 UTC
  • mfrom: (1.1.4)
  • Revision ID: package-import@ubuntu.com-20111006211504-8dutmljjih0zikfv
Tags: 8.0.1-1
* New upstream release.
* Split the JNI packages into a separate architecture dependent
  package and made eclipse-cdt architecture independent.
* Install JNI libraries into multiarch aware location
* Bumped Standards-Version to 3.9.2.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/*******************************************************************************
2
 
 * Copyright (c) 2006, 2009 IBM Corporation and others.
3
 
 * All rights reserved. This program and the accompanying materials
4
 
 * are made available under the terms of the Eclipse Public License v1.0
5
 
 * which accompanies this distribution, and is available at
6
 
 * http://www.eclipse.org/legal/epl-v10.html
7
 
 *
8
 
 * Contributors:
9
 
 *     IBM Corporation - initial API and implementation
10
 
 *******************************************************************************/
11
 
package org.eclipse.cdt.internal.core.dom.lrparser.c99.bindings;
12
 
 
13
 
import org.eclipse.cdt.core.dom.IName;
14
 
import org.eclipse.cdt.core.dom.ast.DOMException;
15
 
import org.eclipse.cdt.core.dom.ast.EScopeKind;
16
 
import org.eclipse.cdt.core.dom.ast.IASTName;
17
 
import org.eclipse.cdt.core.dom.ast.IASTNode;
18
 
import org.eclipse.cdt.core.dom.ast.IBinding;
19
 
import org.eclipse.cdt.core.dom.ast.IScope;
20
 
import org.eclipse.cdt.core.index.IIndexFileSet;
21
 
import org.eclipse.cdt.internal.core.dom.parser.IASTInternalScope;
22
 
 
23
 
/**
24
 
 * @author Mike Kucera
25
 
 *
26
 
 */
27
 
@SuppressWarnings({"restriction","unused"})
28
 
public class C99Scope implements IC99Scope, IASTInternalScope {
29
 
 
30
 
        
31
 
        
32
 
        private IScope parent;
33
 
        private IASTNode physicalNode;
34
 
        private IName scopeName;
35
 
        private final EScopeKind kind;
36
 
        
37
 
        public C99Scope(EScopeKind eKind) {
38
 
                kind= eKind;
39
 
        }
40
 
        
41
 
        public IScope getParent() {
42
 
                return parent;
43
 
        }
44
 
 
45
 
        public void setParent(IScope parent) {
46
 
                this.parent = parent;
47
 
        }
48
 
        
49
 
        public IASTNode getPhysicalNode() {
50
 
                return physicalNode;
51
 
        }
52
 
 
53
 
        public void setPhysicalNode(IASTNode physicalNode) {
54
 
                this.physicalNode = physicalNode;
55
 
        }
56
 
        
57
 
        public final EScopeKind getKind() {
58
 
                return kind;
59
 
        }
60
 
 
61
 
        public IName getScopeName() {
62
 
                return scopeName;
63
 
        }
64
 
 
65
 
        public void setScopeName(IName scopeName) {
66
 
                this.scopeName = scopeName;
67
 
        }
68
 
        
69
 
        
70
 
        public IBinding[] find( String name) {
71
 
                throw new UnsupportedOperationException();
72
 
        }
73
 
 
74
 
        public IBinding getBinding(IASTName name, boolean resolve) {
75
 
                throw new UnsupportedOperationException();
76
 
        }
77
 
 
78
 
        public IBinding[] getBindings(IASTName name, boolean resolve, boolean prefixLookup) {
79
 
                throw new UnsupportedOperationException();
80
 
        }
81
 
 
82
 
        
83
 
        
84
 
        
85
 
        public void addBinding(IBinding binding) {
86
 
                throw new UnsupportedOperationException();
87
 
        }
88
 
 
89
 
        public void addName(IASTName name) {
90
 
                throw new UnsupportedOperationException();
91
 
        }
92
 
 
93
 
        public void populateCache() {
94
 
        }
95
 
 
96
 
        public IBinding getBinding(IASTName name, boolean resolve,
97
 
                        IIndexFileSet acceptLocalBindings) throws DOMException {
98
 
                // TODO Auto-generated method stub
99
 
                return null;
100
 
        }
101
 
 
102
 
        public IBinding[] getBindings(IASTName name, boolean resolve,
103
 
                        boolean prefixLookup, IIndexFileSet acceptLocalBindings)
104
 
                        throws DOMException {
105
 
                // TODO Auto-generated method stub
106
 
                return null;
107
 
        }
108
 
 
109
 
        
110
 
 
111
 
}