public void GetContent(CompilerContext context, ParseTreeNode parseNode) { var idChain = ((IDNode)parseNode.ChildNodes[0].AstNode).IDChainDefinition; var AttrName = parseNode.ChildNodes[0].FirstChild.FirstChild.Token.ValueString; var tupleDefinition = ((TupleNode)parseNode.ChildNodes[2].AstNode).TupleDefinition; AttributeRemoveList = new Managers.Structures.AttributeRemoveList(idChain, AttrName, tupleDefinition); }
public void GetContent(CompilerContext context, ParseTreeNode parseNode) { var idChain = ((IDNode)parseNode.ChildNodes[2].AstNode).IDChainDefinition; var tupleDefinition = ((TupleNode)parseNode.ChildNodes[3].AstNode).TupleDefinition; var AttrName = parseNode.ChildNodes[2].FirstChild.FirstChild.Token.ValueString; AttributeRemoveList = new Managers.Structures.AttributeRemoveList(idChain, AttrName, tupleDefinition); base.ParsingResult.PushIWarning(new Warnings.Warning_ObsoleteGQL("REMOVE FROM", "-=")); }