Nasty.AST.PrepositionalPhrase (Nasty v0.3.0)

View Source

Prepositional Phrase: A phrase headed by a preposition.

Structure: Preposition + NounPhrase

Examples

  • "on the mat" - preposition + NP
  • "in the house" - preposition + NP
  • "with great enthusiasm" - preposition + NP

Summary

Types

t()

@type t() :: %Nasty.AST.PrepositionalPhrase{
  head: Nasty.AST.Token.t(),
  language: Nasty.AST.Node.language(),
  object: Nasty.AST.NounPhrase.t(),
  span: Nasty.AST.Node.span()
}