Package org.eclipse.cdt.core.dom.ast.c

Examples of org.eclipse.cdt.core.dom.ast.c.ICASTArrayDesignator


    if (designator instanceof ICASTFieldDesignator) {
      final ICASTFieldDesignator fieldDes = (ICASTFieldDesignator) designator;
      scribe.print('.');
      fieldDes.getName().accept(visitor);
    } else if (designator instanceof ICASTArrayDesignator) {
      final ICASTArrayDesignator arrDes = (ICASTArrayDesignator) designator;
      scribe.print('[');
      arrDes.getSubscriptExpression().accept(visitor);
      scribe.print(']');
    } else if (designator instanceof IGCCASTArrayRangeDesignator) {
      // IGCCASTArrayRangeDesignator new_name = (IGCCASTArrayRangeDesignator) designator;
      // TODO IGCCASTArrayRangeDesignator Bespiel zu parsen bringen
      throw new UnsupportedOperationException("Writing of GCC ArrayRangeDesignator is not yet implemented"); //$NON-NLS-1$
View Full Code Here

TOP

Related Classes of org.eclipse.cdt.core.dom.ast.c.ICASTArrayDesignator

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.