Attributes
production.
# Expect an `Attributes` production.
private fun expect_attribute: Bool do
var name = new FlatBuffer
var value = new FlatBuffer
if lexer.expect_name(name) and
lexer.expect_eq and
expect_att_value(value) then
model.fire_attribute(name.to_s, value.to_s)
return true
else
return false
end
end
lib/saxophonit/saxophonit.nit:365,2--378,4