SnippetInfo

Members

Functions

findInLocalScope
SnippetLevel findInLocalScope(SnippetLevel[] levels)

Checks in reverse if the given snippet level is in the stack, up until the last newMethod level.

level
SnippetLevel level()

Current snippet scope level of the location

Variables

contextTokenIndex
int contextTokenIndex;

Index in code which token was used to determine this snippet info.

lastStatement
LastStatementInfo lastStatement;

Information about the last parsable statement before the cursor. May be LastStatementInfo.init at start of function or block.

loopScope
SnippetLoopScope loopScope;

Information about snippets using loop context

stack
SnippetLevel[] stack;

Levels this snippet location has gone through, latest one being the last

Meta