C# Класс Microsoft.R.Core.DataTips.RDataTip

Показать файл Открыть проект

Открытые методы

Метод Описание
GetDataTipExpression ( IAstNode ast, ITextRange range ) : IAstNode

Given an R AST, and a range in that AST, determines the DataTip expression for that range.

DataTip expression is defined as the outermost expression enclosing the range, such that the sequence of operators from that outermost expression to the innermost node still enclosing the range only consists of operators: $ @ :: ::: [ [[. Furthermore, in case of [ [[, only their left operands are considered.

Приватные методы

Метод Описание
IsValidInitialNode ( IAstNode node ) : bool

Determines whether hovering over the AST node provided should trigger the DataTip.

Описание методов

GetDataTipExpression() публичный статический Метод

Given an R AST, and a range in that AST, determines the DataTip expression for that range.
DataTip expression is defined as the outermost expression enclosing the range, such that the sequence of operators from that outermost expression to the innermost node still enclosing the range only consists of operators: $ @ :: ::: [ [[. Furthermore, in case of [ [[, only their left operands are considered.
public static GetDataTipExpression ( IAstNode ast, ITextRange range ) : IAstNode
ast IAstNode
range ITextRange
Результат IAstNode