find_next_index_of_block_or_statement

Function find_next_index_of_block_or_statement 

Source
pub fn find_next_index_of_block_or_statement(
    source: &str,
    block_or_statement: &BlockOrStatement,
) -> Option<usize>
Expand description

Find the index of the next character immediately after the BlockOrStatement.

§Arguments

  • source - The source string
  • block_or_statement - The BlockOrStatement

§Returns

The index of the next character immediately after the BlockOrStatement.