MCPcopy Create free account

hub / github.com/TomBebbington/js.rs / functions

Functions209 in github.com/TomBebbington/js.rs

Methodcompile_log_op
(&'a self, op:LogOp, left:&Expr, right:&Expr)
src/lib/back/compiler.rs:120
Methodcompile_num_op
(&'a self, op:NumOp, left:&Expr, right:&Expr)
src/lib/back/compiler.rs:95
Methodcompile_return
(&'a self, val:Option<Box<Expr>>)
src/lib/back/compiler.rs:162
Methodcompile_unary_op
(&'a self, op:UnaryOp, val:&Expr)
src/lib/back/compiler.rs:150
Functioncos
Get the cosine of a number
src/lib/front/stdlib/math.rs:63
Functiondecode_uri
Decode a URI
src/lib/front/stdlib/uri.rs:16
Functiondecode_uri_component
Decode a URI component
src/lib/front/stdlib/uri.rs:21
Methoddefault
()
src/lib/front/run/executor.rs:33
Functiondefine_prop
Define a property in an object
src/lib/front/stdlib/object.rs:80
Methoddiv
(&self, other:&Value)
src/lib/front/stdlib/value.rs:343
Functionencode_uri
Encode a URI
src/lib/front/stdlib/uri.rs:6
Functionencode_uri_component
Encode a URI component
src/lib/front/stdlib/uri.rs:11
Methodeq
(&self, other:&Value)
src/lib/front/stdlib/value.rs:288
Functionerror
Print a javascript value to the standard error stream
src/lib/front/stdlib/console.rs:12
Functionexp
Get the power to raise the natural logarithm to get the number
src/lib/front/stdlib/math.rs:71
Functionfloor
Get the highest integer below a number
src/lib/front/stdlib/math.rs:79
Methodfmt
(&self, f: &mut fmt::Formatter)
src/lib/syntax/parser.rs:31
Methodfmt
(&self, f: &mut Formatter)
src/lib/syntax/ast/types.rs:39
Methodfmt
(&self, f: &mut Formatter)
src/lib/syntax/ast/constant.rs:22
Methodfmt
(&self, f: &mut Formatter)
src/lib/syntax/ast/punc.rs:105
Methodfmt
(&self, f: &mut Formatter)
src/lib/syntax/ast/keyword.rs:108
Methodfmt
(&self, f: &mut Formatter)
src/lib/syntax/ast/op.rs:29
Methodfmt
(&self, f: &mut Formatter)
src/lib/syntax/ast/expr.rs:23
Methodfmt
(&self, f: &mut Formatter)
src/lib/syntax/ast/token.rs:23
Methodfmt
(&self, f: &mut fmt::Formatter)
src/lib/front/stdlib/value.rs:252
Methodfrom_json
Convert from a JSON value to a JS value
src/lib/front/stdlib/value.rs:212
Methodfrom_str
(s: &str)
src/lib/syntax/ast/keyword.rs:70
Methodfrom_value
(v:Value)
src/lib/front/stdlib/value.rs:410
Methodfrom_value
(v:Value)
src/lib/front/stdlib/object.rs:52
Methodget_assoc
(&self)
src/lib/syntax/ast/expr.rs:74
Methodget_global
Get a field of the global object
src/lib/front/run/executor.rs:15
Methodget_precedence
(&self)
src/lib/syntax/ast/expr.rs:80
Functionget_proto_of
Get the prototype of an object
src/lib/front/stdlib/object.rs:68
Functionget_string_length
Get a string's length
src/lib/front/stdlib/string.rs:11
Functionhas_own_prop
Check if it has a property
src/lib/front/stdlib/object.rs:92
Functioninit
Initialise the global object with the `console` object
src/lib/front/stdlib/console.rs:28
Functioninit
Initialise the parse functions and `Number` on the global object
src/lib/front/stdlib/number.rs:75
Functioninit
Initialise the global object with the `Boolean` object
src/lib/front/stdlib/boolean.rs:14
Functioninit
Initialise the global object with the `Array` object
src/lib/front/stdlib/array.rs:15
Functioninit
Initialise the `String` object on the global object
src/lib/front/stdlib/string.rs:32
Functioninit
Initialise the global object with the `JSON` object
src/lib/front/stdlib/json.rs:30
Functioninit
Initialise the `Object` object on the global object
src/lib/front/stdlib/object.rs:117
Functioninit
Initialise the global object with the `Error` object
src/lib/front/stdlib/error.rs:30
Functioninit
Initialise the `Math` object on the global object
src/lib/front/stdlib/math.rs:191
Functioninit
Initialise the global object with the `Function` object
src/lib/front/stdlib/function.rs:39
Methodis_double
Returns true if the value is a 64-bit floating-point number
src/lib/front/stdlib/value.rs:111
Functionis_finite
Check if a value when converted to a number is finite
src/lib/front/stdlib/number.rs:21
Functionis_nan
Check if a value when converted to a number is equal to NaN
src/lib/front/stdlib/number.rs:41
Methodis_null
Returns true if the value is null
src/lib/front/stdlib/value.rs:97
Methodis_object
Returns true if the value is an object
src/lib/front/stdlib/value.rs:83
Methodis_undefined
Returns true if the value is undefined
src/lib/front/stdlib/value.rs:90
Methodlex_str
Processes an input stream from a string into an array of tokens
src/lib/syntax/lexer.rs:81
Functionlog
Print a javascript value to the standard output stream
src/lib/front/stdlib/console.rs:6
Functionlog
Get the natural logarithm of a number
src/lib/front/stdlib/math.rs:87
Functionmain
The main function
src/bin/bin.rs:28
Methodmake
Create a function from function data and arguments
src/lib/front/stdlib/function.rs:25
Functionmake_array
Create a new array
src/lib/front/stdlib/array.rs:5
Functionmake_boolean
Create a new boolean
src/lib/front/stdlib/boolean.rs:5
Functionmake_error
Create a new error
src/lib/front/stdlib/error.rs:6
Functionmake_object
Create a new object
src/lib/front/stdlib/object.rs:64
Functionmake_string
Create new string
src/lib/front/stdlib/string.rs:6
Functionmax
Get the maximum of several numbers
src/lib/front/stdlib/math.rs:95
Functionmin
Get the minimum of several numbers
src/lib/front/stdlib/math.rs:104
Methodmul
(&self, other:&Value)
src/lib/front/stdlib/value.rs:338
Methodneg
(&self)
src/lib/front/stdlib/value.rs:383
Methodnew
Creates a new parser, using `tokens` as input
src/lib/syntax/parser.rs:67
Methodnew
Creates a new lexer with empty buffers
src/lib/syntax/lexer.rs:64
Methodnew
Create a new position
src/lib/syntax/ast/pos.rs:11
Methodnew
Create a new expression with a starting and ending position
src/lib/syntax/ast/expr.rs:18
Methodnew
Create a new detailed token from the token data, line number and column number
src/lib/syntax/ast/token.rs:15
Methodnew
Move some value data into a new value
src/lib/front/stdlib/value.rs:52
Methodnew
Make a new property with the given value
src/lib/front/stdlib/object.rs:27
Methodnew
Make a new function
src/lib/front/stdlib/function.rs:19
Methodnew
Construct a new JIT Compiler on the given context
src/lib/back/compiler.rs:26
Methodnew
(config:&ExecutorConfig)
src/lib/back/executor.rs:28
Methodnew
Create a new unit tester
src/bin/tests.rs:39
Methodnew
Create a new interactive mode info
src/bin/interactive.rs:21
Methodnew
Create a new interactive mode info
src/bin/runner.rs:18
Methodnew_global
Create a new global object
src/lib/front/stdlib/value.rs:58
Methodnew_obj
Returns a new empty object
src/lib/front/stdlib/value.rs:74
Methodnormalise
Normalise the type
src/lib/syntax/ast/types.rs:31
Methodnot
(&self)
src/lib/front/stdlib/value.rs:378
Functionparse
Parse a JSON string into a Javascript object
src/lib/front/stdlib/json.rs:5
Functionparse_float
Parse a float into a value
src/lib/front/stdlib/number.rs:5
Functionparse_int
Parse an int into a value
src/lib/front/stdlib/number.rs:13
Methodpartial_cmp
(&self, other: &Value)
src/lib/front/stdlib/value.rs:388
Functionpow
Raise a number to a power
src/lib/front/stdlib/math.rs:113
Functionptr_value
(ptr: &i8)
src/lib/back/executor.rs:70
Methodrem
(&self, other:&Value)
src/lib/front/stdlib/value.rs:348
Functionresolve_type
Type an expression
src/lib/syntax/ast/typer.rs:7
Functionround
Round a number to the nearest integer
src/lib/front/stdlib/math.rs:127
Methodrun
Run the interactive mode
src/bin/interactive.rs:29
Methodrun
Run the script
src/bin/runner.rs:24
Methodset_global
Set a field of the global object
src/lib/front/run/executor.rs:20
Functionset_proto_of
Set the prototype of an object
src/lib/front/stdlib/object.rs:73
Methodshl
(&self, other:&Value)
src/lib/front/stdlib/value.rs:368
Methodshr
(&self, other:&Value)
src/lib/front/stdlib/value.rs:373
Functionsin
Get the sine of a number
src/lib/front/stdlib/math.rs:135
Functionstrict_is_finite
Check if a number is finite
src/lib/front/stdlib/number.rs:29
Functionstrict_is_nan
Check if a number is equal to NaN
src/lib/front/stdlib/number.rs:49
← previousnext →101–200 of 209, ranked by callers