Cosmo
master-dev
Top Level Namespace
Cosmo
AST
Expression
Access
Base
BigIntLiteral
BinaryOp
BooleanLiteral
Cast
CharLiteral
CompoundAssignment
FloatLiteral
FunctionCall
Index
IntLiteral
Is
Lambda
Literal
MultipleAssignment
MultipleDeclaration
New
NoneLiteral
Parameter
PropertyAssignment
RangeLiteral
StringInterpolation
StringLiteral
TableLiteral
TernaryOp
This
TypeAlias
TypeRef
UnaryOp
Var
VarAssignment
VarDeclaration
VectorLiteral
Visitor
Node
Statement
Base
Block
Break
Case
ClassDef
EnumDef
Every
FunctionDef
If
Next
Return
SingleExpression
Throw
TryCatch
Unless
Until
Use
Visitor
When
While
Visibility
Callable
Class
ClassInstance
Function
GetsIntrinsic
HookedExceptions
Break
Next
Return
Throw
HttpLib
Client
Fetch
ResponseBody
ToJSON
ToText
ResponseBodyFunctionBase
Server
ContextFunctionBase
Listen
Response
Send
SetContentType
Interpreter
IntrinsicFunction
IntrinsicLib
Keywords
Lexer
Location
Logger
MathLib
Acos
Acosh
Asin
Asinh
Atan
Atan2
Atanh
Cos
Cosh
Exp
Log
Log10
Log2
Max
Min
Sin
Sinh
Tan
Tanh
Num
NumberIntrinsics
Cbrt
Ceil
Floor
ISqrt
Round
Sqrt
Operator
AndAssign
Band
Bnot
Bor
Bshl
Bshr
Bxor
CoalesceAssign
Div
DivAssign
GT
GTE
IntDiv
LT
LTE
Minus
MinusAssign
Mod
ModAssign
Mul
MulAssign
OrAssign
Plus
PlusAssign
Pow
PowAssign
Parser
PutsIntrinsic
RecursionDepthIntrinsic
Resolver
Scope
StringIntrinsics
Alpha
AlphaNumeric
Blank
Chars
Empty
EndsWith
Numeric
Reverse
Split
StartsWith
WithoutFirst
WithoutLast
Syntax
TableIntrinsics
Empty
Has
Invert
Keys
Values
Token
Type
TypeChecker
TypeHoister
ValueType
VectorIntrinsics
Filter
First
FirstNullable
Index
IsEmpty
Join
Last
LastNullable
Map
Pop
Push
Shift
Sort
Sum
FnType
LiteralType
Stringify
class
Cosmo::HttpLib::Server::Listen
Cosmo::HttpLib::Server::Listen
Cosmo::IntrinsicFunction
Cosmo::Callable
Reference
Object
Defined in:
cosmo/runtime/intrinsic/lib/http.cr
Instance Method Summary
#arity
: Range(UInt32, UInt32)
#call
(args : Array(ValueType)) : Nil
Instance methods inherited from class
Cosmo::IntrinsicFunction
call(args : Array(ValueType)) : ValueType
call
,
intrinsic? : Bool
intrinsic?
,
to_s : String
to_s
,
token(name : String) : Token
token
Constructor methods inherited from class
Cosmo::IntrinsicFunction
new(interpreter : Interpreter)
new
Instance methods inherited from class
Cosmo::Callable
arity : Range(UInt32, UInt32)
arity
,
call(args : Array(ValueType)) : ValueType
call
,
intrinsic? : Bool
intrinsic?
,
to_s : String
to_s
Instance Method Detail
def
arity
: Range(UInt32, UInt32)
#
def
call
(args : Array(
ValueType
)) : Nil
#