BBx-Kitchen / bbj-language-server

BBj Language Server
MIT License
7 stars 6 forks source link

Support FQN Class references BBj and Java #6

Open dhuebner opened 1 year ago

dhuebner commented 1 year ago

Es should be possible to use the following syntax:


b! = java.lang.Boolean.TRUE REM one can also write Boolean.TRUE
widget! = new ::BBjWidget/BBjWidget.bbj::BBjWidget()
dhuebner commented 1 year ago

@StephanWald Is fully qualified reference to BBjClasses allowed in BBj? widget! = new ::BBjWidget/BBjWidget.bbj::BBjWidget() I think I saw such an example somewhere in examples, but I'm not sure...

dhuebner commented 1 year ago

Good example from #34

A$ = java.sql.Date.valueOf("2305-07-23")

StephanWald commented 1 day ago

one more example:

url$ = ::BBUtils.bbj::BBUtils.copyFileToWebServer(filename!);rem http://lance:8888/files/scrncap_21.png