|
Send bugs or comments to Bernd Kühl (bernd@informatik.uni-osnabrueck.de) | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
|
+--lolo.Scan
|
+--lolo.scans.Scan
|
+--lolo.scans.SimpleIdentifier
|
+--lolo.scans.JavaIdentifier
Instances of this class scan for Java identifiers and use the methods java.lang.Character.isJavaIdentifierStart() and java.lang.Character.isJavaIdentifierPart() to check the characters.
| Inner classes inherited from class lolo.Scan |
Scan.Action, Scan.State |
| Fields inherited from class lolo.scans.SimpleIdentifier |
start |
| Fields inherited from class lolo.scans.Scan |
reset, stateObject |
| Fields inherited from class lolo.Scan |
action, ignore |
| Constructor Summary | |
JavaIdentifier()
|
|
| Method Summary | |
protected boolean |
testPart(char ch)
Tests the characters. |
protected boolean |
testStart(char ch)
Tests the first character. |
| Methods inherited from class lolo.scans.SimpleIdentifier |
nextChar, reset |
| Methods inherited from class lolo.scans.Scan |
equals, hashCode, toString |
| Methods inherited from class lolo.Scan |
action, getAction, getIgnore, setAction, setIgnore |
| Methods inherited from class java.lang.Object |
|
| Constructor Detail |
public JavaIdentifier()
| Method Detail |
protected boolean testStart(char ch)
SimpleIdentifiertestStart in class SimpleIdentifierlolo.scans.SimpleIdentifierch - the first charatcer of the symbol.protected boolean testPart(char ch)
SimpleIdentifiertestPart in class SimpleIdentifierlolo.scans.SimpleIdentifierch - the next charatcer of the symbol.
|
Send bugs or comments to Bernd Kühl (bernd@informatik.uni-osnabrueck.de) | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||