Class:ParsedNoun
Defined in: adventure/ParsedNoun.js, line 5
Description
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
Methods Collapse all |
Properties |
exclude
exclude :Boolean
Defined in: adventure/ParsedNoun.js, line 32
Default value: false
input
input :String
Defined in: adventure/ParsedNoun.js, line 74
Default value: ""
is_assumed
is_assumed :Boolean
Defined in: adventure/ParsedNoun.js, line 141
Default value: false
isGroup
isGroup :Boolean
Defined in: adventure/ParsedNoun.js, line 53
Default value: false
isPlural
isPlural :Boolean
Defined in: adventure/ParsedNoun.js, line 46
Default value: false
matches
matches :Object
Defined in: adventure/ParsedNoun.js, line 104
Default value: { all:[], direction:false, qualified:[], qualifiedIndex:0, unambiguous:""}
object_id
object_id :Getter
Defined in: adventure/ParsedNoun.js, line 151
original_input
original_input :String
Defined in: adventure/ParsedNoun.js, line 89
Default value: ""
plural
plural :String
Defined in: adventure/ParsedNoun.js, line 39
Default value: ""
preposition
preposition :String
Defined in: adventure/ParsedNoun.js, line 134
Default value: ""
qualified_object_id
qualified_object_id :String
Defined in: adventure/ParsedNoun.js, line 97
serialized_input
serialized_input :String
Defined in: adventure/ParsedNoun.js, line 82
Default value: ""
singular
singular :String
Defined in: adventure/ParsedNoun.js, line 60
Default value: ""
type
type :String
Defined in: adventure/ParsedNoun.js, line 67
Default value: ""