1 package de.fhdw.wtf.common.ast;
2
3 import java.io.Serializable;
4
5 import de.fhdw.wtf.common.token.Token;
6
7 /**
8 * This class is the interface for {@link SyntaxObject}. It is necessary for multiple inheritance.
9 */
10 public interface SyntaxObjectInterface extends Serializable {
11
12 /**
13 * Get the First-Token.
14 *
15 * @return First-Token
16 */
17 Token getFirstToken();
18
19 /**
20 * Set the First-Token.
21 *
22 * @param firstToken
23 * First-Token
24 */
25 void setFirstToken(Token firstToken);
26
27 /**
28 * Get the Last-Token.
29 *
30 * @return Last-Token
31 */
32 Token getLastToken();
33
34 /**
35 * Set the Last-Token.
36 *
37 * @param lastToken
38 * Last-Token
39 */
40 void setLastToken(Token lastToken);
41
42 }