styler (version 1.0.9000)

needs_indention: Check whether indention is needed

Description

Checks for each potential trigger token in pd whether it actually should cause indention.

Usage

needs_indention(pd, potential_triggers)

Arguments

pd

A parse table.

potential_triggers

A vector with indices of the potential trigger tokens in pd.