-
Notifications
You must be signed in to change notification settings - Fork 55
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support Classes - part1: parse classes #219
Comments
I am documenting my progress here to simpilfy writing documentation for this afterwards. The grammer being accepted by RuSTy will look like this.
|
Regarding Variable Blocks inside a class declaration:
In short: |
Regarding Variable Blocks inside a method declaration:
|
The parser will parse all variable blocks equally, so the validity of specified keywords and initializers, etc. has to be checked during semantic analysis. However, specifying a IO blocks inside a class declaration will yield a parser error. |
Parse class POUs and get an approriate representation in the AST.
Classes ...
Methods...
The text was updated successfully, but these errors were encountered: