Smalltalk/X WebserverDocumentation of class 'Parser::Correction': | |
Class: Correction (private in ParserThis class is only visible from within Parser.Inheritance:Object | +--Parser::Correction | +--Parser::CorrectByChangingSelector | +--Parser::CorrectByDeclaringIdentifierAs | +--Parser::CorrectByDeletingLocalIdentifier | +--Parser::CorrectByGeneratingMissingMethod | +--Parser::CorrectByGroupingMessage | +--Parser::CorrectByInserting | +--Parser::CorrectByInteractiveCorrection | +--Parser::CorrectByInteractiveRename | +--Parser::CorrectByMakingValidHexConstant
Description:a new correction scheme. Previously, there were only 2 hardcoded interactive corrections possible when the compiler had a correctbleError to report (declare as and correct). The use was asked via the correctableError: message (to the requestor), which had to return a symbol. Now, we move to a more flexible correction scheme, where the parser provides a list of plausible corrections as a collection of operations (actually class instances), which provide button labels (and possibly addition information in the future). Also, the correction object is supposed (in the future) to do the correction, so those operations are to be moved out of the compiler. Class protocol:instance creation queriesInstance protocol:accessing correcting
|
|
ST/X 7.7.0.0; WebServer 1.702 at 20f6060372b9.unknown:8081; Thu, 21 Nov 2024 20:46:15 GMT |