[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.technology.imp] Re: New annotation creation service?

I don't think a new annotation service is required. The existing capability just needs to be richer: Bug 255617.

For my OCL and QVT editors there are multiple phases:
	lexing to IToken node list
	parsing to a CST node hierarchy
	analysing to an AST node hierarchy
	validation of an AST node hierarchy

Validation needs to be separate and as many checks as possible need to be deferred to validation so that validation is as useful as possible
when the AST is externally supplied rather than parsed.


Validation detects 'smells' of a variety of severities so annotations need to support severity.

	Regards
	
		Ed Willink