Skip to content
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

7.2 URI Templating - pseudo functions with signatures #11

Open
hrennau opened this issue May 3, 2020 · 0 comments
Open

7.2 URI Templating - pseudo functions with signatures #11

hrennau opened this issue May 3, 2020 · 0 comments

Comments

@hrennau
Copy link

hrennau commented May 3, 2020

In the pseudo-code, the call of populateDataFromInstance() should have one more argument, "attachmentPointer", e.g. like this:

template Data = populateDataFromInstance(T, ldo, attachmentPointer, instance)

In general, I suggest to present the three parts of pseudo-code as pseudo-functions - just by inserting the signature above the code - in order to make the required input clearer:

resolveTemplate(T, initialTemplateKeyword, ldo, attachmentPointer, instance)
... (First block of pseudo-code)

populateDataFromInstance(T, ldo, attachmentPointer, instance)
... (Second block of pseudo-code)

acceptInput(T, ldo, templateData)
... (Third block of pseudo-code)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant