override public void VisitDirectStFldUse(DirectStFldUse x) { _serializer.StartSerialize(typeof(DirectStFldUse).Name, SerializeSpan(x.Span), new NodeObj("PropertyName", x.PropertyName.Value)); base.VisitDirectStFldUse(x); _serializer.EndSerialize(); }
public override void VisitDirectStFldUse(DirectStFldUse x) { var indirectType = x.TypeRef as IndirectTypeRef; if (indirectType == null) { Result(new StaticFieldPoint(x)); } else { var typeName = CreateRValue(indirectType); Result(new StaticFieldPoint(x, typeName)); } }
public override void VisitDirectStFldUse(DirectStFldUse x) { VisitElement(x.TargetType); ConsumeToken(Tokens.T_DOUBLE_COLON, "::"); VisitVariableName(x.PropertyName, x.NameSpan, true); // $name }
virtual public void VisitDirectStFldUse(DirectStFldUse x) { VisitElement(x.TargetType); }
public override void VisitDirectStFldUse(DirectStFldUse x) { //Force traversing VisitElement(x.IsMemberOf); VisitElement(x.TypeRef); }
private static StaticFieldAccessExpression ToStaticFieldUseExpression(DirectStFldUse e) { return(new StaticFieldAccessExpression(ToNameOfVariable(e.PropertyName), FromTypeRef(e.TargetType))); }
override public void VisitDirectStFldUse(DirectStFldUse x) { result = new DirectStFldUse(x.Position, x.TypeRef, x.PropertyName, x.NamePosition); }
internal StaticFieldPoint(DirectStFldUse field, ValuePoint typeName) { Field = field; FieldName = new VariableIdentifier(field.PropertyName); Self = typeName; }
internal StaticFieldPoint(DirectStFldUse field) { Field = field; FieldName = new VariableIdentifier(field.PropertyName); Self = null; }