1
/*******************************************************************************
2
* Copyright (c) 2006, 2008 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
9
* IBM Corporation - initial API and implementation
10
*******************************************************************************/
11
package org.eclipse.cdt.internal.core.dom.lrparser.c99.bindings;
13
import org.eclipse.cdt.core.dom.ast.DOMException;
14
import org.eclipse.cdt.core.dom.ast.EScopeKind;
15
import org.eclipse.cdt.core.dom.ast.IBinding;
16
import org.eclipse.cdt.core.dom.ast.IScope;
17
import org.eclipse.cdt.core.dom.ast.c.ICFunctionScope;
19
public class C99FunctionScope extends C99Scope implements ICFunctionScope {
21
public C99FunctionScope() {
22
super(EScopeKind.eLocal);
26
* Scope that represents the compound statement of the body of this scope.
27
* Does not include the parameters which are part of this function scope.
29
private IScope bodyScope;
32
public IBinding getBinding(@SuppressWarnings("unused") char[] name) throws DOMException {
33
// TODO Auto-generated method stub
37
public void setBodyScope(IScope bodyScope) {
38
this.bodyScope = bodyScope;
41
public IScope getBodyScope() throws DOMException {