View Javadoc

1   package fr.ove.openmath.jome.ctrl.amto;
2   
3   import fr.ove.openmath.jome.ctrl.linear.events.LinearParserEvent;
4   import fr.ove.openmath.jome.ctrl.amto.MapsToNAry;
5   
6   /***
7   * The abstract math tree object of a function.
8   *
9   * @author © 1999 DIRAT Laurent
10  * @version 1.0  18/11/1999
11  */
12  public class Function extends MapsToList {
13      /***
14      * The constructor.
15      */
16      public Function() {
17          super("function", LinearParserEvent.FUNCTION, LinearParserEvent.CLOSE_PAREN);
18      }
19      
20      /***
21      * The constructor.
22      * @param identifier the identifier of the instance.
23      */
24      public Function(String identifier) {
25          super(identifier, LinearParserEvent.FUNCTION, LinearParserEvent.CLOSE_PAREN);
26      }
27  }