Examples of ICPPASTSwitchStatement


Examples of org.eclipse.cdt.core.dom.ast.cpp.ICPPASTSwitchStatement

    switchIsNew = true;

    scribe.print(SWITCH_BRACKET);
    scribe.noNewLines();
    if (switchStatement instanceof ICPPASTSwitchStatement) {
      final ICPPASTSwitchStatement cppSwitchStatement = (ICPPASTSwitchStatement) switchStatement;
      if (cppSwitchStatement.getControllerDeclaration() == null) {
        cppSwitchStatement.getControllerExpression().accept(visitor);
      } else {
        declWriter.writeDeclaration(cppSwitchStatement.getControllerDeclaration(), false);
      }
    } else {
      switchStatement.getControllerExpression().accept(visitor);
    }
    scribe.print(')');
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.