Nasty.AST.AdjectivalPhrase (Nasty v0.3.0)

View Source

Adjectival Phrase: A phrase headed by an adjective.

Structure: (Intensifier) Adjective (Complement)

Examples

  • "happy" - adjective only
  • "very happy" - intensifier + adjective
  • "happy with the result" - adjective + PP complement

Summary

Types

t()

@type t() :: %Nasty.AST.AdjectivalPhrase{
  complement: Nasty.AST.PrepositionalPhrase.t() | nil,
  head: Nasty.AST.Token.t(),
  intensifier: Nasty.AST.Token.t() | nil,
  language: Nasty.AST.Node.language(),
  span: Nasty.AST.Node.span()
}