Exemple #1
0
        public override ExpressionCode GenerateCode()
        {
            var helper     = new GenerationHelper();
            var stringCode = "";

            stringCode += IdNode.GenerateCode().Code;
            if (AssignmentNode != null)
            {
                stringCode += AssignmentNode.GenerateCode().Code;
            }
            stringCode += PostId;

            return(new ExpressionCode {
                Code = stringCode, Type = IdNode.GenerateCode().Type
            });
        }