private void initialize(SourceCode sourceCode) {
	this.sourceCode = sourceCode;
	textWithSource = new StringWithLocation(sourceCode);
	text = textWithSource.getText();

	memo.clear();
	ruleInvocationStack = null;
	maxPosition = 0;
    }
private void initialize ( SourceCode sourceCode ) { this . sourceCode = sourceCode ; textWithSource = new StringWithLocation ( sourceCode ) ; text = textWithSource . getText ( ) ; memo . clear ( ) ; ruleInvocationStack = null ; maxPosition = 0 ; }
This method resets the whole parser and sets the new values for text and name
to start the parsing process afterwards.

@param text

@param name