Example #1
0
        public IEnumerable <ICodeRequest> GetCodeRequests()
        {
            var a = IPhpStatementBase.GetCodeRequests(arguments);
            var b = IPhpStatementBase.GetCodeRequests(statements);

            return(a.Union(b));
        }
Example #2
0
        public IEnumerable <ICodeRequest> GetCodeRequests()
        {
            var a = IPhpStatementBase.GetCodeRequests(_topCode, _bottomCode);
            var b = IPhpStatementBase.GetCodeRequests(_classes);

            return(a.Union(b));
        }
Example #3
0
        public override IEnumerable <ICodeRequest> GetCodeRequests()
        {
            var a = IPhpStatementBase.GetCodeRequests <IPhpValue>(arguments);
            var b = IPhpStatementBase.GetCodeRequests(expression);

            return(a.Union(b).ToArray());
        }
Example #4
0
        public IEnumerable <ICodeRequest> GetCodeRequests()
        {
            var a = IPhpStatementBase.GetCodeRequests(Name, BaseTypeName);
            var b = IPhpStatementBase.GetCodeRequests <PhpClassFieldDefinition>(_fields);
            var c = IPhpStatementBase.GetCodeRequests <PhpClassMethodDefinition>(_methods);

            return(a.Union(b).Union(c));
        }
        public override IEnumerable <ICodeRequest> GetCodeRequests()
        {
            var a = IPhpStatementBase.GetCodeRequests(targetObject).ToList();

            if (IncludeModule != null)
            {
                a.Add(new ModuleCodeRequest(includeModule, string.Format("instance field {0}", this)));
            }
            return(a);
        }
Example #6
0
        // Public Methods 

        public override IEnumerable <ICodeRequest> GetCodeRequests()
        {
            var requests = IPhpStatementBase.GetCodeRequests(_arguments.Select(i => i.Expression)).ToList();

            if (!_className.IsEmpty && !_dontIncludeClass && _className.EmitName != PhpQualifiedName.ClassnameSelf)
            {
                requests.Add(new ClassCodeRequest(_className));
            }
            return(requests);
        }
Example #7
0
 public IEnumerable <ICodeRequest> GetCodeRequests()
 {
     return(IPhpStatementBase.GetCodeRequests(_constValue));
 }
 public override IEnumerable <ICodeRequest> GetCodeRequests()
 {
     return(IPhpStatementBase.GetCodeRequests(_condition, _whenTrue, _whenFalse));
 }
Example #9
0
 public override IEnumerable <ICodeRequest> GetCodeRequests()
 {
     return(IPhpStatementBase.GetCodeRequests(_phpArray, _index));
 }
 public override IEnumerable <ICodeRequest> GetCodeRequests()
 {
     return(IPhpStatementBase.GetCodeRequests(left, right));
 }
Example #11
0
        // Public Methods 

        public override IEnumerable <ICodeRequest> GetCodeRequests()
        {
            var a = IPhpStatementBase.GetCodeRequests(left, right).ToArray();

            return(a);
        }
Example #12
0
 public override IEnumerable <ICodeRequest> GetCodeRequests()
 {
     return(IPhpStatementBase.GetCodeRequests(operand));
 }