User Tools

Site Tools


01_user_documentation:07_rgg_xl:02_xl:05_default_addition

Default addition

This section presents the default additions in .rgg files. WARNING This is not the case in .xl files 8-O

Annotation

This section should not be called annotation, (even though these are done thought annotation). But TODO later. The “annotation” part is developer part. But the value is modifiable from the user. (In the imaginary case where people would use groimp for a graph other than RGG graph. Or use another type of instantiation by default ).

→ select the default query model ( de.grogra.xl.query.UseModel) . value = de.grogra.rgg.model.Compiletime.class

→ select the default property ( de.grogra.xl.property.UseModel ) . type = Node.class, model = PropertyCompiletime.class

→ set the default super class type (DefaultModuleSuperclass ) . value = Node.class;

→ set the default instantiation producer ( InstantiationProducerType) . value = Instantiation.class

→ set additional compiler extensions ( UseExtension ). value = CompilerExtension.class.

→ use the implicit conversion from Double to FLoat

RGG scope

From the XL implementation, (as in Java) ALL files should have a class with their name. And methods cannot be defined outside of a class.

RGG files are different because they represent the CONTENT of a class (with the name of the file). That class extends RGG.

Class imports

Some package and classes are imported by default in each .rgg files.

→ Read more...

Method import

Some methods are also added by default

→ Read more...

01_user_documentation/07_rgg_xl/02_xl/05_default_addition.txt · Last modified: 2025/01/30 16:20 by gaetan