value (String, "" by default): a String representing the documentation of a GAML element.The documentation is automatically assembled at compile time and also used at runtime in GAML editors. It provides a unified way of attaching documentation to the various GAML elements tagged by the other annotations. doc (set of empty by default): the documentation attached to this .Does not need to be unique throughout GAML. altNames (set of Strings, empty by default): an Array of strings, each representing a possible alternative name for the constant.value (String): a string representing the basic keyword for the constant.category (set of Strings, empty by default): an array of strings, each representing a category in which this constant can be classified (for documentation indexes).This annotation is used to annotate fields that are used as constants in GAML. optional (boolean, true by default): whether this argument is optional or not.type (set of ints, empty by default): An array containing the textual representation of the types that can be taken by the argument (see IType).name (String, "" by default): the name of the argument as it can be used in GAML. This annotation describes an argument passed to an action. doc (set of empty by default): the documentation associated to the .args (set of empty by default): the list of arguments passed to this action.virtual (boolean, false by default): if true the action is virtual, i.e.name (String): the name of the variable as it can be used in GAML.The method must have the following signature: Object methodName(IScope) throws GamaRuntimeException and be contained in a class annotated with or (or a related class, like a subclass or an interface). This annotation is used to tag a method that will be considered as an action (or primitive) in GAML. Annotations are used to link Java methods and classes to GAML language.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |