How to define visibility & scoping rules?

How do u define visibility rules for a language. for example how would you define visibility for private , public and protected members and visibility for local vars and stuff?

0
1 comment
Avatar
Permanently deleted user

Hello, Prashant,

> How do u define visibility rules for a language. for example how

> would you define visibility for private , public and protected

> members and visibility for local vars and stuff?

Visibilty is defined in editorLanguage. To create completion menu for

some cell you have to provide substitute action. One part of this action

is query method that returns collection of nodes or something like this.

Now you have to write all of them in java, but we are developing

ModelQuery language that will significantly simplify this task.

It is possible to type code that violates visibility rules. For this

problem we have typesystem language.

0

Please sign in to leave a comment.