LastStatementInfo

Undocumented in source.
struct LastStatementInfo {}

Members

Variables

ifHasElse
bool ifHasElse;

True if the type is (IfStatement, ConditionalDeclaration or ConditionalStatement) and has a final else block defined.

location
int location;

If type is set, this is the start location in bytes where the first token was.

type
string type;

The libdparse class name (typeid) of the last parsable statement before the cursor, stripped of module name.

Meta