Пример #1
0
        public void GetContent(CompilerContext context, ParseTreeNode parseNode)
        {
            string type = parseNode.ChildNodes[1].ChildNodes[0].Token.ValueString;
            string indexName = parseNode.ChildNodes[1].ChildNodes[1].Token.ValueString;
            string edition = null;
            if (parseNode.ChildNodes[2].HasChildNodes())
            {
                edition = parseNode.ChildNodes[2].ChildNodes[0].Token.ValueString;
            }

            _DescribeIndexDefinition = new DescribeIndexDefinition(type, indexName, edition);
        }
Пример #2
0
 public void GetContent(CompilerContext context, ParseTreeNode parseNode)
 {
     _DescribeIndexDefinition = new DescribeIndexDefinition();
 }