endifdirective.java

来自「配置文件」· Java 代码 · 共 49 行

JAVA
49
字号
/**
 * Copyright (c) 2003-2005 Craig Setera
 * All Rights Reserved.
 * Licensed under the Eclipse Public License - v 1.0
 * For more information see http://www.eclipse.org/legal/epl-v10.html
 */
package eclipseme.core.internal.preprocessor.directive;

import org.eclipse.core.resources.IResource;
import org.eclipse.jdt.core.dom.Comment;

/**
 * Defines an identifier, thus making its value "true" when it 
 * is referenced in further expressions.
 * <p />
 * Copyright (c) 2003-2005 Craig Setera<br>
 * All Rights Reserved.<br>
 * Licensed under the Eclipse Public License - v 1.0<p/>
 * <br>
 * $Revision: 1.4 $
 * <br>
 * $Date: 2006/11/12 01:11:01 $
 * <br>
 * @author Craig Setera
 */
public class EndifDirective extends AbstractEndDirective {
	/**
	 * Construct a new instance.
	 * 
	 * @param resource
	 * @param comment
	 * @param commentText
	 */
	public EndifDirective(
		IResource resource,
		Comment comment, 
		String commentText) 
	{
		super(resource, comment, commentText);
	}

	/**
	 * @see eclipseme.core.internal.preprocessor.Directive#getType()
	 */
	public int getType() {
		return TYPE_ENDIF;
	}
}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?