Nasty.AST.VerbPhrase (Nasty v0.3.0)
View SourceVerb Phrase: A phrase headed by a verb.
Structure: (Auxiliaries) MainVerb (Complements) (Adverbials)*
Examples
- "ran" - main verb only
- "is running" - auxiliary + main verb
- "has been running quickly" - auxiliaries + main verb + adverbial
- "gave the dog a bone" - verb + indirect object + direct object
Summary
Types
@type t() :: %Nasty.AST.VerbPhrase{ adverbials: [ Nasty.AST.Token.t() | Nasty.AST.AdverbialPhrase.t() | Nasty.AST.PrepositionalPhrase.t() ], auxiliaries: [Nasty.AST.Token.t()], complements: [Nasty.AST.NounPhrase.t() | Nasty.AST.Clause.t()], head: Nasty.AST.Token.t(), language: Nasty.AST.Node.language(), span: Nasty.AST.Node.span() }