- ifNotNull(String) - Method in class io.spine.js.generate.output.CodeLines
-
Enters the if
block checking that the given value is not null
.
- ifNotNullOrUndefined(String) - Method in class io.spine.js.generate.output.CodeLines
-
Enters the if
block checking that given value is not null
or
undefined
.
- ifNotUndefined(String) - Method in class io.spine.js.generate.output.CodeLines
-
Enters the if
block checking that the given value is not undefined
.
- ifNull(String) - Method in class io.spine.js.generate.output.CodeLines
-
Enters the if
block checking that the given value is null
.
- Import - Class in io.spine.js.generate.output.snippet
-
An import of a file or a library.
- importedFileExists() - Method in class io.spine.js.generate.imports.ImportStatement
-
Tells whether the imported file is present on a file system.
- importedFilePath() - Method in class io.spine.js.generate.imports.ImportStatement
-
Obtains the absolute path to the imported file.
- ImportStatement - Class in io.spine.js.generate.imports
-
An import statement extracted from a source file.
- ImportStatement(String, File) - Constructor for class io.spine.js.generate.imports.ImportStatement
-
Creates a new instance.
- increaseDepth() - Method in class io.spine.js.generate.output.CodeLines
-
Manually increases the current indent level.
- initialized(String, String) - Static method in class io.spine.js.generate.output.snippet.VariableDeclaration
-
Obtains the declaration with the specified name, which is initialized to the value.
- io.spine.js.generate - package io.spine.js.generate
-
The classes generating and writing the JavaScript code.
- io.spine.js.generate.field - package io.spine.js.generate.field
-
The classes which generate JS code for parsing the separate proto fields from JSON.
- io.spine.js.generate.field.parser - package io.spine.js.generate.field.parser
-
The classes which generate the JavaScript code related to parsing proto fields from JSON.
- io.spine.js.generate.field.parser.primitive - package io.spine.js.generate.field.parser.primitive
-
The classes which generate the JS code related to parsing the proto primitive types from their
JSON representation.
- io.spine.js.generate.field.precondition - package io.spine.js.generate.field.precondition
-
The classes which generate JS code performing various proto field value checks.
- io.spine.js.generate.imports - package io.spine.js.generate.imports
-
Classes for resolving JS imports.
- io.spine.js.generate.index - package io.spine.js.generate.index
-
The package contains classes performing writing of the index file
for the generated Protobuf types.
- io.spine.js.generate.output - package io.spine.js.generate.output
-
The package contains classes performing writing of JavaScript code.
- io.spine.js.generate.output.snippet - package io.spine.js.generate.output.snippet
-
The package contains standard elements of JavaScript code such as a statement or a declaration.
- io.spine.js.generate.parse - package io.spine.js.generate.parse
-
The classes which generate JavaScript code for parsing of Protobuf messages.
- io.spine.js.gradle - package io.spine.js.gradle
-
The Gradle plugin which adds the JSON-parsing code for the messages generated by Protobuf JS
compiler.