C# Class Microsoft.R.Core.AST.AstRootExtensions

Mostrar archivo Open project: Microsoft/RTVS

Public Methods

Method Description
FindItemDefinition ( this ast, int position, string itemName ) : IAstNode

Locates function or variable definition given the item name and the position of the name in the text buffer.

GetFunctionsFromPosition ( this ast, int position ) : IEnumerable

Enumerates function definitions applicable to the current scope. Returns definitions that appear in the file up to the specified position.

IsCompleteExpression ( this expressionAst ) : bool

Method Details

FindItemDefinition() public static method

Locates function or variable definition given the item name and the position of the name in the text buffer.
public static FindItemDefinition ( this ast, int position, string itemName ) : IAstNode
ast this
position int
itemName string
return IAstNode

GetFunctionsFromPosition() public static method

Enumerates function definitions applicable to the current scope. Returns definitions that appear in the file up to the specified position.
public static GetFunctionsFromPosition ( this ast, int position ) : IEnumerable
ast this
position int
return IEnumerable

IsCompleteExpression() public static method

public static IsCompleteExpression ( this expressionAst ) : bool
expressionAst this
return bool