c2nes / javalang

Pure Python Java parser and tools
MIT License
737 stars 161 forks source link

Can't recognize binary logical operator '!' #76

Open Vitaly-Protasov opened 4 years ago

Vitaly-Protasov commented 4 years ago

Stack with a problem in this code:

 class Test {
    public static void main(String[] arg) {
        int a = 1;
        if (time && !(b || c) ) {
            a = 1;
    }
}
}

javalang didn't see the logical negation of an expression '!(b || c) '. Only demonstrate logical or - ' || '