1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-07-23 17:05:26 +02:00

Add JavaDoc.

This commit is contained in:
John Camelon 2005-03-08 18:37:33 +00:00
parent 34ca6299e3
commit 0afd9dc95c
2 changed files with 34 additions and 0 deletions

View file

@ -13,11 +13,34 @@ package org.eclipse.cdt.core.dom;
import org.eclipse.cdt.core.parser.CodeReader;
/**
* This is the interface that an AST Service uses to delegate the construction
* of a CodeReader.
*
* @author jcamelon
*/
public interface ICodeReaderFactory {
/**
* @return unique identifier as int
*/
public int getUniqueIdentifier();
/**
* Create CodeReader for translation unit
*
* @param path Canonical Path representing path location for file to be opened
* @return CodeReader for contents at that path.
*/
public CodeReader createCodeReaderForTranslationUnit( String path );
/**
* Create CodeReader for inclusion.
*
* @param path
* @return CodeReader for contents at that path.
*/
public CodeReader createCodeReaderForInclusion( String path );
}

View file

@ -13,11 +13,22 @@ package org.eclipse.cdt.core.dom;
import org.eclipse.cdt.core.parser.IScannerInfo;
/**
* This interface represents a parser configuration as specified by the
* client to the parser service.
*
* @author jcamelon
*/
public interface IParserConfiguration {
/**
* @return IScannerInfo representing the build information required to parse.
*/
public IScannerInfo getScannerInfo();
//TODO this may change
/**
* @return String representing dialect name for the language
*/
public String getParserDialect();
}