NODE_TYPES

Constant NODE_TYPES 

Source
pub const NODE_TYPES: &str = "[\n  {\n    \"type\": \"format\",\n    \"named\": true,\n    \"fields\": {},\n    \"children\": {\n      \"multiple\": true,\n      \"required\": true,\n      \"types\": [\n        {\n          \"type\": \"flags\",\n          \"named\": true\n        },\n        {\n          \"type\": \"precision\",\n          \"named\": true\n        },\n        {\n          \"type\": \"size\",\n          \"named\": true\n        },\n        {\n          \"type\": \"type\",\n          \"named\": true\n        },\n        {\n          \"type\": \"width\",\n          \"named\": true\n        }\n      ]\n    }\n  },\n  {\n    \"type\": \"format_string\",\n    \"named\": true,\n    \"root\": true,\n    \"fields\": {},\n    \"children\": {\n      \"multiple\": true,\n      \"required\": false,\n      \"types\": [\n        {\n          \"type\": \"format\",\n          \"named\": true\n        }\n      ]\n    }\n  },\n  {\n    \"type\": \"%\",\n    \"named\": false\n  },\n  {\n    \"type\": \"%%\",\n    \"named\": false\n  },\n  {\n    \"type\": \"flags\",\n    \"named\": true\n  },\n  {\n    \"type\": \"precision\",\n    \"named\": true\n  },\n  {\n    \"type\": \"size\",\n    \"named\": true\n  },\n  {\n    \"type\": \"type\",\n    \"named\": true\n  },\n  {\n    \"type\": \"width\",\n    \"named\": true\n  }\n]";
Expand description

The content of the node-types.json file for this grammar.