Package org.eclipse.php.internal.core.language.keywords

Source Code of org.eclipse.php.internal.core.language.keywords.KeywordInitializerPHP_5_4

/*******************************************************************************
* 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)); //$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) {
  }
}
TOP

Related Classes of org.eclipse.php.internal.core.language.keywords.KeywordInitializerPHP_5_4

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.