Interface JavaCodeScanner.Visitor
- Enclosing class:
JavaCodeScanner
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
-
Method Summary
Modifier and TypeMethodDescriptionbooleanvisit(int index, char c, JavaCodeScanner.Region region) Called for every character of the scanned code, in order.
-
Method Details
-
visit
Called for every character of the scanned code, in order.- Parameters:
index- The index of the character in the scanned codec- The character at the given indexregion- The region the character belongs to- Returns:
- true to continue scanning, false to abort the scan
-