controllers

# WebFMLInterpreter

#### object WebFMLInterpreter extends Controller with VariableHelper

Linear Supertypes
VariableHelper, Controller, Rendering, RequestExtractors, AcceptExtractors, ContentTypes, HeaderNames, play.api.http.Status, HttpProtocol, BodyParsers, Results, AnyRef, Any
Ordering

1. Alphabetic
2. By inheritance

Inherited

1. WebFMLInterpreter
2. VariableHelper
3. Controller
4. Rendering
5. RequestExtractors
6. AcceptExtractors
7. ContentTypes
8. HeaderNames
9. Status
10. HttpProtocol
11. BodyParsers
12. Results
13. AnyRef
14. Any

1. Hide All
2. Show all

Learn more about member selection
Visibility

1. Public
2. All

### Type Members

1. #### class Status extends SimpleResult

   Definition Classes
     Results

### Value Members

1. #### final def !=(arg0: AnyRef): Boolean

   Definition Classes
     AnyRef

2. #### final def !=(arg0: Any): Boolean

   Definition Classes
     Any

3. #### final def ##(): Int

   Definition Classes
     AnyRef → Any

4. #### final def ==(arg0: AnyRef): Boolean

   Definition Classes
     AnyRef

5. #### final def ==(arg0: Any): Boolean

   Definition Classes
     Any

6. #### val ACCEPT: String

   Definition Classes
     HeaderNames

7. #### val ACCEPTED: Int

   Definition Classes
     Status

8. #### val ACCEPT_CHARSET: String

   Definition Classes
     HeaderNames

9. #### val ACCEPT_ENCODING: String

   Definition Classes
     HeaderNames

10. #### val ACCEPT_LANGUAGE: String

    Definition Classes
      HeaderNames

11. #### val ACCEPT_RANGES: String

    Definition Classes
      HeaderNames

12. #### val ACCESS_CONTROL_ALLOW_CREDENTIALS: String

    Definition Classes
      HeaderNames

13. #### val ACCESS_CONTROL_ALLOW_HEADERS: String

    Definition Classes
      HeaderNames

14. #### val ACCESS_CONTROL_ALLOW_METHODS: String

    Definition Classes
      HeaderNames

15. #### val ACCESS_CONTROL_ALLOW_ORIGIN: String

    Definition Classes
      HeaderNames

16. #### val ACCESS_CONTROL_EXPOSE_HEADERS: String

    Definition Classes
      HeaderNames

17. #### val ACCESS_CONTROL_MAX_AGE: String

    Definition Classes
      HeaderNames

18. #### val ACCESS_CONTROL_REQUEST_HEADERS: String

    Definition Classes
      HeaderNames

19. #### val ACCESS_CONTROL_REQUEST_METHOD: String

    Definition Classes
      HeaderNames

20. #### val AGE: String

    Definition Classes
      HeaderNames

21. #### val ALLOW: String

    Definition Classes
      HeaderNames

22. #### val AUTHORIZATION: String

    Definition Classes
      HeaderNames

23. #### val Accepted: Status

    Definition Classes
      Results

24. #### val BAD_GATEWAY: Int

    Definition Classes
      Status

25. #### val BAD_REQUEST: Int

    Definition Classes
      Status

26. #### val BINARY: String

    Definition Classes
      ContentTypes

27. #### val BadGateway: Status

    Definition Classes
      Results

28. #### val BadRequest: Status

    Definition Classes
      Results

29. #### val CACHE_CONTROL: String

    Definition Classes
      HeaderNames

30. #### val CHUNKED: String

    Definition Classes
      HttpProtocol

31. #### val CONFLICT: Int

    Definition Classes
      Status

32. #### val CONNECTION: String

    Definition Classes
      HeaderNames

33. #### val CONTENT_DISPOSITION: String

    Definition Classes
      HeaderNames

34. #### val CONTENT_ENCODING: String

    Definition Classes
      HeaderNames

35. #### val CONTENT_LANGUAGE: String

    Definition Classes
      HeaderNames

36. #### val CONTENT_LENGTH: String

    Definition Classes
      HeaderNames

37. #### val CONTENT_LOCATION: String

    Definition Classes
      HeaderNames

38. #### val CONTENT_MD5: String

    Definition Classes
      HeaderNames

39. #### val CONTENT_RANGE: String

    Definition Classes
      HeaderNames

40. #### val CONTENT_TRANSFER_ENCODING: String

    Definition Classes
      HeaderNames

41. #### val CONTENT_TYPE: String

    Definition Classes
      HeaderNames

