메소드 | 설명 | |
---|---|---|
GenerateSrcMLFileFromDirectory ( string directoryPath, string xmlFileName ) : ABB.SrcML.SrcMLFile |
Generate a SrcML document from the given path and place it in the XML file.
|
|
GenerateSrcMLFileFromDirectory ( string directoryPath, string xmlFileName, IEnumerable |
Generates a SrcML document from the given path and place it in the XML file. The XML document will only contain files not present in filesToExclude.
|
|
GenerateSrcMLFileFromDirectory ( string directoryPath, string xmlFileName, IEnumerable |
||
GenerateSrcMLFileFromDirectory ( string directoryPath, string xmlFileName, System.Language languageFilter ) : ABB.SrcML.SrcMLFile |
Generate a SrcML document from the given path and place it in the XML file. The file will only contain source files classified as languageFilter.
|
|
GenerateSrcMLFileFromFiles ( IEnumerable |
Generates a SrcML document from a collection of source files. The language(s) will be inferred from the file extensions.
|
|
GenerateSrcMLFromDirectory ( string directoryPath, string xmlFileName ) : void | ||
GenerateSrcMLFromDirectory ( string directoryPath, string xmlFileName, IEnumerable |
||
GenerateSrcMLFromDirectory ( string directoryPath, string xmlFileName, IEnumerable |
Generate a SrcML document from the given path and place it in the XML file. The file will only contain source files classified as languageFilter.
|
|
GenerateSrcMLFromDirectory ( string directoryPath, string xmlFileName, System.Language languageFilter ) : void | ||
GenerateSrcMLFromFile ( string sourceFileName, string xmlFileName ) : void |
Generate a SrcML document from a single source file. The language will be inferred from the extension.
|
|
GenerateSrcMLFromFile ( string sourceFileName, string xmlFileName, System.Language language ) : void |
Generate a SrcML document from a single source file.
|
|
GenerateSrcMLFromFiles ( IEnumerable |
||
GenerateSrcMLFromFiles ( IEnumerable |
Generates a SrcML document from a collection of source files using the specified language.
|
|
GenerateSrcMLFromString ( string source ) : string |
Generate SrcML from a given string of source code. The source code will be parsed as C++.
|
|
GenerateSrcMLFromString ( string source, System.Language language ) : string |
Generate SrcML from a given string of source code.
|
|
RegisterExecutable ( string executableDirectory, IEnumerable |
Registers a src2srcml executable to use for the given languages.
|
|
RegisterExecutable ( string executableDirectory, IEnumerable |
Registers a src2srcml executable to use for the given languages.
|
|
SrcMLGenerator ( ) : System |
Creates a new SrcMLGenerator.
|
|
SrcMLGenerator ( string defaultExecutableDirectory ) : System |
Creates a new SrcMLGenerator
|
|
SrcMLGenerator ( string defaultExecutableDirectory, IEnumerable |
Creates a new SrcMLGenerator
|
메소드 | 설명 | |
---|---|---|
DetectNonDefaultExecutables ( ) : void |
Scans the directory containing the default src2srcml executable and looks for subdirectories corresponding to defined languages. Each of these is registered for the given language.
|
|
GenerateImpl ( string inputFileName, string outputFileName ) : bool |
메소드 | 설명 | |
---|---|---|
CreateArgumentsForLanguage ( System.Language language ) : Collection |
||
CreateExtensionMappingForRunner ( ABB.SrcML.Src2SrcMLRunner2 runner ) : Language>.Dictionary |
protected GenerateImpl ( string inputFileName, string outputFileName ) : bool | ||
inputFileName | string | |
outputFileName | string | |
리턴 | bool |
public GenerateSrcMLFileFromDirectory ( string directoryPath, string xmlFileName ) : ABB.SrcML.SrcMLFile | ||
directoryPath | string | The directory path. |
xmlFileName | string | The path of the xml file. |
리턴 | ABB.SrcML.SrcMLFile |
public GenerateSrcMLFileFromDirectory ( string directoryPath, string xmlFileName, IEnumerable |
||
directoryPath | string | The directory path. |
xmlFileName | string | The path of the xml file. |
filesToExclude | IEnumerable |
A collection of files to exclude from |
리턴 | ABB.SrcML.SrcMLFile |
public GenerateSrcMLFileFromDirectory ( string directoryPath, string xmlFileName, IEnumerable |
||
directoryPath | string | |
xmlFileName | string | |
filesToExclude | IEnumerable |
|
languageFilter | System.Language | |
리턴 | ABB.SrcML.SrcMLFile |
public GenerateSrcMLFileFromDirectory ( string directoryPath, string xmlFileName, System.Language languageFilter ) : ABB.SrcML.SrcMLFile | ||
directoryPath | string | The directory path. |
xmlFileName | string | The path of the xml file. |
languageFilter | System.Language | The language to include. |
리턴 | ABB.SrcML.SrcMLFile |
public GenerateSrcMLFileFromFiles ( IEnumerable |
||
sourceFileNames | IEnumerable |
The source files to generate SrcML from. |
xmlFileName | string | The file name to write the resulting XML to. |
리턴 | ABB.SrcML.SrcMLFile |
public GenerateSrcMLFromDirectory ( string directoryPath, string xmlFileName ) : void | ||
directoryPath | string | |
xmlFileName | string | |
리턴 | void |
public GenerateSrcMLFromDirectory ( string directoryPath, string xmlFileName, IEnumerable |
||
directoryPath | string | |
xmlFileName | string | |
filesToExclude | IEnumerable |
|
리턴 | void |
public GenerateSrcMLFromDirectory ( string directoryPath, string xmlFileName, IEnumerable |
||
directoryPath | string | The directory path. |
xmlFileName | string | The path of the xml file. |
filesToExclude | IEnumerable |
A collection of files to exclude from |
languageFilter | System.Language | The language to include. |
리턴 | void |
public GenerateSrcMLFromDirectory ( string directoryPath, string xmlFileName, System.Language languageFilter ) : void | ||
directoryPath | string | |
xmlFileName | string | |
languageFilter | System.Language | |
리턴 | void |
public GenerateSrcMLFromFile ( string sourceFileName, string xmlFileName ) : void | ||
sourceFileName | string | The path of the source file to convert. |
xmlFileName | string | The file name to write the resulting XML to. |
리턴 | void |
public GenerateSrcMLFromFile ( string sourceFileName, string xmlFileName, System.Language language ) : void | ||
sourceFileName | string | The path to the source file to convert. |
xmlFileName | string | The file name to write the resulting XML to. |
language | System.Language | The language to parse the source file as. If this is Language.Any, then the language will be determined from the file extension. |
리턴 | void |
public GenerateSrcMLFromFiles ( IEnumerable |
||
sourceFileNames | IEnumerable |
|
xmlFileName | string | |
리턴 | void |
public GenerateSrcMLFromFiles ( IEnumerable |
||
sourceFileNames | IEnumerable |
The source files to generate SrcML from. |
xmlFileName | string | The file name to write the resulting XML to. |
language | System.Language | The language to parse the source files as. |
리턴 | void |
public GenerateSrcMLFromString ( string source ) : string | ||
source | string | A string containing the source code to parse. |
리턴 | string |
public GenerateSrcMLFromString ( string source, System.Language language ) : string | ||
source | string | A string containing the source code to parse. |
language | System.Language | The language to parse the string as. Language.Any is not valid. |
리턴 | string |
public RegisterExecutable ( string executableDirectory, IEnumerable |
||
executableDirectory | string | The directory containing the src2srcml executable to use. |
languages | IEnumerable |
A collection of the Languages that should be parsed by this executable. |
리턴 | void |
public RegisterExecutable ( string executableDirectory, IEnumerable |
||
executableDirectory | string | The directory containing the src2srcml executable to use. |
languages | IEnumerable |
A collection of the Languages that should be parsed by this executable. |
namespaceArguments | IEnumerable |
The namespace arguments to use when converting to SrcML. |
리턴 | void |
public SrcMLGenerator ( string defaultExecutableDirectory ) : System | ||
defaultExecutableDirectory | string | The directory containing the default srcml executables to use. |
리턴 | System |
public SrcMLGenerator ( string defaultExecutableDirectory, IEnumerable |
||
defaultExecutableDirectory | string | The directory containing the default srcml executables to use. |
namespaceArguments | IEnumerable |
The namespace arguments to use when converting to SrcML. |
리턴 | System |