Skip to main content
CrystalDocs
Search documentation
Search
Browse Docs
CrystalShards
About
class
Heucristic::Syntax::Cursor
Inherits
Heucristic::Syntax::Scoped
<
Crystal::Visitor
<
Reference
<
Object
Constructors
new
(point :
Document::Point
, path :
String
|
Nil
, version :
CrystalVersion::Detected
, source :
String
)
Source
Class methods
find
(tree :
Crystal::ASTNode
, point :
Document::Point
, path :
String
|
Nil
, version :
CrystalVersion::Detected
, source :
String
) :
Target
|
Nil
Source
Instance methods
target
Source
visit
(node :
Crystal::Def
) :
Bool
Source
visit
(node :
Crystal::Call
) :
Bool
Source
visit
(node :
Crystal::Path
) :
Bool
Source
visit
(node :
Crystal::Var
) :
Bool
Source
visit
(node :
Crystal::Rescue
) :
Bool
Source
visit
(node :
Crystal::Arg
) :
Bool
Source
visit
(node :
Crystal::InstanceVar
|
Crystal::ClassVar
) :
Bool
Source
visit
(node :
Crystal::ClassDef
|
Crystal::ModuleDef
|
Crystal::EnumDef
|
Crystal::LibDef
) :
Bool
Source
visit
(node :
Crystal::Alias
) :
Bool
Source
visit
(node :
Crystal::Require
) :
Bool
Source
visit
(node :
Crystal::MacroIf
) :
Bool
Source
visit
(node :
Crystal::ASTNode
) :
Bool
Source