reference.language.this.html Maven / Gradle / Ivy
Nothing and this
This/self value
Prompto supports user defined types called categories, for which specialized methods can also be defined.
When executing those methods, it can be necessary to refer to the current object.
This is achieved using the this value.
A this value has the following form:
this in the E dialect
self in the M dialect
this in the O dialect
Please note that in the above example, this is used to disambiguate the name parameter from the name attribute.
In Prompto category methods, this is implicit.
This is similar to Java and C#, but opposite to Python or JavaScript.
Please also note that name is a predefined Text attribute.
© 2015 - 2025 Weber Informatics LLC | Privacy Policy