Open Sidebar
Close Sidebar
CrystalDoc.info
Source code
Shards.info
funk
master
Funk
Ast
AstSchemePrinter
Block
Boolean
CallExpression
DefStatement
Errors
StandardError
SyntaxError
UnexpectedToken
UnknownEscapeSequence
ExpressionStatement
Identifier
IfExpression
InfixExpression
Lambda
Lexer
Null
Numeric
Parser
Precedences
Position
PrefixExpression
Program
Reader
Repl
ReturnStatement
StringNode
Token
TokenType
Visitor
WhileStatement
Built with Crystal 1.9.2
2023-10-08 13:58:29 UTC
class
Funk::WhileStatement
Funk::WhileStatement
Funk::Ast
Reference
Object
Defined in:
funk/syntax/ast.cr
Constructors
.new
(token : Token, cond : Funk::Ast, body : Funk::Ast)
Instance Method Summary
#accept
(visitor : Visitor)
#body
: Ast
#body=
(body : Ast)
#cond
: Ast
#cond=
(cond : Ast)
Instance methods inherited from class
Funk::Ast
token : Token
token
,
token=(token : Token)
token=
Constructor methods inherited from class
Funk::Ast
new(token : Token)
new
Constructor Detail
def self.
new
(token :
Token
, cond :
Funk::Ast
, body :
Funk::Ast
)
#
[
View source
]
Instance Method Detail
def
accept
(visitor :
Visitor
)
#
[
View source
]
def
body
:
Ast
#
def
body=
(body :
Ast
)
#
def
cond
:
Ast
#
def
cond=
(cond :
Ast
)
#