@Test
public void testFunction() {

	AstBinary expr = parse("1 + a(1)");
	AstFunction func = (AstFunction)expr.getRight();
	assertNull(func.getPrefix());
	assertEquals("a",func.getName());
	
	func = parse("p:a()");
	assertEquals("p", func.getPrefix());
	assertEquals("a", func.getName());
	
	expr = parse("1 + p:a (1,2,'3')");
	func = (AstFunction)expr.getRight();
	assertEquals("p", func.getPrefix());
	assertEquals("a", func.getName());
}