Results for: "strip"

No documentation available

Parses a C struct’s members

Example:

require 'fiddle/import'

include Fiddle::CParser
  #=> Object

parse_struct_signature(['int i', 'char c'])
  #=> [[Fiddle::TYPE_INT, Fiddle::TYPE_CHAR], ["i", "c"]]

parse_struct_signature(['char buffer[80]'])
  #=> [[[Fiddle::TYPE_CHAR, 80]], ["buffer"]]

Create a new ConstantWriteNode node.

No documentation available

“foo #{bar}” ^^^^^^^^^^^^

‘foo #{bar}` ^^^^^^^^^^^^

Visit a heredoc node that is representing a string.

Visit a heredoc node that is representing an xstring.

Example:

Foo::Bar += 1
   ^^^^^^^^

Compile a InstanceVariableAndWriteNode node

Compile a InstanceVariableOperatorWriteNode node

Compile a InstanceVariableOrWriteNode node

@foo &&= bar

becomes

@foo && @foo = bar

@foo ||= bar

becomes

@foo || @foo = bar

@foo += bar

becomes

@foo = @foo + bar

Dispatch enter and leave events for InstanceVariableAndWriteNode nodes and continue walking the tree.

Dispatch enter and leave events for InstanceVariableOperatorWriteNode nodes and continue walking the tree.

Dispatch enter and leave events for InstanceVariableOrWriteNode nodes and continue walking the tree.

Inspect a InstanceVariableAndWriteNode node.

Inspect a InstanceVariableOperatorWriteNode node.

Inspect a InstanceVariableOrWriteNode node.

Copy a InstanceVariableAndWriteNode node

Copy a InstanceVariableOperatorWriteNode node

Copy a InstanceVariableOrWriteNode node

Returns the original source code as an array of lines.

Note that this is an API for ruby internal use, debugging, and research. Do not use this for any other purpose. The compatibility is not guaranteed.

Search took: 5ms  ·  Total Results: 2501