readKeyword static method
Implementation
static String readKeyword(UDocCursor cursor) {
final StringBuffer buffer = StringBuffer();
while (!cursor.isEmpty && isRegular(cursor.peek)) {
buffer.writeCharCode(cursor.u8());
}
return buffer.toString();
}