rankBySubcommandsobjectparser.t[6013]

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  

(none)

Summary of Methods  

comparePass1 

Inherited from CommandRankingCriterion :
comparePass2 

Properties  

(none)

Methods  

comparePass1 (a, b)OVERRIDDENparser.t[6015]

first pass - compare subcommand counts

TADS 3 Library Manual
Generated on 5/16/2013 from TADS version 3.1.3