private void ProcessEnumeration(string name, ASTNode node) { Enumeration enumeration = new Enumeration(name); ASTNode nameNode; for (int i = 1; i < node.Children.Count; i++) { nameNode = node.Children[i]; enumeration.AddLiteral(nameNode.Value); } schema.AddEnumeration(enumeration); }