Esempio n. 1
0
        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);
        }