|| fToken == TokenNameprotected || fToken == TokenNameprivate) {
getNextToken();
}
- if (fToken == TokenNameVariable) {
+ while (fToken == TokenNameVariable) {
ident = fScanner.getCurrentIdentifierSource();
classVariable = new char[ident.length - 1];
System.arraycopy(ident, 1, classVariable, 0, ident.length - 1);
addClassVariableInformation('v', classVariable, buf, phpdocOffset, phpdocLength);
getNextToken();
+ if (fToken == TokenNameCOMMA) {
+ getNextToken();
+ }
}
} else if (!hasModifiers && fToken == TokenNameIdentifier) {
ident = fScanner.getCurrentIdentifierSource();
ident = fScanner.getCurrentStringLiteralSource();
addIdentifierInformation('d', ident, buf, phpdocOffset, phpdocLength);
getNextToken();
+ } else if (fToken == TokenNameStringSingleQuote) {
+ ident = fScanner.getCurrentStringLiteralSource();
+ addIdentifierInformation('d', ident, buf, phpdocOffset, phpdocLength);
+ getNextToken();
}
}
}
ident = fScanner.getCurrentStringLiteralSource();
addIdentifierInformation('d', ident, buf, phpdocOffset, phpdocLength);
getNextToken();
- }
+ } else if (fToken == TokenNameStringSingleQuote) {
+ ident = fScanner.getCurrentStringLiteralSource();
+ addIdentifierInformation('d', ident, buf, phpdocOffset, phpdocLength);
+ getNextToken();
+ }
}
}
} else {