42. #### val CONTINUE: Int

    Definition Classes
      Status

43. #### val COOKIE: String

    Definition Classes
      HeaderNames

44. #### val CREATED: Int

    Definition Classes
      Status

45. #### def CSS(implicit codec: Codec): String

    Definition Classes
      ContentTypes

46. #### val Conflict: Status

    Definition Classes
      Results

47. #### val Created: Status

    Definition Classes
      Results

48. #### val DATE: String

    Definition Classes
      HeaderNames

49. #### val ETAG: String

    Definition Classes
      HeaderNames

50. #### def EVENT_STREAM(implicit codec: Codec): String

    Definition Classes
      ContentTypes

51. #### val EXPECT: String

    Definition Classes
      HeaderNames

52. #### val EXPECTATION_FAILED: Int

    Definition Classes
      Status

53. #### val EXPIRES: String

    Definition Classes
      HeaderNames

54. #### val EntityTooLarge: Status

    Definition Classes
      Results

55. #### val ExpectationFailed: Status

    Definition Classes
      Results

56. #### val FAILED_DEPENDENCY: Int

    Definition Classes
      Status

57. #### val FORBIDDEN: Int

    Definition Classes
      Status

58. #### def FORM(implicit codec: Codec): String

    Definition Classes
      ContentTypes

59. #### val FOUND: Int

    Definition Classes
      Status

60. #### val FROM: String

    Definition Classes
      HeaderNames

61. #### val FailedDependency: Status

    Definition Classes
      Results

62. #### val Forbidden: Status

    Definition Classes
      Results

63. #### def Found(url: String): SimpleResult

    Definition Classes
      Results

64. #### val GATEWAY_TIMEOUT: Int

    Definition Classes
      Status

65. #### val GONE: Int

    Definition Classes
      Status

66. #### val GatewayTimeout: Status

    Definition Classes
      Results

67. #### val Gone: Status

    Definition Classes
      Results

68. #### val HOST: String

    Definition Classes
      HeaderNames

69. #### def HTML(implicit codec: Codec): String

    Definition Classes
      ContentTypes

70. #### val HTTP_1_0: String

    Definition Classes
      HttpProtocol

71. #### val HTTP_1_1: String

    Definition Classes
      HttpProtocol

72. #### val HTTP_VERSION_NOT_SUPPORTED: Int

    Definition Classes
      Status

73. #### val HttpVersionNotSupported: Status

    Definition Classes
      Results

74. #### val IF_MATCH: String

    Definition Classes
      HeaderNames

75. #### val IF_MODIFIED_SINCE: String

    Definition Classes
      HeaderNames

76. #### val IF_NONE_MATCH: String

    Definition Classes
      HeaderNames

77. #### val IF_RANGE: String

    Definition Classes
      HeaderNames

78. #### val IF_UNMODIFIED_SINCE: String

    Definition Classes
      HeaderNames

79. #### val INSUFFICIENT_STORAGE: Int

    Definition Classes
      Status

80. #### val INTERNAL_SERVER_ERROR: Int

    Definition Classes
      Status

81. #### val InsufficientStorage: Status

    Definition Classes
      Results

82. #### val InternalServerError: Status

    Definition Classes
      Results

83. #### def JAVASCRIPT(implicit codec: Codec): String

    Definition Classes
      ContentTypes

84. #### def JSON(implicit codec: Codec): String

    Definition Classes
      ContentTypes

85. #### val KSYNTHESIS_INTERACTIVE_CMD: String

86. #### val LAST_MODIFIED: String

    Definition Classes
      HeaderNames

87. #### val LENGTH_REQUIRED: Int

    Definition Classes
      Status

88. #### val LOCATION: String

    Definition Classes
      HeaderNames

89. #### val LOCKED: Int

    Definition Classes
      Status

90. #### val Locked: Status

    Definition Classes
      Results

91. #### val MAX_FORWARDS: String

    Definition Classes
      HeaderNames

92. #### val METHOD_NOT_ALLOWED: Int

    Definition Classes
      Status

93. #### val MOVED_PERMANENTLY: Int

    Definition Classes
      Status

94. #### val MULTIPLE_CHOICES: Int

    Definition Classes
      Status

95. #### val MULTI_STATUS: Int

    Definition Classes
      Status

96. #### val MethodNotAllowed: Status

    Definition Classes
      Results

97. #### def MovedPermanently(url: String): SimpleResult

    Definition Classes
      Results

98. #### val MultiStatus: Status

    Definition Classes
      Results

