The key work for the Xtext grammar is "Struct" and not "Struc" See for example this line: https://github.com/ipa320/ros_model_parser/blob/master/src/ros_metamodels/ros_metamodel_core.py#L186