Exemplo n.º 1
0
 private static Tree.CallSignature ToCallSignature(Devsense.PHP.Syntax.Ast.CallSignature e)
 {
     return(new Tree.CallSignature(e.Parameters.Select(p => ToCallParameter(p))));
 }
Exemplo n.º 2
0
 public DirectFcnCall(Text.Span span, TranslatedQualifiedName name, CallSignature signature)
     : base(span, signature)
 {
     _fullName = name;
 }
Exemplo n.º 3
0
 public DirectStMtdCall(Text.Span span, TypeRef targetType, NameRef nameRef, CallSignature signature)
     : base(span, targetType, signature)
 {
     this.methodName = nameRef;
 }
Exemplo n.º 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)
 {
 }
Exemplo n.º 5
0
 public IndirectFcnCall(Text.Span p, Expression /*!*/ nameExpr, CallSignature signature)
     : base(p, signature)
 {
     this.nameExpr = nameExpr;
 }
Exemplo n.º 6
0
 public AttributeElement(Span span, TypeRef classref, CallSignature callsignature)
     : base(span)
 {
     this.ClassRef      = classref;
     this.CallSignature = callsignature;
 }