styler (version 1.0.9000)

needs_indention_one: Check whether indention is needed

Description

Indention is needed if and only if there is no multi-line token between the trigger and the first line break.

Usage

needs_indention_one(pd, potential_trigger)

Arguments

pd

A parse table.

potential_trigger

the index of the token in the parse table for which it should be checked whether it should trigger indention.

Value

Returns TRUE if indention is needed, FALSE otherwise.

TRUE if indention is needed, FALSE otherwise.