/******************************************************************************* * Copyright (c) 2009 IBM Corporation and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/epl-v10.html * * Contributors: * IBM Corporation - initial API and implementation * Zend Technologies *******************************************************************************/ package org.eclipse.php.internal.core.language.keywords; import java.util.Collection; import org.eclipse.php.internal.core.language.keywords.PHPKeywords.KeywordData; /** * Keywords initializer for PHP 5.3 */ public class KeywordInitializerPHP_5_4 extends KeywordInitializerPHP_5_3 { public void initialize(Collection<KeywordData> list) { super.initialize(list); list.add(new KeywordData("trait", WHITESPACE_SUFFIX, 1, PHPKeywords.GLOBAL)); //$NON-NLS-1$ list.add(new KeywordData("insteadof", WHITESPACE_SUFFIX, 1)); //$NON-NLS-1$ list.add(new KeywordData("callable", WHITESPACE_SUFFIX, 1)); //$NON-NLS-1$ list.add(new KeywordData("use", WHITESPACE_SUFFIX, 1, //$NON-NLS-1$ PHPKeywords.CLASS_BODY | PHPKeywords.GLOBAL)); } public void initializeSpecific(Collection<KeywordData> list) { } }