Results for: "to_proc"

Build a diagnostic from the given prism parse error.

Options for how prism should parse/lex the source.

This method is called when the parser found syntax error.

No documentation available
No documentation available
No documentation available
No documentation available
No documentation available
No documentation available

Ensures the root certificate in chain is self-signed and valid for time.

No documentation available
No documentation available
No documentation available

Adds a local gem requested using dep_name with the given spec that can be loaded and installed using the source.

No documentation available
No documentation available

Returns tokens corresponding to the location of the node. Returns nil if keep_tokens is not enabled when parse method is called.

root = RubyVM::AbstractSyntaxTree.parse("x = 1 + 2", keep_tokens: true)
root.tokens # => [[0, :tIDENTIFIER, "x", [1, 0, 1, 1]], [1, :tSP, " ", [1, 1, 1, 2]], ...]
root.tokens.map{_1[2]}.join # => "x = 1 + 2"

Token is an array of:

Sends “close notify” to the peer and tries to shut down the SSL connection gracefully.

If a timestamp token is present, this returns it in the form of a OpenSSL::PKCS7.

Restore session state from the session’s FileStore file.

Returns the session state as a hash.

Restore session state.

Returns session data as a hash.

Restore (empty) session state.

Restore session state from the session’s PStore file.

Returns the session state as a hash.

Parses a source buffer and returns the AST, the source code comments, and the tokens emitted by the lexer.

Like Enumerable#drop_while, but chains operation to be lazy-evaluated.

Search took: 4ms  ·  Total Results: 1563