C# Class PHPAnalysis.Analysis.AST.IncludeResolver

Inheritance: IIncludeResolver
Afficher le fichier Open project: jtvn/Eir-CTLLTL Class Usage Examples

Méthodes publiques

Méthode Description
IncludeResolver ( ICollection projectFiles ) : System
TryResolveInclude ( XmlNode node, PHPAnalysis.Data.File &path ) : bool

Matching last string in include expression against all files and select the first match. This is incredibly basic and not necessarily correct. The path is ignored and there could be multiple files with the same name.

Private Methods

Méthode Description
TryGetFile ( string fileName, PHPAnalysis.Data.File &file ) : bool

Method Details

IncludeResolver() public méthode

public IncludeResolver ( ICollection projectFiles ) : System
projectFiles ICollection
Résultat System

TryResolveInclude() public méthode

Matching last string in include expression against all files and select the first match. This is incredibly basic and not necessarily correct. The path is ignored and there could be multiple files with the same name.
public TryResolveInclude ( XmlNode node, PHPAnalysis.Data.File &path ) : bool
node System.Xml.XmlNode
path PHPAnalysis.Data.File
Résultat bool