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
- Index
- Methods
- Properties
Index
Methods:
Properties:
Methods Collapse all |
Properties |
deserialized_input :String
Defined in: adventure/ParsedNoun.js, line 94
Default value: ""
exclude :Boolean
Defined in: adventure/ParsedNoun.js, line 38
Default value: false
input :String
Defined in: adventure/ParsedNoun.js, line 80
Default value: ""
is_assumed :Boolean
Defined in: adventure/ParsedNoun.js, line 143
Default value: false
isGroup :Boolean
Defined in: adventure/ParsedNoun.js, line 59
Default value: false
isPlural :Boolean
Defined in: adventure/ParsedNoun.js, line 52
Default value: false
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 153
plural :String
Defined in: adventure/ParsedNoun.js, line 45
Default value: ""
preposition :String
Defined in: adventure/ParsedNoun.js, line 136
Default value: ""
qualified_object_id :String
Defined in: adventure/ParsedNoun.js, line 101
serialized_input :String
Defined in: adventure/ParsedNoun.js, line 87
Default value: ""
singular :String
Defined in: adventure/ParsedNoun.js, line 66
Default value: ""
type :String
Defined in: adventure/ParsedNoun.js, line 73
Default value: ""