pillar icon indicating copy to clipboard operation
pillar copied to clipboard

The API of PRInputDocument is not that good

Open Ducasse opened this issue 4 years ago • 1 comments

includedPillarAST := ((PRInputDocument inputClassForFile: includedFile) new
					"project: aProject;"
					file: includedFile contents;
					yourself) parsedDocument.

file: should expect a file reference and the parseDocument should do what it should. Then inputClassForFile: should not be exposed.

Ducasse avatar Jun 29 '21 19:06 Ducasse

introduced forFile: instance creation method.

Ducasse avatar Jun 29 '21 20:06 Ducasse