[flex] implemented code completion, update source file.