rankBySubcommandsobject | parser.t[6013] |
Superclass Tree | Property Summary | Method Summary | Property Details | Method Details |
Command ranking by subcommand count: we prefer the match with fewer subcommands. If one has fewer subcommands than the other, it means that we were able to interpret ambiguous conjunctions (such as "and") as noun phrase conjunctions rather than as command conjunctions; other things being equal, we'd rather take the interpretation that gives us noun phrases than the one that involves more separate commands.
rankBySubcommands : CommandRankingCriterion
Superclass Tree (in declaration order)
rankBySubcommands
CommandRankingCriterion
object
Summary of Properties
Summary of Methods
Inherited from CommandRankingCriterion
:
comparePass2
Properties
Methods
comparePass1 (a, b) OVERRIDDEN | parser.t[6015] |
first pass - compare subcommand counts
TADS 3 Library Manual
Generated on 5/16/2013 from TADS version 3.1.3
Generated on 5/16/2013 from TADS version 3.1.3