Class:ParsedNoun
Defined in: adventure/ParsedNoun.js, line 5
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 |
exclude :Boolean
Defined in: adventure/ParsedNoun.js, line 37
Default value: false
input :String
Defined in: adventure/ParsedNoun.js, line 79
Default value: ""
is_assumed :Boolean
Defined in: adventure/ParsedNoun.js, line 144
Default value: false
isGroup :Boolean
Defined in: adventure/ParsedNoun.js, line 58
Default value: false
isPlural :Boolean
Defined in: adventure/ParsedNoun.js, line 51
Default value: false
matches :Object
Defined in: adventure/ParsedNoun.js, line 109
Default value: { all:[], direction:false, qualified:[], qualifiedIndex:0, unambiguous:""}
object_id :Getter
Defined in: adventure/ParsedNoun.js, line 154
original_input :String
Defined in: adventure/ParsedNoun.js, line 94
Default value: ""
plural :String
Defined in: adventure/ParsedNoun.js, line 44
Default value: ""
preposition :String
Defined in: adventure/ParsedNoun.js, line 137
Default value: ""
qualified_object_id :String
Defined in: adventure/ParsedNoun.js, line 102
serialized_input :String
Defined in: adventure/ParsedNoun.js, line 87
Default value: ""
singular :String
Defined in: adventure/ParsedNoun.js, line 65
Default value: ""
type :String
Defined in: adventure/ParsedNoun.js, line 72
Default value: ""