lingua-franca 0.10.1
Lingua Franca code generator
Loading...
Searching...
No Matches
Utilities

Utility classes used in the code generator. More...

Classes

interface  org.lflang.ast.AstTransformation
 Interface for AST Transfomations. More...
class  org.lflang.ast.ASTUtils
 A helper class for modifying and analyzing the AST. More...
class  org.lflang.ast.DelayedConnectionTransformation
 This class implements AST transformations for delayed connections. More...
class  org.lflang.ast.FormattingUtil
 Utility functions that determine the specific behavior of the LF formatter. More...
class  org.lflang.ast.IsEqual
 Switch class that checks if subtrees of the AST are semantically equivalent to each other. More...
class  org.lflang.ast.LfParsingHelper
 Utility to parse LF classes. More...
class  org.lflang.ast.MalleableString
 A MalleableString is an object with multiple valid textual representations. More...
class  org.lflang.ast.ToLf
 Switch class for converting AST nodes to their textual representation as it would appear in LF code. More...
class  org.lflang.ast.ToSExpr
 Converts an LF model to an S-expression. More...
class  org.lflang.ast.ToText
 Switch class for converting AST nodes to some textual representation that seems likely to be useful for as many code generators as possible. More...
class  org.lflang.AttributeUtils
 A helper class for processing attributes in the AST. More...
class  org.lflang.FileConfig
 Base class that governs the interactions between code generators and the file system. More...
class  org.lflang.generator.CodeBuilder
 Helper class for printing code with indentation. More...
class  org.lflang.generator.CodeMap
 Encapsulate data about the correspondence between ranges of generated code and ranges of a Lingua Franca file. More...
class  org.lflang.generator.MixedRadixInt
 Representation of a permuted mixed radix (PMR) integer. More...
class  org.lflang.generator.Position
 A position in a document, including line and column. More...
class  org.lflang.generator.Range
 Represents a range in a document. More...
class  org.lflang.InferredType
 A helper class that represents an inferred type. More...
class  org.lflang.TimeValue
 Represents an amount of time (a duration). More...
class  org.lflang.util.ArduinoUtil
 Utilities for Building using Arduino CLI. More...
class  org.lflang.util.Averager
 Average asynchronously reported numbers and do something with them. More...
class  org.lflang.util.CollectionUtil
 Utilities to manipulate collections. More...
class  org.lflang.util.FileUtil
 Utilities for file operations. More...
class  org.lflang.util.FlexPRETUtil
 Utilities for FlexPRET. More...
class  org.lflang.util.ImportUtil
 Utility class for handling package-related URIs in the context of LF (Lingua Franca) libraries. More...
class  org.lflang.util.IteratorUtil
 A utility class for Iterator. More...
class  org.lflang.util.LFCommand
 An abstraction for an external command. More...
class  org.lflang.util.StringUtil
 Utilities to manipulate strings. More...
class  org.lflang.util.TargetResourceNotFoundException
 Exception thrown when a required resource could not be found on the classpath or is an empty directory. More...

Functions

record org.lflang.util.Pair< F, S > (F first, S second)
 A pair whose first element has type F and whose second element has type S.

Detailed Description

Utility classes used in the code generator.

Function Documentation

◆ Pair< F, S >()

record org.lflang.util.Pair< F, S > ( F first,
S second )

import "Pair.java"

A pair whose first element has type F and whose second element has type S.