C# 클래스 Microsoft.R.Core.DataTips.RDataTip

파일 보기 프로젝트 열기: Microsoft/RTVS

공개 메소드들

메소드 설명
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