JumpToDeclaration

org.nlogo.ide.JumpToDeclaration

Attributes

Source
JumpToDeclaration.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Value members

Concrete methods

def findTokenContainingPosition(source: String, position: Int): Option[Token]

Attributes

Source
JumpToDeclaration.scala
def getDeclaration(token: Token, source: String): Option[Token]

Attributes

Source
JumpToDeclaration.scala
def jumpToDeclaration(cursorPosition: Int, editorArea: JTextComponent): Unit

Attributes

Source
JumpToDeclaration.scala

Parsed the variable that are visible in the whole scope of the code.

Parsed the variable that are visible in the whole scope of the code.

Value parameters

tokens

list of all the tokens in the editor

Attributes

Returns

tuple of globals, owns, functions. Each value is a map from token text to token.

Source
JumpToDeclaration.scala