Class: ParsedNoun
Defined in: adventure/ParsedNoun.js, line 6
ParsedNoun is a special class constructed by Parser.parseNoun(), and used to store metadata about an asset and lists of all possible matches for that asset. This is an internal class that authors should not need to construct.
Private Constructor:
var foo = new adventurejs.ParsedNoun(asset)
Parameters:
-
asset
Object | adventurejs.Asset
Inherited
Overrides
IndexMethodsProperties
Index
Methods Collapse all |
Properties Collapse all |
matches :Object
Defined in: adventure/ParsedNoun.js, line 108
Default value: { all:[], direction:false, qualified:[], qualifiedIndex:0, unambiguous:""}
object_id :Getter
Defined in: adventure/ParsedNoun.js, line 172
Getter function looks for a qualified object id, and if it
doesn't find one, it returns the first qualified match.
qualified_object_id :String
Defined in: adventure/ParsedNoun.js, line 101