blob: 2d1571146922779d79753536cb5d20fe56a7caad (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
|
package bjc.utils.parserutils;
/**
* This class parses a config file written in RPN and uses it to construct
* data items
*
* @author ben
*
* TODO implement me
*/
public class StackBasedConfigReader {
public static interface IItem {
public ItemType getType();
}
/**
* Represents the types of item that can be found on stacks
*
* @author ben
*
*/
public static enum ItemType {
/**
* Represents an integral number
*/
INTEGER,
/**
* Represents a string of characters
*/
STRING,
/**
* Represents an arbitrary object
*/
OBJECT
}
}
|