예제 #1
0
 private static Tree.CallSignature ToCallSignature(Devsense.PHP.Syntax.Ast.CallSignature e)
 {
     return(new Tree.CallSignature(e.Parameters.Select(p => ToCallParameter(p))));
 }
예제 #2
0
 public DirectFcnCall(Text.Span span, TranslatedQualifiedName name, CallSignature signature)
     : base(span, signature)
 {
     _fullName = name;
 }
예제 #3
0
 public DirectStMtdCall(Text.Span span, TypeRef targetType, NameRef nameRef, CallSignature signature)
     : base(span, targetType, signature)
 {
     this.methodName = nameRef;
 }
예제 #4
0
 /// <summary>
 /// Static method call.
 /// </summary>
 /// <param name="span">Entire element span.</param>
 /// <param name="className">Name of the containing class.</param>
 /// <param name="classNamePosition">Class name position.</param>
 /// <param name="signature">The call signature.</param>
 internal StaticMtdCall(Text.Span span, GenericQualifiedName className, Text.Span classNamePosition, CallSignature signature)
     : this(span, TypeRef.FromGenericQualifiedName(classNamePosition, className), signature)
 {
 }
예제 #5
0
 public IndirectFcnCall(Text.Span p, Expression /*!*/ nameExpr, CallSignature signature)
     : base(p, signature)
 {
     this.nameExpr = nameExpr;
 }
예제 #6
0
 public AttributeElement(Span span, TypeRef classref, CallSignature callsignature)
     : base(span)
 {
     this.ClassRef      = classref;
     this.CallSignature = callsignature;
 }