Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
D
djinni
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
cpp-libs
djinni
Commits
1d74e310
Commit
1d74e310
authored
Jan 19, 2017
by
Andrew Twyman
Committed by
GitHub
Jan 19, 2017
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #228 from PSPDFKit-labs/add-class-prefix
Add --ident-java-type option to djinni
parents
c5b923f6
622b8705
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
src/source/Main.scala
src/source/Main.scala
+3
-2
No files found.
src/source/Main.scala
View file @
1d74e310
...
@@ -201,6 +201,7 @@ object Main {
...
@@ -201,6 +201,7 @@ object Main {
note
(
"\nIdentifier styles (ex: \"FooBar\", \"fooBar\", \"foo_bar\", \"FOO_BAR\", \"m_fooBar\")\n"
)
note
(
"\nIdentifier styles (ex: \"FooBar\", \"fooBar\", \"foo_bar\", \"FOO_BAR\", \"m_fooBar\")\n"
)
identStyle
(
"ident-java-enum"
,
c
=>
{
javaIdentStyle
=
javaIdentStyle
.
copy
(
enum
=
c
)
})
identStyle
(
"ident-java-enum"
,
c
=>
{
javaIdentStyle
=
javaIdentStyle
.
copy
(
enum
=
c
)
})
identStyle
(
"ident-java-field"
,
c
=>
{
javaIdentStyle
=
javaIdentStyle
.
copy
(
field
=
c
)
})
identStyle
(
"ident-java-field"
,
c
=>
{
javaIdentStyle
=
javaIdentStyle
.
copy
(
field
=
c
)
})
identStyle
(
"ident-java-type"
,
c
=>
{
javaIdentStyle
=
javaIdentStyle
.
copy
(
ty
=
c
)
})
identStyle
(
"ident-cpp-enum"
,
c
=>
{
cppIdentStyle
=
cppIdentStyle
.
copy
(
enum
=
c
)
})
identStyle
(
"ident-cpp-enum"
,
c
=>
{
cppIdentStyle
=
cppIdentStyle
.
copy
(
enum
=
c
)
})
identStyle
(
"ident-cpp-field"
,
c
=>
{
cppIdentStyle
=
cppIdentStyle
.
copy
(
field
=
c
)
})
identStyle
(
"ident-cpp-field"
,
c
=>
{
cppIdentStyle
=
cppIdentStyle
.
copy
(
field
=
c
)
})
identStyle
(
"ident-cpp-method"
,
c
=>
{
cppIdentStyle
=
cppIdentStyle
.
copy
(
method
=
c
)
})
identStyle
(
"ident-cpp-method"
,
c
=>
{
cppIdentStyle
=
cppIdentStyle
.
copy
(
method
=
c
)
})
...
@@ -209,8 +210,8 @@ object Main {
...
@@ -209,8 +210,8 @@ object Main {
identStyle
(
"ident-cpp-type-param"
,
c
=>
{
cppIdentStyle
=
cppIdentStyle
.
copy
(
typeParam
=
c
)
})
identStyle
(
"ident-cpp-type-param"
,
c
=>
{
cppIdentStyle
=
cppIdentStyle
.
copy
(
typeParam
=
c
)
})
identStyle
(
"ident-cpp-local"
,
c
=>
{
cppIdentStyle
=
cppIdentStyle
.
copy
(
local
=
c
)
})
identStyle
(
"ident-cpp-local"
,
c
=>
{
cppIdentStyle
=
cppIdentStyle
.
copy
(
local
=
c
)
})
identStyle
(
"ident-cpp-file"
,
c
=>
{
cppFileIdentStyle
=
c
})
identStyle
(
"ident-cpp-file"
,
c
=>
{
cppFileIdentStyle
=
c
})
identStyle
(
"ident-jni-class"
,
c
=>
{
jniClassIdentStyleOptional
=
Some
(
c
)})
identStyle
(
"ident-jni-class"
,
c
=>
{
jniClassIdentStyleOptional
=
Some
(
c
)})
identStyle
(
"ident-jni-file"
,
c
=>
{
jniFileIdentStyleOptional
=
Some
(
c
)})
identStyle
(
"ident-jni-file"
,
c
=>
{
jniFileIdentStyleOptional
=
Some
(
c
)})
identStyle
(
"ident-objc-enum"
,
c
=>
{
objcIdentStyle
=
objcIdentStyle
.
copy
(
enum
=
c
)
})
identStyle
(
"ident-objc-enum"
,
c
=>
{
objcIdentStyle
=
objcIdentStyle
.
copy
(
enum
=
c
)
})
identStyle
(
"ident-objc-field"
,
c
=>
{
objcIdentStyle
=
objcIdentStyle
.
copy
(
field
=
c
)
})
identStyle
(
"ident-objc-field"
,
c
=>
{
objcIdentStyle
=
objcIdentStyle
.
copy
(
field
=
c
)
})
identStyle
(
"ident-objc-method"
,
c
=>
{
objcIdentStyle
=
objcIdentStyle
.
copy
(
method
=
c
)
})
identStyle
(
"ident-objc-method"
,
c
=>
{
objcIdentStyle
=
objcIdentStyle
.
copy
(
method
=
c
)
})
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment