Exemplo n.º 1
0
        private void ProcessPropertyExp(string name, ASTNode node)
        {
            ASTNode type;

            if (node.Children.Count == 1)
            {
                type = node.Children[0];
                if (type.Symbol.ID == ExpressParser.ID.VariablePtKeyword)
                {
                    schema.AddDefType(name, node.Children[0].Children[0].Value);
                }
                else
                {
                    schema.AddEquivalentClasses(name, node.Children[0].Value);
                }
            }
            else
            {
                return;
            }
        }