public bool MatchesByRangeAndType([NotNull] PostfixExpressionContext context) { var startOffset = myExpressionRange.TextRange.StartOffset; return(context.Expression.GetType() == myExpressionType && context.ExpressionRange.TextRange.StartOffset == startOffset); }
public PostfixExpressionContextImage([NotNull] PostfixExpressionContext context) { myExpressionType = context.Expression.GetType(); myExpressionRange = context.ExpressionRange; myExpressionIndex = context.PostfixContext.AllExpressions.IndexOf(context); }
public virtual PostfixExpressionContext FixExpression([NotNull] PostfixExpressionContext context) { return(context); }