示例#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;
 }