Mercurial > hg > Members > kono > PLparser
annotate src/plparser/TestParser.java @ 1:b149a5aa465a
Parser is written
author | kono@ie.u-ryukyu.ac.jp |
---|---|
date | Sat, 28 Aug 2010 17:39:34 +0900 |
parents | |
children |
rev | line source |
---|---|
1 | 1 package plparser; |
2 | |
3 | |
4 public class TestParser { | |
5 | |
6 public static void main(String arg[]) { | |
7 PropertyListParser<Property> p; | |
8 PropertyListNodeFactory<Property> lf = new PropertyFactoryImpl(); | |
9 p = new PropertyListParser<Property>("{ a=b;}",lf); | |
10 Property n = p.parse(); | |
11 if (n!=null) System.out.print(n); System.out.println("."); | |
12 } | |
13 } |