99. #### val NON_AUTHORITATIVE_INFORMATION: Int

    Definition Classes
      Status

100. #### val NOT_ACCEPTABLE: Int

     Definition Classes
       Status

101. #### val NOT_FOUND: Int

     Definition Classes
       Status

102. #### val NOT_IMPLEMENTED: Int

     Definition Classes
       Status

103. #### val NOT_MODIFIED: Int

     Definition Classes
       Status

104. #### val NO_CONTENT: Int

     Definition Classes
       Status

105. #### val NoContent: SimpleResult

     Definition Classes
       Results

106. #### val NonAuthoritativeInformation: Status

     Definition Classes
       Results

107. #### val NotAcceptable: Status

     Definition Classes
       Results

108. #### val NotFound: Status

     Definition Classes
       Results

109. #### val NotImplemented: Status

     Definition Classes
       Results

110. #### val NotModified: SimpleResult

     Definition Classes
       Results

111. #### val OK: Int

     Definition Classes
       Status

112. #### val ORIGIN: String

     Definition Classes
       HeaderNames

113. #### val Ok: Status

     Definition Classes
       Results

114. #### val PARTIAL_CONTENT: Int

     Definition Classes
       Status

115. #### val PAYMENT_REQUIRED: Int

     Definition Classes
       Status

116. #### val PRAGMA: String

     Definition Classes
       HeaderNames

117. #### val PRECONDITION_FAILED: Int

     Definition Classes
       Status

118. #### val PROXY_AUTHENTICATE: String

     Definition Classes
       HeaderNames

119. #### val PROXY_AUTHENTICATION_REQUIRED: Int

     Definition Classes
       Status

120. #### val PROXY_AUTHORIZATION: String

     Definition Classes
       HeaderNames

121. #### val PartialContent: Status

     Definition Classes
       Results

122. #### val PreconditionFailed: Status

     Definition Classes
       Results

123. #### val RANGE: String

     Definition Classes
       HeaderNames

124. #### val REFERER: String

     Definition Classes
       HeaderNames

125. #### val REQUESTED_RANGE_NOT_SATISFIABLE: Int

     Definition Classes
       Status

126. #### val REQUEST_ENTITY_TOO_LARGE: Int

     Definition Classes
       Status

127. #### val REQUEST_TIMEOUT: Int

     Definition Classes
       Status

128. #### val REQUEST_URI_TOO_LONG: Int

     Definition Classes
       Status

129. #### val RESET_CONTENT: Int

     Definition Classes
       Status

130. #### val RETRY_AFTER: String

     Definition Classes
       HeaderNames

131. #### def Redirect(call: Call): SimpleResult

     Definition Classes
       Results

132. #### def Redirect(url: String, queryString: Map[String, Seq[String]], status: Int): SimpleResult

     Definition Classes
       Results

133. #### def Redirect(url: String, status: Int): SimpleResult

     Definition Classes
       Results

134. #### val RequestTimeout: Status

     Definition Classes
       Results

135. #### val ResetContent: SimpleResult

     Definition Classes
       Results

136. #### val SEE_OTHER: Int

     Definition Classes
       Status

137. #### val SERVER: String

     Definition Classes
       HeaderNames

138. #### val SERVICE_UNAVAILABLE: Int

     Definition Classes
       Status

139. #### val SET_COOKIE: String

     Definition Classes
       HeaderNames

140. #### val SET_COOKIE2: String

     Definition Classes
       HeaderNames

141. #### val SWITCHING_PROTOCOLS: Int

     Definition Classes
       Status

142. #### def SeeOther(url: String): SimpleResult

     Definition Classes
       Results

143. #### val ServiceUnavailable: Status

     Definition Classes
       Results

144. #### def Status(code: Int): Status

     Definition Classes
       Results

145. #### val TE: String

     Definition Classes
       HeaderNames

146. #### val TEMPORARY_REDIRECT: Int

     Definition Classes
       Status

147. #### def TEXT(implicit codec: Codec): String

     Definition Classes
       ContentTypes

148. #### val TODO: Action[AnyContent]

     Definition Classes
       Controller

149. #### val TOO_MANY_REQUEST: Int

     Definition Classes
       Status

150. #### val TRAILER: String

     Definition Classes
       HeaderNames

151. #### val TRANSFER_ENCODING: String

     Definition Classes
       HeaderNames

152. #### def TemporaryRedirect(url: String): SimpleResult

     Definition Classes
       Results

153. #### val TooManyRequest: Status

     Definition Classes
       Results

