| 430 | if (type == "variable") {cx.marked = "property"; return cont();} |
| 431 | } |
| 432 | function objprop(type, value) { |
| 433 | if (type == "variable" || cx.style == "keyword") { |
| 434 | cx.marked = "property"; |
| 435 | if (value == "get" || value == "set") return cont(getterSetter); |
| 436 | return cont(afterprop); |
| 437 | } else if (type == "number" || type == "string") { |
| 438 | cx.marked = jsonldMode ? "property" : (cx.style + " property"); |
| 439 | return cont(afterprop); |
| 440 | } else if (type == "jsonld-keyword") { |
| 441 | return cont(afterprop); |
| 442 | } else if (type == "[") { |
| 443 | return cont(expression, expect("]"), afterprop); |
| 444 | } |
| 445 | } |
| 446 | function getterSetter(type) { |
| 447 | if (type != "variable") return pass(afterprop); |
| 448 | cx.marked = "property"; |