@Test
public void testItem() {

	AstItem p = parse("a['p']");
	assertTrue(p.getIndex() instanceof AstString);
	
	p = parse("a[p]");
	assertTrue(p.getIndex() instanceof AstIdentifier);
	
	p = parse("a[o.p]");
	assertTrue(p.getIndex() instanceof AstProperty);
}