154. #### val UNAUTHORIZED: Int

     Definition Classes
       Status

155. #### val UNPROCESSABLE_ENTITY: Int

     Definition Classes
       Status

156. #### val UNSUPPORTED_MEDIA_TYPE: Int

     Definition Classes
       Status

157. #### val UPGRADE: String

     Definition Classes
       HeaderNames

158. #### val USER_AGENT: String

     Definition Classes
       HeaderNames

159. #### val USE_PROXY: Int

     Definition Classes
       Status

160. #### val Unauthorized: Status

     Definition Classes
       Results

161. #### val UnprocessableEntity: Status

     Definition Classes
       Results

162. #### val UnsupportedMediaType: Status

     Definition Classes
       Results

163. #### val UriTooLong: Status

     Definition Classes
       Results

164. #### val VARY: String

     Definition Classes
       HeaderNames

165. #### val VIA: String

     Definition Classes
       HeaderNames

166. #### val WARNING: String

     Definition Classes
       HeaderNames

167. #### val WWW_AUTHENTICATE: String

     Definition Classes
       HeaderNames

168. #### def XML(implicit codec: Codec): String

     Definition Classes
       ContentTypes

169. #### val X_FORWARDED_FOR: String

     Definition Classes
       HeaderNames

170. #### val X_FORWARDED_HOST: String

     Definition Classes
       HeaderNames

171. #### val X_FORWARDED_PORT: String

     Definition Classes
       HeaderNames

172. #### val X_FORWARDED_PROTO: String

     Definition Classes
       HeaderNames

173. #### def _fileListToJSON(file: File): JsValue

174. #### final def asInstanceOf[T0]: T0

     Definition Classes
       Any

175. #### def chunk(trailers: Option[Iteratee[Array[Byte], Seq[(String, String)]]]): Enumeratee[Array[Byte], Array[Byte]]

     Definition Classes
       Results

176. #### def chunk: Enumeratee[Array[Byte], Array[Byte]]

     Definition Classes
       Results

177. #### def clone(): AnyRef

     Attributes
       protected[java.lang]
     Definition Classes
       AnyRef
     Annotations
       @throws( ... )

178. #### def completeFM(): Action[AnyContent]

179. #### def createFile(name: String): Action[AnyContent]

     TODO code is horrible Create a file in a specific folder

180. #### def createFolder(name: String): Action[AnyContent]

     This function create a folder in the workspace

181. #### def dechunk: Enumeratee[Array[Byte], Array[Byte]]

     Definition Classes
       Results

182. #### def deleteFile(name: String): Action[AnyContent]

     Delete the file which have the name : name

183. #### def deleteFolder(name: String): Action[AnyContent]

     Delete the directory and all the files which are included in

184. #### final def eq(arg0: AnyRef): Boolean

     Definition Classes
       AnyRef

185. #### def equals(arg0: Any): Boolean

     Definition Classes
       AnyRef → Any

186. #### def evalPrompt(fmlCommand: String): Action[AnyContent]

     Important: we do not reset the environment (normal: we want to execute a prompt command) contrary to interpret FIXME change a bit the names of the methods interpret/evalPrompt FIXME update the UI of variables list

     Important: we do not reset the environment (normal: we want to execute a prompt command) contrary to interpret FIXME change a bit the names of the methods interpret/evalPrompt FIXME update the UI of variables list

     fmlCommand
     returns

       The value of the last command executed

187. #### def featureModelToJson(id: String): Action[AnyContent]

188. #### def finalize(): Unit

     Attributes
       protected[java.lang]
     Definition Classes
       AnyRef
     Annotations
       @throws( classOf[java.lang.Throwable] )

189. #### implicit def flash(implicit request: RequestHeader): Flash

     Definition Classes
       Controller

190. #### def fmToJson(fm: FeatureModelVariable): JsValue

191. #### def getAllChapters(langage: String): Action[AnyContent]

192. #### def getAllClasswordToJson(): Action[AnyContent]

     Function which send all the class word of the familiar language

