Method | Description | |
---|---|---|
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
|
Method | Description | |
---|---|---|
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 |
Method | Description | |
---|---|---|
CreateArgumentsForLanguage ( System.Language language ) : Collection |
||
CreateExtensionMappingForRunner ( ABB.SrcML.Src2SrcMLRunner2 runner ) : Language>.Dictionary |
protected DetectNonDefaultExecutables ( ) : void | ||
return | void |
protected GenerateImpl ( string inputFileName, string outputFileName ) : bool | ||
inputFileName | string | |
outputFileName | string | |
return | bool |
public GenerateSrcMLFileFromDirectory ( string directoryPath, string xmlFileName ) : ABB.SrcML.SrcMLFile | ||
directoryPath | string | The directory path. |
xmlFileName | string | The path of the xml file. |
return | 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 |
return | ABB.SrcML.SrcMLFile |
public GenerateSrcMLFileFromDirectory ( string directoryPath, string xmlFileName, IEnumerable |
||
directoryPath | string | |
xmlFileName | string | |
filesToExclude | IEnumerable |
|
languageFilter | System.Language | |
return | 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. |
return | 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. |
return | ABB.SrcML.SrcMLFile |
public GenerateSrcMLFromDirectory ( string directoryPath, string xmlFileName ) : void | ||
directoryPath | string | |
xmlFileName | string | |
return | void |
public GenerateSrcMLFromDirectory ( string directoryPath, string xmlFileName, IEnumerable |
||
directoryPath | string | |
xmlFileName | string | |
filesToExclude | IEnumerable |
|
return | 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. |
return | void |
public GenerateSrcMLFromDirectory ( string directoryPath, string xmlFileName, System.Language languageFilter ) : void | ||
directoryPath | string | |
xmlFileName | string | |
languageFilter | System.Language | |
return | 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. |
return | 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. |
return | void |
public GenerateSrcMLFromFiles ( IEnumerable |
||
sourceFileNames | IEnumerable |
|
xmlFileName | string | |
return | 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. |
return | void |
public GenerateSrcMLFromString ( string source ) : string | ||
source | string | A string containing the source code to parse. |
return | 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. |
return | 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. |
return | 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. |
return | void |
public SrcMLGenerator ( string defaultExecutableDirectory ) : System | ||
defaultExecutableDirectory | string | The directory containing the default srcml executables to use. |
return | 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. |
return | System |