Open Sidebar
Close Sidebar
CrystalDoc.info
Source code
Shards.info
ffind
main
Find
CLI
Expression
AST
Atom
Base
BooleanAnd
BooleanOr
IntegerLiteral
IsDirectory
IsEmpty
IsExecutable
IsFile
IsFileType
NameIs
Parens
StringLiteral
SuffixIs
SuffixLiteral
Term
ParseError
Parser
Built with Crystal 1.10.0
2023-11-13 18:23:24 UTC
class
Find::
Expression::
AST::
IsDirectory
Find::Expression::AST::IsDirectory
Find::Expression::AST::Base
Reference
Object
Defined in:
find/expression/ast.cr
Constructors
.new
(pos, text, negated : Bool)
Class Method Summary
.parse
(scan) : Base | Nil
Instance Method Summary
#negated
: Bool
#negated=
(negated : Bool)
#to_s
(io, parens =
false
)
Instance methods inherited from class
Find::Expression::AST::Base
number?
number?
,
pos : Int32
pos
,
pos=(pos : Int32)
pos=
,
size
size
,
text : String
text
,
text=(text : String)
text=
,
to_s(io, parens)
to_s
,
value : String
value
Constructor methods inherited from class
Find::Expression::AST::Base
new(pos : Int32, text : String)
new
Constructor Detail
def self.
new
(pos, text, negated : Bool)
#
[
View source
]
Class Method Detail
def self.
parse
(scan) :
Base
| Nil
#
[
View source
]
Instance Method Detail
def
negated
: Bool
#
[
View source
]
def
negated=
(negated : Bool)
#
[
View source
]
def
to_s
(io, parens =
false
)
#
[
View source
]