Skip to content
Sanket Puthane edited this page Oct 25, 2022 · 1 revision

There were few issues with Visual Studio regex library. So, this repo uses Boost/regex library.
For tag v1.0 -
Boost version 1.80.0
Bison Tool is used to generate parser.
Current grammar file(grammar.y) detects only 1 class and function declaration.
It does not detect inner classes, variables, Data type resolution, Constructor Block, Static Block, Annotations.
Hence, Only Single Java class per java file is considered.
For the function body comparison, murmur3 128-bit hashcode is generated.

grammar.h grammar.cpp – generated by Bison tool.
Tokenizer.cpp – implementation file will pass those tokens as per mentioned in the grammar.y, rest will be skipped.
node.cpp – implementation file will hold the structure of Java Class. These structures are used to compare function body
of two Java class.

Clone this wiki locally