Package de.jplag.csharp
Class CSharpParserAdapter
java.lang.Object
de.jplag.AbstractParser
de.jplag.csharp.CSharpParserAdapter
Parser adapter for the ANTLR 4 CSharp Parser and Lexer. It receives file to parse and passes them to the ANTLR
pipeline. Then it walks the produced parse tree and creates JPlag token with the
CSharpListener.- Author:
- Timur Saglam
-
Field Summary
Fields inherited from class de.jplag.AbstractParser
logger -
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
CSharpParserAdapter
public CSharpParserAdapter()Creates the parser adapter.
-
-
Method Details
-
parse
Parses all tokens from a set of files.- Parameters:
files- is the set of files.- Returns:
- the list of parsed tokens.
- Throws:
ParsingException
-