String type, value, lang, datatype;
type = value = lang = datatype = null;
if (lookingAt(TokenType.LBRACE))
{
Token pos = nextToken();
//Collect the Properties
do
{
if (isPropertyName())
{
Token t = nextToken();
String name = t.getImage();
checkColon();
if (name.equals("type")) {
if (type != null) exception(t, "Illegal duplicate type property");
type = parseNodeInfo("type");