Skip to main content
summaryrefslogtreecommitdiffstats
blob: e7e61712245db52326c5c3e8b04d90ac9dfb103e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
/*******************************************************************************
 * Copyright (c) 2015 QNX Software Systems 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:
 * QNX Software Systems - Initial API and implementation
 *******************************************************************************/
package org.eclipse.cdt.qt.core.qmldir;

/**
 * An AST Node representing a set of characters that does not contain whitespace and does not start with a digit. This encompasses
 * the syntax for Identifiers, Qualified IDs, Paths, and File Names all in one parser rule.
 */
public interface IQDirWord extends IQDirASTNode {
	/**
	 * Gets the String representing this word as it appears in the qmldir file.<br>
	 * <br>
	 * <b>Note:</b> The text is not modified or validated in any way when it is parsed. It is necessary for the caller to perform
	 * semantic validation of the returned value to ensure it represents a valid identifier, filename, or path.
	 *
	 * @return a string representing this word
	 */
	public String getText();
}

Back to the top