193. #### def getAllConstantwordToJson(): Action[AnyContent]

     Function which "send" all the constant word which are use in Familiar (e.

     Function which "send" all the constant word which are use in Familiar (e.g : null)

194. #### def getAllKeywordToJson(): Action[AnyContent]

     Function which send all the keywords of the familiar language

195. #### def getChapter(name: String, language: String): Action[AnyContent]

     Return the correct chapter

     Return the correct chapter

     name

       : the name of the chapter

     language

       : the current language of the app

196. #### final def getClass(): Class[_]

     Definition Classes
       AnyRef → Any

197. #### def getHeaderInMarkdown(language: String): Action[AnyContent]

     Load the header for the tutorial part of the current language and return this header into html format

     Load the header for the tutorial part of the current language and return this header into html format

     language

       : the current language used in the app

198. #### def getHeuristics(): Action[AnyContent]

199. #### def getMenuInMarkdown(language: String): Action[AnyContent]

     Load the menu in markdown and return this menu into HTML format

     Load the menu in markdown and return this menu into HTML format

     language

       : the current language used in the app

200. #### def getParent(feature: String, fm: FeatureModelVariable): String

201. #### def getTutorialInMarkdown(language: String): Action[AnyContent]

     Send in HTML format a tutorial write in markdown

202. #### def hashCode(): Int

     Definition Classes
       AnyRef → Any

203. #### var heuristics: Map[String, Heuristic]

204. #### def ignoreParent(child: String, parent: String): Action[AnyContent]

205. #### def interpret(fmlCommand: String): Action[AnyContent]

     Function which send the compile result

     Function which send the compile result

     returns

       : result in json format

206. #### final def isInstanceOf[T0]: Boolean

     Definition Classes
       Any

207. #### def ksynthesis(fmlCommand: String): Action[AnyContent]

208. #### implicit def lang(implicit request: RequestHeader): Lang

     Definition Classes
       Controller

209. #### def listFiles(): Action[AnyContent]

210. #### def loadFile(filename: String): Action[AnyContent]

211. #### def mkFMLFileName(f: File): Elem

212. #### def mkProperName(f: File): String

213. #### def mkVariableURL(varID: String): NodeBuffer

     Definition Classes
       VariableHelper

214. #### final def ne(arg0: AnyRef): Boolean

     Definition Classes
       AnyRef

215. #### final def notify(): Unit

     Definition Classes
       AnyRef

216. #### final def notifyAll(): Unit

     Definition Classes
       AnyRef

217. #### def recursiveListFiles(f: File): Array[File]

218. #### def redo(): Action[AnyContent]

219. #### def reset(): Action[AnyContent]

220. #### def saveAs(content: String, filename: String): Action[AnyContent]

221. #### def saveFile(name: String, content: String): Action[AnyContent]

     Update the value of the file and save it

222. #### def saveToVar(): Action[AnyContent]

223. #### def searchKeyword(): Action[AnyContent]

     Return all the keyword of vm's language

224. #### def selectParent(children: List[String], parent: String): Action[AnyContent]

225. #### implicit def session(implicit request: RequestHeader): Session

     Definition Classes
       Controller

226. #### def setClusteringParameters(heuristicName: String, threshold: Double): Action[AnyContent]

227. #### def setRankingListsHeuristic(heuristicName: String): Action[AnyContent]

228. #### def setRoot(root: String): Action[AnyContent]

229. #### final def synchronized[T0](arg0: ⇒ T0): T0

     Definition Classes
       AnyRef

230. #### var synthesizer: InteractiveFMSynthesizer

231. #### def synthesizerInformationToJSON(synthesizer: InteractiveFMSynthesizer): Map[String, JsValue]

232. #### def toString(): String

     Definition Classes
       AnyRef → Any

233. #### def undo(): Action[AnyContent]

234. #### def variable(id: String): Action[AnyContent]

235. #### final def wait(): Unit

     Definition Classes
       AnyRef
     Annotations
       @throws( ... )

236. #### final def wait(arg0: Long, arg1: Int): Unit

     Definition Classes
       AnyRef
     Annotations
       @throws( ... )

237. #### final def wait(arg0: Long): Unit

     Definition Classes
       AnyRef
     Annotations
       @throws( ... )

238. #### def withCharset(mimeType: String)(implicit codec: Codec): String

     Definition Classes
       ContentTypes

239. #### val workspaceDir: String

### Deprecated Value Members

1. #### def Async(promise: Future[Result]): AsyncResult

   Definition Classes
     Results
   Annotations
     @deprecated
   Deprecated

     (Since version 2.2.0) Use Action.async to build async actions instead

### Inherited from VariableHelper

### Inherited from Controller

### Inherited from Rendering

### Inherited from RequestExtractors

### Inherited from AcceptExtractors

### Inherited from ContentTypes

### Inherited from HeaderNames

### Inherited from play.api.http.Status

### Inherited from HttpProtocol

### Inherited from BodyParsers

### Inherited from Results

### Inherited from AnyRef

### Inherited from Any

### Ungrouped