lingua-franca 0.10.1
Lingua Franca code generator
Loading...
Searching...
No Matches
org.lflang.ast.MalleableString.Builder Class Reference

Build a MalleableString in a manner analogous to the way we build Strings. More...

Public Member Functions

Builder append (MalleableString... possibilities)
 Append something that can be represented as any of the given possibilities.
Builder append (Object... content)
 Append something that can be represented as any of the given possibilities.
Builder append (String... content)
 Append something that can be represented as any of the given possibilities.
MalleableString get ()
 Append something that can be represented as any of the given possibilities.
Builder prepend (MalleableString... possibilities)
 Prepend something that can be represented as any of the given possibilities.

Package Functions

private< T > Builder insert (Function< T, ? extends MalleableString > toMalleableString, Function< T[], ? extends MalleableString > multiplePossibilitiesRepresenter, T[] possibilities, Consumer< MalleableString > addToComponents)
 Append something that can be represented as any of the given possibilities.

Detailed Description

Build a MalleableString in a manner analogous to the way we build Strings.

Member Function Documentation

◆ append() [1/3]

Builder org.lflang.ast.MalleableString.Builder.append ( MalleableString... possibilities)

Append something that can be represented as any of the given possibilities.

◆ append() [2/3]

Builder org.lflang.ast.MalleableString.Builder.append ( Object... content)

Append something that can be represented as any of the given possibilities.

◆ append() [3/3]

Builder org.lflang.ast.MalleableString.Builder.append ( String... content)

Append something that can be represented as any of the given possibilities.

◆ get()

MalleableString org.lflang.ast.MalleableString.Builder.get ( )

Append something that can be represented as any of the given possibilities.

◆ insert()

private< T > Builder org.lflang.ast.MalleableString.Builder.insert ( Function< T, ? extends MalleableString > toMalleableString,
Function< T[], ? extends MalleableString > multiplePossibilitiesRepresenter,
T[] possibilities,
Consumer< MalleableString > addToComponents )
package

Append something that can be represented as any of the given possibilities.

◆ prepend()

Builder org.lflang.ast.MalleableString.Builder.prepend ( MalleableString... possibilities)

Prepend something that can be represented as any of the given possibilities.


The documentation for this class was generated from the following file:
  • /Users/runner/work/lingua-franca/lingua-franca/core/src/main/java/org/lflang/ast/MalleableString.java