1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-04-29 19:45:01 +02:00

removed static modifiers from parse() methods

This commit is contained in:
Mike Kucera 2008-01-08 23:01:25 +00:00
parent 244201f5e0
commit 204b33a9ba

View file

@ -95,11 +95,11 @@ public class AST2BaseTest extends BaseTestCase {
super(name);
}
static protected IASTTranslationUnit parse( String code, ParserLanguage lang ) throws ParserException {
protected IASTTranslationUnit parse( String code, ParserLanguage lang ) throws ParserException {
return parse(code, lang, false, true );
}
static protected IASTTranslationUnit parse( String code, ParserLanguage lang, boolean useGNUExtensions ) throws ParserException {
protected IASTTranslationUnit parse( String code, ParserLanguage lang, boolean useGNUExtensions ) throws ParserException {
return parse( code, lang, useGNUExtensions, true );
}
/**
@ -108,11 +108,11 @@ public class AST2BaseTest extends BaseTestCase {
* @return
* @throws ParserException
*/
static protected IASTTranslationUnit parse( String code, ParserLanguage lang, boolean useGNUExtensions, boolean expectNoProblems ) throws ParserException{
protected IASTTranslationUnit parse( String code, ParserLanguage lang, boolean useGNUExtensions, boolean expectNoProblems ) throws ParserException{
return parse(code, lang, useGNUExtensions, expectNoProblems, false);
}
static protected IASTTranslationUnit parse( String code, ParserLanguage lang, boolean useGNUExtensions, boolean expectNoProblems , boolean parseComments) throws ParserException {
protected IASTTranslationUnit parse( String code, ParserLanguage lang, boolean useGNUExtensions, boolean expectNoProblems , boolean parseComments) throws ParserException {
IScanner scanner = createScanner(new CodeReader(code.toCharArray()), lang, ParserMode.COMPLETE_PARSE,
new ScannerInfo(), parseComments);
ISourceCodeParser parser2 = null;
@ -419,7 +419,7 @@ public class AST2BaseTest extends BaseTestCase {
assertEquals(ownerName, struct.getName());
}
static protected class BindingAssertionHelper {
protected class BindingAssertionHelper {
protected IASTTranslationUnit tu;
protected String contents;
protected boolean isCPP;