A B C D E F G H I J K L M N O P Q R S T U V W X _
All Classes All Packages
All Classes All Packages
All Classes All Packages
A
- ABSTRACT - Static variable in interface de.haumacher.msgbuf.generator.parser.ProtobufParserConstants
-
RegularExpression Id.
- ABSTRACT__PROP - Static variable in class de.haumacher.msgbuf.generator.ast.MessageDef
- AbstractDartGenerator - Class in de.haumacher.msgbuf.generator.util
-
Base class for generators creating Java code.
- AbstractDartGenerator() - Constructor for class de.haumacher.msgbuf.generator.util.AbstractDartGenerator
- AbstractFileGenerator - Class in de.haumacher.msgbuf.generator.util
-
Base class for code generators.
- AbstractFileGenerator() - Constructor for class de.haumacher.msgbuf.generator.util.AbstractFileGenerator
- AbstractJavaGenerator - Class in de.haumacher.msgbuf.generator.util
-
Base class for generators creating Java code.
- AbstractJavaGenerator() - Constructor for class de.haumacher.msgbuf.generator.util.AbstractJavaGenerator
- AbstractMessageGenerator - Class in de.haumacher.msgbuf.generator
-
Base class for generating message contents.
- AbstractMessageGenerator(Map<String, Option>) - Constructor for class de.haumacher.msgbuf.generator.AbstractMessageGenerator
-
Creates a
AbstractMessageGeneratorthat does not create top-level file contents. - AbstractMessageGenerator(Map<String, Option>, String) - Constructor for class de.haumacher.msgbuf.generator.AbstractMessageGenerator
-
Creates a
AbstractMessageGenerator. - addConstant(Constant) - Method in class de.haumacher.msgbuf.generator.ast.EnumDef
-
Adds a value to the
EnumDef.getConstants()list. - addDefinition(Definition) - Method in class de.haumacher.msgbuf.generator.ast.DefinitionFile
-
Adds a value to the
DefinitionFile.getDefinitions()list. - addDefinition(Definition) - Method in class de.haumacher.msgbuf.generator.ast.MessageDef
-
Adds a value to the
MessageDef.getDefinitions()list. - adderName(Field) - Static method in class de.haumacher.msgbuf.generator.CodeConvention
- addEscapes(String) - Static method in error de.haumacher.msgbuf.generator.parser.TokenMgrError
-
Replaces unprintable characters by their escaped (or unicode escaped) equivalents in the given string
- addField(Field) - Method in class de.haumacher.msgbuf.generator.ast.MessageDef
-
Adds a value to the
MessageDef.getFields()list. - addInterfaces(Map<String, Option>, MessageDef, List<String>) - Method in interface de.haumacher.msgbuf.generator.GeneratorPlugin
-
Adds interfaces to the generated type.
- addInterfaces(Map<String, Option>, MessageDef, List<String>) - Method in class de.haumacher.msgbuf.generator.plugins.XmlStreamingPlugin
- addName(String) - Method in class de.haumacher.msgbuf.generator.ast.QName
-
Adds a value to the
QName.getNames()list. - addSpecialization(MessageDef) - Method in class de.haumacher.msgbuf.generator.ast.MessageDef
-
Adds a value to the
MessageDef.getSpecializations()list. - adjustBeginLineColumn(int, int) - Method in class de.haumacher.msgbuf.generator.parser.SimpleCharStream
-
Method to adjust line and column numbers for the start of a token.
- allUpperCase(String) - Static method in class de.haumacher.msgbuf.generator.util.CodeUtil
-
Converts a
CamelCasename into a '_' separated name in all upper case. - andThen(GeneratorPlugin) - Method in interface de.haumacher.msgbuf.generator.GeneratorPlugin
-
Joins this
GeneratorPluginwith the given one. - append(String) - Method in class de.haumacher.msgbuf.generator.util.AbstractFileGenerator
B
- backup(int) - Method in class de.haumacher.msgbuf.generator.parser.SimpleCharStream
-
Backup a number of characters.
- beginColumn - Variable in class de.haumacher.msgbuf.generator.parser.Token
-
The column number of the first character of this Token.
- beginLine - Variable in class de.haumacher.msgbuf.generator.parser.Token
-
The line number of the first character of this Token.
- BeginToken() - Method in class de.haumacher.msgbuf.generator.parser.SimpleCharStream
-
Start.
- binaryConstant(Field) - Static method in class de.haumacher.msgbuf.generator.CodeConvention
- BLOCK_COMMENT - Static variable in interface de.haumacher.msgbuf.generator.parser.ProtobufParserConstants
-
RegularExpression Id.
- BOOL - de.haumacher.msgbuf.generator.ast.PrimitiveType.Kind
-
A boolean.
- BOOLEAN_TYPE - Static variable in interface de.haumacher.msgbuf.generator.parser.ProtobufParserConstants
-
RegularExpression Id.
- bufcolumn - Variable in class de.haumacher.msgbuf.generator.parser.SimpleCharStream
- buffer - Variable in class de.haumacher.msgbuf.generator.parser.SimpleCharStream
- bufline - Variable in class de.haumacher.msgbuf.generator.parser.SimpleCharStream
- bufpos - Variable in class de.haumacher.msgbuf.generator.parser.SimpleCharStream
-
Position in buffer.
- BYTES - de.haumacher.msgbuf.generator.ast.PrimitiveType.Kind
-
A string of octets.
C
- camelCase(String) - Static method in class de.haumacher.msgbuf.generator.util.CodeUtil
-
Converts the given '_' separated string to
CamelCase. - classifierId(Constant) - Static method in class de.haumacher.msgbuf.generator.common.MsgBufJsonProtocol
-
The name of the given enumeration classifier as used in the protocol (e.g.
- classifierName(Constant) - Static method in class de.haumacher.msgbuf.generator.CodeConvention
-
The Java name of an enumeration classifier.
- CodeConvention - Class in de.haumacher.msgbuf.generator
-
Utility methods defining technical names of generated classes.
- CodeConvention() - Constructor for class de.haumacher.msgbuf.generator.CodeConvention
- CodeUtil - Class in de.haumacher.msgbuf.generator.util
-
Utilities for code generation.
- CodeUtil() - Constructor for class de.haumacher.msgbuf.generator.util.CodeUtil
- column - Variable in class de.haumacher.msgbuf.generator.parser.SimpleCharStream
- COMMENT__PROP - Static variable in class de.haumacher.msgbuf.generator.ast.DefinitionBase
- concreteSpecializations(MessageDef) - Static method in class de.haumacher.msgbuf.generator.AbstractMessageGenerator
- concreteTransitiveSpecializations(MessageDef) - Static method in class de.haumacher.msgbuf.generator.common.Util
- constant() - Method in class de.haumacher.msgbuf.generator.parser.ProtobufParser
- constant(Field) - Static method in class de.haumacher.msgbuf.generator.CodeConvention
- Constant - Class in de.haumacher.msgbuf.generator.ast
-
A constant of an
EnumDef. - Constant() - Constructor for class de.haumacher.msgbuf.generator.ast.Constant
-
Creates a
Constantinstance. - CONSTANT - de.haumacher.msgbuf.generator.ast.WithOptions.TypeKind
-
Type literal for
Constant. - CONSTANT__TYPE - Static variable in class de.haumacher.msgbuf.generator.ast.Constant
-
Identifier for the
Constanttype in JSON format. - CONSTANTS__PROP - Static variable in class de.haumacher.msgbuf.generator.ast.EnumDef
- container() - Method in interface de.haumacher.msgbuf.generator.FieldOperations
- container() - Method in interface de.haumacher.msgbuf.generator.MessageDefOperations
- CR - Static variable in interface de.haumacher.msgbuf.generator.parser.ProtobufParserConstants
-
RegularExpression Id.
- create() - Static method in class de.haumacher.msgbuf.generator.ast.Constant
-
Creates a
Constantinstance. - create() - Static method in class de.haumacher.msgbuf.generator.ast.CustomType
-
Creates a
CustomTypeinstance. - create() - Static method in class de.haumacher.msgbuf.generator.ast.DefinitionFile
-
Creates a
DefinitionFileinstance. - create() - Static method in class de.haumacher.msgbuf.generator.ast.EnumDef
-
Creates a
EnumDefinstance. - create() - Static method in class de.haumacher.msgbuf.generator.ast.Field
-
Creates a
Fieldinstance. - create() - Static method in class de.haumacher.msgbuf.generator.ast.Flag
-
Creates a
Flaginstance. - create() - Static method in class de.haumacher.msgbuf.generator.ast.MapType
-
Creates a
MapTypeinstance. - create() - Static method in class de.haumacher.msgbuf.generator.ast.MessageDef
-
Creates a
MessageDefinstance. - create() - Static method in class de.haumacher.msgbuf.generator.ast.NumberOption
-
Creates a
NumberOptioninstance. - create() - Static method in class de.haumacher.msgbuf.generator.ast.OptionContainer
-
Creates a
OptionContainerinstance. - create() - Static method in class de.haumacher.msgbuf.generator.ast.PrimitiveType
-
Creates a
PrimitiveTypeinstance. - create() - Static method in class de.haumacher.msgbuf.generator.ast.QName
-
Creates a
QNameinstance. - create() - Static method in class de.haumacher.msgbuf.generator.ast.StringOption
-
Creates a
StringOptioninstance. - curChar - Variable in class de.haumacher.msgbuf.generator.parser.ProtobufParserTokenManager
- currentToken - Variable in exception de.haumacher.msgbuf.generator.parser.ParseException
-
This is the last token that has been consumed successfully.
- CUSTOM_TYPE - de.haumacher.msgbuf.generator.ast.Type.TypeKind
-
Type literal for
CustomType. - CUSTOM_TYPE__TYPE - Static variable in class de.haumacher.msgbuf.generator.ast.CustomType
-
Identifier for the
CustomTypetype in JSON format. - customType() - Method in class de.haumacher.msgbuf.generator.parser.ProtobufParser
- CustomType - Class in de.haumacher.msgbuf.generator.ast
-
Reference to a custom defined
Type. - CustomType() - Constructor for class de.haumacher.msgbuf.generator.ast.CustomType
-
Creates a
CustomTypeinstance.
D
- DartClassGenerator - Class in de.haumacher.msgbuf.generator.dart
-
Generator for a Dart protocol class.
- DartClassGenerator(MessageDef) - Constructor for class de.haumacher.msgbuf.generator.dart.DartClassGenerator
-
Creates a
DartClassGenerator. - DartCoding - Class in de.haumacher.msgbuf.generator.dart
-
Coding conventions for Dart libraries.
- DartCoding() - Constructor for class de.haumacher.msgbuf.generator.dart.DartCoding
- DartEnumGenerator - Class in de.haumacher.msgbuf.generator.dart
-
Generates code for a protocol enum in Dart.
- DartEnumGenerator(EnumDef) - Constructor for class de.haumacher.msgbuf.generator.dart.DartEnumGenerator
-
Creates a
DartEnumGenerator. - DartLibGenerator - Class in de.haumacher.msgbuf.generator.dart
-
Generator for a
msgbufDart library. - DartLibGenerator(File, DefinitionFile) - Constructor for class de.haumacher.msgbuf.generator.dart.DartLibGenerator
-
Creates a
DartLibGenerator. - de.haumacher.msgbuf.generator - package de.haumacher.msgbuf.generator
- de.haumacher.msgbuf.generator.ast - package de.haumacher.msgbuf.generator.ast
- de.haumacher.msgbuf.generator.common - package de.haumacher.msgbuf.generator.common
- de.haumacher.msgbuf.generator.dart - package de.haumacher.msgbuf.generator.dart
- de.haumacher.msgbuf.generator.parser - package de.haumacher.msgbuf.generator.parser
- de.haumacher.msgbuf.generator.plugins - package de.haumacher.msgbuf.generator.plugins
- de.haumacher.msgbuf.generator.util - package de.haumacher.msgbuf.generator.util
- debugStream - Variable in class de.haumacher.msgbuf.generator.parser.ProtobufParserTokenManager
-
Debug output.
- DEFAULT - Static variable in interface de.haumacher.msgbuf.generator.parser.ProtobufParserConstants
-
Lexical state.
- DEFAULT_VALUE__PROP - Static variable in class de.haumacher.msgbuf.generator.ast.Field
- definition() - Method in class de.haumacher.msgbuf.generator.parser.ProtobufParser
- Definition - Class in de.haumacher.msgbuf.generator.ast
-
Base class of a definition in a
DefinitionFile. - Definition() - Constructor for class de.haumacher.msgbuf.generator.ast.Definition
-
Creates a
Definitioninstance. - DEFINITION__PROP - Static variable in class de.haumacher.msgbuf.generator.ast.CustomType
- DEFINITION_FILE - de.haumacher.msgbuf.generator.ast.WithOptions.TypeKind
-
Type literal for
DefinitionFile. - DEFINITION_FILE__TYPE - Static variable in class de.haumacher.msgbuf.generator.ast.DefinitionFile
-
Identifier for the
DefinitionFiletype in JSON format. - Definition.Visitor<R,A> - Interface in de.haumacher.msgbuf.generator.ast
-
Visitor interface for the
Definitionhierarchy. - DefinitionBase - Class in de.haumacher.msgbuf.generator.ast
-
Base class for type and field definitions.
- DefinitionBase() - Constructor for class de.haumacher.msgbuf.generator.ast.DefinitionBase
-
Creates a
DefinitionBaseinstance. - DefinitionBase.Visitor<R,A> - Interface in de.haumacher.msgbuf.generator.ast
-
Visitor interface for the
DefinitionBasehierarchy. - DefinitionFile - Class in de.haumacher.msgbuf.generator.ast
-
Representation of a
.protofile with top-levelDefinitions. - DefinitionFile() - Constructor for class de.haumacher.msgbuf.generator.ast.DefinitionFile
-
Creates a
DefinitionFileinstance. - DEFINITIONS__PROP - Static variable in class de.haumacher.msgbuf.generator.ast.DefinitionFile
- DEFINITIONS__PROP - Static variable in class de.haumacher.msgbuf.generator.ast.MessageDef
- disable_tracing() - Method in class de.haumacher.msgbuf.generator.parser.ProtobufParser
-
Disable tracing.
- DOC_COMMENT - Static variable in interface de.haumacher.msgbuf.generator.parser.ProtobufParserConstants
-
RegularExpression Id.
- docComment(String) - Method in class de.haumacher.msgbuf.generator.MessageGenerator
- docComment(String) - Method in class de.haumacher.msgbuf.generator.util.AbstractDartGenerator
- docComment(String) - Method in class de.haumacher.msgbuf.generator.util.AbstractFileGenerator
- docComment(String) - Method in class de.haumacher.msgbuf.generator.util.AbstractJavaGenerator
- Done() - Method in class de.haumacher.msgbuf.generator.parser.SimpleCharStream
-
Reset buffer when finished.
- DOUBLE - de.haumacher.msgbuf.generator.ast.PrimitiveType.Kind
-
A 64 bit floating point number.
E
- enable_tracing() - Method in class de.haumacher.msgbuf.generator.parser.ProtobufParser
-
Enable tracing.
- endColumn - Variable in class de.haumacher.msgbuf.generator.parser.Token
-
The column number of the last character of this Token.
- endLine - Variable in class de.haumacher.msgbuf.generator.parser.Token
-
The line number of the last character of this Token.
- enter(DefinitionFile) - Method in class de.haumacher.msgbuf.generator.NameTable
- ENUM - Static variable in interface de.haumacher.msgbuf.generator.parser.ProtobufParserConstants
-
RegularExpression Id.
- ENUM_DEF - de.haumacher.msgbuf.generator.ast.WithOptions.TypeKind
-
Type literal for
EnumDef. - ENUM_DEF__TYPE - Static variable in class de.haumacher.msgbuf.generator.ast.EnumDef
-
Identifier for the
EnumDeftype in JSON format. - ENUM_PROTOCOL_NAME_FUN - Static variable in class de.haumacher.msgbuf.generator.CodeConvention
-
Enum method that returns the protocol string for the classifier.
- ENUM_VALUE_OF_PROTOCOL - Static variable in class de.haumacher.msgbuf.generator.CodeConvention
-
Enum method that resolves an enum value from a protocol string.
- EnumDef - Class in de.haumacher.msgbuf.generator.ast
-
Definitionof an enumeration. - EnumDef() - Constructor for class de.haumacher.msgbuf.generator.ast.EnumDef
-
Creates a
EnumDefinstance. - enumeration() - Method in class de.haumacher.msgbuf.generator.parser.ProtobufParser
- EnumGenerator - Class in de.haumacher.msgbuf.generator
-
Generates a binding for a protocol enumeration.
- EnumGenerator(EnumDef) - Constructor for class de.haumacher.msgbuf.generator.EnumGenerator
-
Creates a
EnumGenerator. - EOF - Static variable in interface de.haumacher.msgbuf.generator.parser.ProtobufParserConstants
-
End of File.
- EOL - Static variable in exception de.haumacher.msgbuf.generator.parser.ParseException
-
The end of line string for this machine.
- error(String) - Method in class de.haumacher.msgbuf.generator.Generator
- error(String) - Method in class de.haumacher.msgbuf.generator.NameTable
-
TODO
- error(String, IOException) - Method in class de.haumacher.msgbuf.generator.Generator
- ExpandBuff(boolean) - Method in class de.haumacher.msgbuf.generator.parser.SimpleCharStream
- expectedTokenSequences - Variable in exception de.haumacher.msgbuf.generator.parser.ParseException
-
Each entry in this array is an array of integers.
- EXTENDED_DEF__PROP - Static variable in class de.haumacher.msgbuf.generator.ast.MessageDef
- EXTENDS - Static variable in interface de.haumacher.msgbuf.generator.parser.ProtobufParserConstants
-
RegularExpression Id.
- EXTENDS__PROP - Static variable in class de.haumacher.msgbuf.generator.ast.MessageDef
F
- factoryName(MessageDef) - Static method in class de.haumacher.msgbuf.generator.CodeConvention
-
Name of the factory method for the given
MessageDef. - FALSE - Static variable in interface de.haumacher.msgbuf.generator.parser.ProtobufParserConstants
-
RegularExpression Id.
- field() - Method in class de.haumacher.msgbuf.generator.parser.ProtobufParser
- Field - Class in de.haumacher.msgbuf.generator.ast
-
A field definition of a
MessageDef. - Field() - Constructor for class de.haumacher.msgbuf.generator.ast.Field
-
Creates a
Fieldinstance. - FIELD - de.haumacher.msgbuf.generator.ast.WithOptions.TypeKind
-
Type literal for
Field. - FIELD__TYPE - Static variable in class de.haumacher.msgbuf.generator.ast.Field
-
Identifier for the
Fieldtype in JSON format. - fieldId(Field) - Static method in class de.haumacher.msgbuf.generator.common.MsgBufJsonProtocol
-
Identifier for the given field.
- FieldIDSynthesizer - Class in de.haumacher.msgbuf.generator
-
Algorithm assigning identifiers to
Parts that have no identifier assigned in the message definition. - FieldIDSynthesizer() - Constructor for class de.haumacher.msgbuf.generator.FieldIDSynthesizer
- fieldMemberName(Field) - Static method in class de.haumacher.msgbuf.generator.CodeConvention
- fieldName(Field) - Static method in class de.haumacher.msgbuf.generator.dart.DartCoding
-
Name of the member variable for the given field.
- FieldOperations - Interface in de.haumacher.msgbuf.generator
-
Mix-in interface for
Fieldproviding operations. - FIELDS__PROP - Static variable in class de.haumacher.msgbuf.generator.ast.MessageDef
- file() - Method in class de.haumacher.msgbuf.generator.parser.ProtobufParser
- FILE__PROP - Static variable in class de.haumacher.msgbuf.generator.ast.Definition
- FileGenerator - Interface in de.haumacher.msgbuf.generator.util
-
Common interface for code generators.
- FillBuff() - Method in class de.haumacher.msgbuf.generator.parser.SimpleCharStream
- firstLowerCase(String) - Static method in class de.haumacher.msgbuf.generator.util.CodeUtil
-
Makes the first character lower-case in the given string.
- firstUpperCase(String) - Static method in class de.haumacher.msgbuf.generator.util.CodeUtil
-
Makes the first character upper-case in the given string.
- FIXED_32 - de.haumacher.msgbuf.generator.ast.PrimitiveType.Kind
-
A 32 bit integer without runlength encoding.
- FIXED_64 - de.haumacher.msgbuf.generator.ast.PrimitiveType.Kind
-
A 64 bit integer without runlength encoding.
- Flag - Class in de.haumacher.msgbuf.generator.ast
-
Optionannotating a boolean value - Flag() - Constructor for class de.haumacher.msgbuf.generator.ast.Flag
-
Creates a
Flaginstance. - FLAG - de.haumacher.msgbuf.generator.ast.Option.TypeKind
-
Type literal for
Flag. - FLAG__TYPE - Static variable in class de.haumacher.msgbuf.generator.ast.Flag
-
Identifier for the
Flagtype in JSON format. - FLOAT - de.haumacher.msgbuf.generator.ast.PrimitiveType.Kind
-
A 32 bit floating point number.
G
- generate() - Method in class de.haumacher.msgbuf.generator.dart.DartClassGenerator
- generate() - Method in class de.haumacher.msgbuf.generator.dart.DartEnumGenerator
- generate() - Method in class de.haumacher.msgbuf.generator.dart.DartLibGenerator
- generate() - Method in class de.haumacher.msgbuf.generator.dart.ReadOperationBuilder
- generate() - Method in class de.haumacher.msgbuf.generator.dart.WriteOperationBuilder
- generate() - Method in class de.haumacher.msgbuf.generator.EnumGenerator
- generate() - Method in class de.haumacher.msgbuf.generator.MessageGenerator
- generate() - Method in class de.haumacher.msgbuf.generator.util.AbstractFileGenerator
- generate(GeneratorPlugin) - Method in class de.haumacher.msgbuf.generator.Generator
- generate(Appendable, int) - Method in class de.haumacher.msgbuf.generator.util.AbstractFileGenerator
- generate(Appendable, int) - Method in interface de.haumacher.msgbuf.generator.util.FileGenerator
-
Generates the file contents to the given
Appendable. - generateParseException() - Method in class de.haumacher.msgbuf.generator.parser.ProtobufParser
-
Generate ParseException.
- Generator - Class in de.haumacher.msgbuf.generator
-
Main entry point to the
msgbufgenerator. - Generator() - Constructor for class de.haumacher.msgbuf.generator.Generator
- GeneratorPlugin - Interface in de.haumacher.msgbuf.generator
-
Plug-in to the
MessageGenerator. - get(String) - Method in class de.haumacher.msgbuf.generator.ast.CustomType
- get(String) - Method in class de.haumacher.msgbuf.generator.ast.Definition
- get(String) - Method in class de.haumacher.msgbuf.generator.ast.DefinitionBase
- get(String) - Method in class de.haumacher.msgbuf.generator.ast.DefinitionFile
- get(String) - Method in class de.haumacher.msgbuf.generator.ast.EnumDef
- get(String) - Method in class de.haumacher.msgbuf.generator.ast.Field
- get(String) - Method in class de.haumacher.msgbuf.generator.ast.Flag
- get(String) - Method in class de.haumacher.msgbuf.generator.ast.MapType
- get(String) - Method in class de.haumacher.msgbuf.generator.ast.MessageDef
- get(String) - Method in class de.haumacher.msgbuf.generator.ast.NumberOption
- get(String) - Method in class de.haumacher.msgbuf.generator.ast.Part
- get(String) - Method in class de.haumacher.msgbuf.generator.ast.PrimitiveType
- get(String) - Method in class de.haumacher.msgbuf.generator.ast.QName
- get(String) - Method in class de.haumacher.msgbuf.generator.ast.StringOption
- get(String) - Method in class de.haumacher.msgbuf.generator.ast.WithOptions
- getBeginColumn() - Method in class de.haumacher.msgbuf.generator.parser.SimpleCharStream
-
Get token beginning column number.
- getBeginLine() - Method in class de.haumacher.msgbuf.generator.parser.SimpleCharStream
-
Get token beginning line number.
- getColumn() - Method in class de.haumacher.msgbuf.generator.parser.SimpleCharStream
-
Deprecated.
- getComment() - Method in class de.haumacher.msgbuf.generator.ast.DefinitionBase
-
The documentation comment for this definition.
- getConstants() - Method in class de.haumacher.msgbuf.generator.ast.EnumDef
-
All enum constants of this enumeration
- getDefaultValue() - Method in class de.haumacher.msgbuf.generator.ast.Field
-
The initializer value to assign to the field.
- getDefinition() - Method in class de.haumacher.msgbuf.generator.ast.CustomType
-
Resolved reference of the
Definitiondefining thereferenced type. - getDefinitions() - Method in class de.haumacher.msgbuf.generator.ast.DefinitionFile
-
All definitions in this file.
- getDefinitions() - Method in class de.haumacher.msgbuf.generator.ast.MessageDef
-
Ohter
Definitions that are local to this data class. - getEndColumn() - Method in class de.haumacher.msgbuf.generator.parser.SimpleCharStream
-
Get token end column number.
- getEndLine() - Method in class de.haumacher.msgbuf.generator.parser.SimpleCharStream
-
Get token end line number.
- getExtendedDef() - Method in class de.haumacher.msgbuf.generator.ast.MessageDef
-
Reference to the
data class definitionthat is referenced by theMessageDef.getExtends()clause. - getExtends() - Method in class de.haumacher.msgbuf.generator.ast.MessageDef
-
Optional reference to another
MessageDefwhoes fields are inherited. - getField(MessageDef, String) - Static method in class de.haumacher.msgbuf.generator.CodeConvention
- getFields() - Method in class de.haumacher.msgbuf.generator.ast.MessageDef
-
All
Fields locally defined in this data class. - getFile() - Method in class de.haumacher.msgbuf.generator.ast.Definition
-
Reference back to the
DefinitionFilethat contains this definition. - getFlag(WithOptions, String) - Static method in class de.haumacher.msgbuf.generator.common.Util
- getId() - Method in class de.haumacher.msgbuf.generator.ast.MessageDef
-
The ID used for distinguishing an instance of this type from instances of other types in the same polymorphic hierarchy.
- GetImage() - Method in class de.haumacher.msgbuf.generator.parser.SimpleCharStream
-
Get token literal value.
- getIndent() - Method in class de.haumacher.msgbuf.generator.util.AbstractFileGenerator
-
The current indentation level.
- getIndex() - Method in class de.haumacher.msgbuf.generator.ast.Part
-
The numeric identifier for this member.
- getKeyType() - Method in class de.haumacher.msgbuf.generator.ast.MapType
-
The key type of this map.
- getKind() - Method in class de.haumacher.msgbuf.generator.ast.PrimitiveType
-
The type kind.
- getLine() - Method in class de.haumacher.msgbuf.generator.parser.SimpleCharStream
-
Deprecated.
- getMessage() - Method in error de.haumacher.msgbuf.generator.parser.TokenMgrError
-
You can also modify the body of this method to customize your error messages.
- getName() - Method in class de.haumacher.msgbuf.generator.ast.CustomType
-
The name of the reference type.
- getName() - Method in class de.haumacher.msgbuf.generator.ast.Definition
-
The name of this definition.
- getName() - Method in class de.haumacher.msgbuf.generator.ast.Part
-
The name of this member.
- getNames() - Method in class de.haumacher.msgbuf.generator.ast.QName
-
The parts that compose this qualified name.
- getNextToken() - Method in class de.haumacher.msgbuf.generator.parser.ProtobufParser
-
Get the next Token.
- getNextToken() - Method in class de.haumacher.msgbuf.generator.parser.ProtobufParserTokenManager
-
Get the next Token.
- getOption(WithOptions, String) - Static method in class de.haumacher.msgbuf.generator.common.Util
- getOptions() - Method in class de.haumacher.msgbuf.generator.AbstractMessageGenerator
- getOptions() - Method in class de.haumacher.msgbuf.generator.ast.WithOptions
-
Annotations to this definition.
- getOuter() - Method in class de.haumacher.msgbuf.generator.ast.Definition
-
The
MessageDefthat contains this inner . - getOwner() - Method in class de.haumacher.msgbuf.generator.ast.Part
-
The
Definitiondefinint thisPart. - getPackage() - Method in class de.haumacher.msgbuf.generator.ast.DefinitionFile
-
The package name for all types in this file.
- getReverse() - Method in interface de.haumacher.msgbuf.generator.FieldOperations
-
The name of the inverse reference of this one.
- getReverseAnnotation() - Method in interface de.haumacher.msgbuf.generator.FieldOperations
-
The annotation marking this reference as "reverse".
- getSpecializations() - Method in class de.haumacher.msgbuf.generator.ast.MessageDef
-
All
data classesthat inherit from this data class. - GetSuffix(int) - Method in class de.haumacher.msgbuf.generator.parser.SimpleCharStream
-
Get the suffix.
- getTabSize() - Method in class de.haumacher.msgbuf.generator.parser.SimpleCharStream
- getterName(Field) - Static method in class de.haumacher.msgbuf.generator.CodeConvention
- getToken(int) - Method in class de.haumacher.msgbuf.generator.parser.ProtobufParser
-
Get the specific Token.
- getType() - Method in class de.haumacher.msgbuf.generator.ast.Field
-
The type of values that can be stored in this field.
- getValue() - Method in class de.haumacher.msgbuf.generator.ast.NumberOption
-
The number assigned to the option.
- getValue() - Method in class de.haumacher.msgbuf.generator.ast.StringOption
-
The string value assigned to the option.
- getValue() - Method in class de.haumacher.msgbuf.generator.parser.Token
-
An optional attribute value of the Token.
- getValueType() - Method in class de.haumacher.msgbuf.generator.ast.MapType
-
The value type of this map.
H
- hasDefaultValue() - Method in class de.haumacher.msgbuf.generator.ast.Field
-
Checks, whether
Field.getDefaultValue()has a value. - hasDefinition() - Method in class de.haumacher.msgbuf.generator.ast.CustomType
-
Checks, whether
CustomType.getDefinition()has a value. - hasExtendedDef() - Method in class de.haumacher.msgbuf.generator.ast.MessageDef
-
Checks, whether
MessageDef.getExtendedDef()has a value. - hasExtends() - Method in class de.haumacher.msgbuf.generator.ast.MessageDef
-
Checks, whether
MessageDef.getExtends()has a value. - hasFile() - Method in class de.haumacher.msgbuf.generator.ast.Definition
-
Checks, whether
Definition.getFile()has a value. - hasKeyType() - Method in class de.haumacher.msgbuf.generator.ast.MapType
-
Checks, whether
MapType.getKeyType()has a value. - hasName() - Method in class de.haumacher.msgbuf.generator.ast.CustomType
-
Checks, whether
CustomType.getName()has a value. - hasName(Field) - Static method in class de.haumacher.msgbuf.generator.CodeConvention
- hasOuter() - Method in class de.haumacher.msgbuf.generator.ast.Definition
-
Checks, whether
Definition.getOuter()has a value. - hasOwner() - Method in class de.haumacher.msgbuf.generator.ast.Part
-
Checks, whether
Part.getOwner()has a value. - hasPackage() - Method in class de.haumacher.msgbuf.generator.ast.DefinitionFile
-
Checks, whether
DefinitionFile.getPackage()has a value. - hasType() - Method in class de.haumacher.msgbuf.generator.ast.Field
-
Checks, whether
Field.getType()has a value. - hasValueType() - Method in class de.haumacher.msgbuf.generator.ast.MapType
-
Checks, whether
MapType.getValueType()has a value.
I
- ID__PROP - Static variable in class de.haumacher.msgbuf.generator.ast.MessageDef
- image - Variable in class de.haumacher.msgbuf.generator.parser.Token
-
The string image of the token.
- IMPL_INSTANCE - Static variable in class de.haumacher.msgbuf.generator.TypeGenerator
-
Singleton
TypeGeneratorinstance. - IMPL_PACKAGE_SUFFIX - Static variable in class de.haumacher.msgbuf.generator.CodeConvention
-
The sub-package where to place implementations.
- implName(Definition) - Static method in class de.haumacher.msgbuf.generator.CodeConvention
- implName(MessageDef) - Method in class de.haumacher.msgbuf.generator.AbstractMessageGenerator
- implName(String) - Static method in class de.haumacher.msgbuf.generator.CodeConvention
- inBuf - Variable in class de.haumacher.msgbuf.generator.parser.SimpleCharStream
- include(FileGenerator) - Method in class de.haumacher.msgbuf.generator.util.AbstractFileGenerator
- INDEX__PROP - Static variable in class de.haumacher.msgbuf.generator.ast.Part
- init(Map<String, Option>) - Method in interface de.haumacher.msgbuf.generator.GeneratorPlugin
-
Initializes the plug-in with file options.
- init(Map<String, Option>) - Method in class de.haumacher.msgbuf.generator.plugins.XmlStreamingPlugin
- initializer(Field) - Static method in class de.haumacher.msgbuf.generator.dart.DartCoding
-
The default value of the given field.
- InitializerGenerator - Class in de.haumacher.msgbuf.generator.dart
-
Generator for default values for fields of certain types.
- input_stream - Variable in class de.haumacher.msgbuf.generator.parser.ProtobufParserTokenManager
- inputStream - Variable in class de.haumacher.msgbuf.generator.parser.SimpleCharStream
- INSTANCE - Static variable in class de.haumacher.msgbuf.generator.dart.InitializerGenerator
-
Singleton
InitializerGeneratorinstance. - INSTANCE - Static variable in class de.haumacher.msgbuf.generator.dart.TypeNameBuilder
-
Singleton
TypeNameBuilderinstance. - INSTANCE - Static variable in class de.haumacher.msgbuf.generator.TypeGenerator
-
Singleton
TypeGeneratorinstance. - INT - Static variable in interface de.haumacher.msgbuf.generator.parser.ProtobufParserConstants
-
RegularExpression Id.
- INT_32 - de.haumacher.msgbuf.generator.ast.PrimitiveType.Kind
-
A 32 bit integer.
- INT_64 - de.haumacher.msgbuf.generator.ast.PrimitiveType.Kind
-
A 64 bit integer.
- INT_TYPE - Static variable in interface de.haumacher.msgbuf.generator.parser.ProtobufParserConstants
-
RegularExpression Id.
- internalAddConstant(Constant) - Method in class de.haumacher.msgbuf.generator.ast.EnumDef
-
Implementation of
EnumDef.addConstant(de.haumacher.msgbuf.generator.ast.Constant)without chain call utility. - internalAddDefinition(Definition) - Method in class de.haumacher.msgbuf.generator.ast.DefinitionFile
-
Implementation of
DefinitionFile.addDefinition(de.haumacher.msgbuf.generator.ast.Definition)without chain call utility. - internalAddDefinition(Definition) - Method in class de.haumacher.msgbuf.generator.ast.MessageDef
-
Implementation of
MessageDef.addDefinition(de.haumacher.msgbuf.generator.ast.Definition)without chain call utility. - internalAdderName(Field) - Static method in class de.haumacher.msgbuf.generator.CodeConvention
- internalAddField(Field) - Method in class de.haumacher.msgbuf.generator.ast.MessageDef
-
Implementation of
MessageDef.addField(de.haumacher.msgbuf.generator.ast.Field)without chain call utility. - internalAddName(String) - Method in class de.haumacher.msgbuf.generator.ast.QName
-
Implementation of
QName.addName(String)without chain call utility. - internalAddSpecialization(MessageDef) - Method in class de.haumacher.msgbuf.generator.ast.MessageDef
-
Implementation of
MessageDef.addSpecialization(de.haumacher.msgbuf.generator.ast.MessageDef)without chain call utility. - internalPutOption(String, Option) - Method in class de.haumacher.msgbuf.generator.ast.WithOptions
-
Implementation of
WithOptions.putOption(String, de.haumacher.msgbuf.generator.ast.Option)without chain call utility. - internalRegisterListener(Listener) - Method in class de.haumacher.msgbuf.generator.ast.Option
- internalRegisterListener(Listener) - Method in class de.haumacher.msgbuf.generator.ast.QName
- internalRegisterListener(Listener) - Method in class de.haumacher.msgbuf.generator.ast.Type
- internalRegisterListener(Listener) - Method in class de.haumacher.msgbuf.generator.ast.WithOptions
- internalSetAbstract(boolean) - Method in class de.haumacher.msgbuf.generator.ast.MessageDef
-
Internal setter for
MessageDef.isAbstract()without chain call utility. - internalSetComment(String) - Method in class de.haumacher.msgbuf.generator.ast.DefinitionBase
-
Internal setter for
DefinitionBase.getComment()without chain call utility. - internalSetConstants(List<? extends Constant>) - Method in class de.haumacher.msgbuf.generator.ast.EnumDef
-
Internal setter for
EnumDef.getConstants()without chain call utility. - internalSetDefaultValue(String) - Method in class de.haumacher.msgbuf.generator.ast.Field
-
Internal setter for
Field.getDefaultValue()without chain call utility. - internalSetDefinition(Definition) - Method in class de.haumacher.msgbuf.generator.ast.CustomType
-
Internal setter for
CustomType.getDefinition()without chain call utility. - internalSetDefinitions(List<? extends Definition>) - Method in class de.haumacher.msgbuf.generator.ast.DefinitionFile
-
Internal setter for
DefinitionFile.getDefinitions()without chain call utility. - internalSetDefinitions(List<? extends Definition>) - Method in class de.haumacher.msgbuf.generator.ast.MessageDef
-
Internal setter for
MessageDef.getDefinitions()without chain call utility. - internalSetExtendedDef(MessageDef) - Method in class de.haumacher.msgbuf.generator.ast.MessageDef
-
Internal setter for
MessageDef.getExtendedDef()without chain call utility. - internalSetExtends(QName) - Method in class de.haumacher.msgbuf.generator.ast.MessageDef
-
Internal setter for
MessageDef.getExtends()without chain call utility. - internalSetFields(List<? extends Field>) - Method in class de.haumacher.msgbuf.generator.ast.MessageDef
-
Internal setter for
MessageDef.getFields()without chain call utility. - internalSetFile(DefinitionFile) - Method in class de.haumacher.msgbuf.generator.ast.Definition
-
Internal setter for
Definition.getFile()without chain call utility. - internalSetId(int) - Method in class de.haumacher.msgbuf.generator.ast.MessageDef
-
Internal setter for
MessageDef.getId()without chain call utility. - internalSetIndex(int) - Method in class de.haumacher.msgbuf.generator.ast.Part
-
Internal setter for
Part.getIndex()without chain call utility. - internalSetKeyType(Type) - Method in class de.haumacher.msgbuf.generator.ast.MapType
-
Internal setter for
MapType.getKeyType()without chain call utility. - internalSetKind(PrimitiveType.Kind) - Method in class de.haumacher.msgbuf.generator.ast.PrimitiveType
-
Internal setter for
PrimitiveType.getKind()without chain call utility. - internalSetName(QName) - Method in class de.haumacher.msgbuf.generator.ast.CustomType
-
Internal setter for
CustomType.getName()without chain call utility. - internalSetName(String) - Method in class de.haumacher.msgbuf.generator.ast.Definition
-
Internal setter for
Definition.getName()without chain call utility. - internalSetName(String) - Method in class de.haumacher.msgbuf.generator.ast.Part
-
Internal setter for
Part.getName()without chain call utility. - internalSetNames(List<? extends String>) - Method in class de.haumacher.msgbuf.generator.ast.QName
-
Internal setter for
QName.getNames()without chain call utility. - internalSetOptions(Map<String, Option>) - Method in class de.haumacher.msgbuf.generator.ast.WithOptions
-
Internal setter for
WithOptions.getOptions()without chain call utility. - internalSetOuter(MessageDef) - Method in class de.haumacher.msgbuf.generator.ast.Definition
-
Internal setter for
Definition.getOuter()without chain call utility. - internalSetOwner(Definition) - Method in class de.haumacher.msgbuf.generator.ast.Part
-
Internal setter for
Part.getOwner()without chain call utility. - internalSetPackage(QName) - Method in class de.haumacher.msgbuf.generator.ast.DefinitionFile
-
Internal setter for
DefinitionFile.getPackage()without chain call utility. - internalSetRepeated(boolean) - Method in class de.haumacher.msgbuf.generator.ast.Field
-
Internal setter for
Field.isRepeated()without chain call utility. - internalSetSpecializations(List<? extends MessageDef>) - Method in class de.haumacher.msgbuf.generator.ast.MessageDef
-
Internal setter for
MessageDef.getSpecializations()without chain call utility. - internalSetterName(Field) - Static method in class de.haumacher.msgbuf.generator.CodeConvention
- internalSetTransient(boolean) - Method in class de.haumacher.msgbuf.generator.ast.Field
-
Internal setter for
Field.isTransient()without chain call utility. - internalSetType(Type) - Method in class de.haumacher.msgbuf.generator.ast.Field
-
Internal setter for
Field.getType()without chain call utility. - internalSetValue(boolean) - Method in class de.haumacher.msgbuf.generator.ast.Flag
-
Internal setter for
Flag.isValue()without chain call utility. - internalSetValue(double) - Method in class de.haumacher.msgbuf.generator.ast.NumberOption
-
Internal setter for
NumberOption.getValue()without chain call utility. - internalSetValue(String) - Method in class de.haumacher.msgbuf.generator.ast.StringOption
-
Internal setter for
StringOption.getValue()without chain call utility. - internalSetValueType(Type) - Method in class de.haumacher.msgbuf.generator.ast.MapType
-
Internal setter for
MapType.getValueType()without chain call utility. - internalUnregisterListener(Listener) - Method in class de.haumacher.msgbuf.generator.ast.Option
- internalUnregisterListener(Listener) - Method in class de.haumacher.msgbuf.generator.ast.QName
- internalUnregisterListener(Listener) - Method in class de.haumacher.msgbuf.generator.ast.Type
- internalUnregisterListener(Listener) - Method in class de.haumacher.msgbuf.generator.ast.WithOptions
- INVALID_LEXICAL_STATE - Static variable in error de.haumacher.msgbuf.generator.parser.TokenMgrError
-
Tried to change to an invalid lexical state.
- isAbstract() - Method in class de.haumacher.msgbuf.generator.ast.MessageDef
-
Whether this class only serves as super type for other data classes.
- isBinary() - Method in class de.haumacher.msgbuf.generator.MessageGenerator
-
Whether binary IO should be generated.
- isContainer() - Method in interface de.haumacher.msgbuf.generator.FieldOperations
-
Whether this is a derived reference pointing to the owner of the object this referenec belongs to.
- isDerived() - Method in interface de.haumacher.msgbuf.generator.FieldOperations
-
Whether this field cannot be set by the application
- isJson() - Method in class de.haumacher.msgbuf.generator.MessageGenerator
-
Whether to generate JSON serialization code.
- isNullable(Field) - Static method in class de.haumacher.msgbuf.generator.common.Util
- isNullable(Type) - Static method in class de.haumacher.msgbuf.generator.common.Util
- isRef() - Method in interface de.haumacher.msgbuf.generator.FieldOperations
-
Whether this is a cross reference (not a composition which is the default).
- isReflection() - Method in class de.haumacher.msgbuf.generator.MessageGenerator
-
Whether reflective access should be generated.
- isRepeated() - Method in class de.haumacher.msgbuf.generator.ast.Field
-
Whether this field contains multiple values of its
Field.getType(). - isReverse() - Method in interface de.haumacher.msgbuf.generator.FieldOperations
-
Whether this is a reverse reference.
- isReverseOf(String) - Method in interface de.haumacher.msgbuf.generator.FieldOperations
-
Whether this field is the reverse to the reference with the given name.
- isTransient() - Method in class de.haumacher.msgbuf.generator.ast.Field
-
Whether this field is not serialized when a message is created.
- isTrue(Option, boolean) - Static method in class de.haumacher.msgbuf.generator.AbstractMessageGenerator
- isValue() - Method in class de.haumacher.msgbuf.generator.ast.Flag
-
The boolean value assigned to the option.
J
- javaAnnotations() - Method in class de.haumacher.msgbuf.generator.parser.ProtobufParser
- javaAnnotationsFor(WithOptions) - Method in class de.haumacher.msgbuf.generator.parser.ProtobufParser
- jj_nt - Variable in class de.haumacher.msgbuf.generator.parser.ProtobufParser
-
Next token.
- jjFillToken() - Method in class de.haumacher.msgbuf.generator.parser.ProtobufParserTokenManager
- jjnewLexState - Static variable in class de.haumacher.msgbuf.generator.parser.ProtobufParserTokenManager
-
Lex State array.
- jjstrLiteralImages - Static variable in class de.haumacher.msgbuf.generator.parser.ProtobufParserTokenManager
-
Token literal values.
- jsonName(Field) - Static method in class de.haumacher.msgbuf.generator.dart.DartCoding
-
String literal denoting the field name in JSON format of the given field.
- jsonType() - Method in class de.haumacher.msgbuf.generator.ast.Constant
- jsonType() - Method in class de.haumacher.msgbuf.generator.ast.CustomType
- jsonType() - Method in class de.haumacher.msgbuf.generator.ast.DefinitionFile
- jsonType() - Method in class de.haumacher.msgbuf.generator.ast.EnumDef
- jsonType() - Method in class de.haumacher.msgbuf.generator.ast.Field
- jsonType() - Method in class de.haumacher.msgbuf.generator.ast.Flag
- jsonType() - Method in class de.haumacher.msgbuf.generator.ast.MapType
- jsonType() - Method in class de.haumacher.msgbuf.generator.ast.MessageDef
- jsonType() - Method in class de.haumacher.msgbuf.generator.ast.NumberOption
- jsonType() - Method in class de.haumacher.msgbuf.generator.ast.OptionContainer
- jsonType() - Method in class de.haumacher.msgbuf.generator.ast.PrimitiveType
- jsonType() - Method in class de.haumacher.msgbuf.generator.ast.QName
- jsonType() - Method in class de.haumacher.msgbuf.generator.ast.StringOption
- jsonTypeConstant(MessageDef) - Static method in class de.haumacher.msgbuf.generator.CodeConvention
- jsonTypeConstantRef(MessageDef) - Static method in class de.haumacher.msgbuf.generator.CodeConvention
- jsonTypeIdLiteral(MessageDef) - Static method in class de.haumacher.msgbuf.generator.dart.DartCoding
-
String literal with the JSON type name of the given class.
K
- KEY_TYPE__PROP - Static variable in class de.haumacher.msgbuf.generator.ast.MapType
- kind - Variable in class de.haumacher.msgbuf.generator.parser.Token
-
An integer that describes the kind of this token.
- kind() - Method in class de.haumacher.msgbuf.generator.ast.Constant
- kind() - Method in class de.haumacher.msgbuf.generator.ast.CustomType
- kind() - Method in class de.haumacher.msgbuf.generator.ast.DefinitionFile
- kind() - Method in class de.haumacher.msgbuf.generator.ast.EnumDef
- kind() - Method in class de.haumacher.msgbuf.generator.ast.Field
- kind() - Method in class de.haumacher.msgbuf.generator.ast.Flag
- kind() - Method in class de.haumacher.msgbuf.generator.ast.MapType
- kind() - Method in class de.haumacher.msgbuf.generator.ast.MessageDef
- kind() - Method in class de.haumacher.msgbuf.generator.ast.NumberOption
- kind() - Method in class de.haumacher.msgbuf.generator.ast.Option
-
The type code of this instance.
- kind() - Method in class de.haumacher.msgbuf.generator.ast.OptionContainer
- kind() - Method in class de.haumacher.msgbuf.generator.ast.PrimitiveType
- kind() - Method in class de.haumacher.msgbuf.generator.ast.StringOption
- kind() - Method in class de.haumacher.msgbuf.generator.ast.Type
-
The type code of this instance.
- kind() - Method in class de.haumacher.msgbuf.generator.ast.WithOptions
-
The type code of this instance.
- KIND__PROP - Static variable in class de.haumacher.msgbuf.generator.ast.PrimitiveType
L
- last(QName) - Static method in class de.haumacher.msgbuf.generator.common.Util
- LEXICAL_ERROR - Static variable in error de.haumacher.msgbuf.generator.parser.TokenMgrError
-
Lexical error occurred.
- LexicalErr(boolean, int, int, int, String, int) - Static method in error de.haumacher.msgbuf.generator.parser.TokenMgrError
-
Returns a detailed message for the Error when it is thrown by the token manager to indicate a lexical error.
- lexStateNames - Static variable in class de.haumacher.msgbuf.generator.parser.ProtobufParserTokenManager
-
Lexer state names.
- line - Variable in class de.haumacher.msgbuf.generator.parser.SimpleCharStream
- line(String) - Method in class de.haumacher.msgbuf.generator.util.AbstractFileGenerator
- line(String...) - Method in class de.haumacher.msgbuf.generator.util.AbstractFileGenerator
- LINE_COMMENT - Static variable in interface de.haumacher.msgbuf.generator.parser.ProtobufParserConstants
-
RegularExpression Id.
- lineStart(String) - Method in class de.haumacher.msgbuf.generator.util.AbstractFileGenerator
- literalName(Constant) - Static method in class de.haumacher.msgbuf.generator.dart.DartCoding
-
Name of an enum literal.
- load(DefinitionFile) - Method in class de.haumacher.msgbuf.generator.Generator
- load(File) - Method in class de.haumacher.msgbuf.generator.Generator
- load(InputStream) - Method in class de.haumacher.msgbuf.generator.Generator
- load(String) - Method in class de.haumacher.msgbuf.generator.Generator
- LONG_TYPE - Static variable in interface de.haumacher.msgbuf.generator.parser.ProtobufParserConstants
-
RegularExpression Id.
- lookup(MessageDef, QName) - Method in class de.haumacher.msgbuf.generator.NameTable
-
TODO
- LOOP_DETECTED - Static variable in error de.haumacher.msgbuf.generator.parser.TokenMgrError
-
Detected (and bailed out of) an infinite loop in the token manager.
M
- main(String...) - Static method in class de.haumacher.msgbuf.generator.Generator
-
Main entry point invoked from the command line.
- main(String[]) - Static method in class de.haumacher.msgbuf.generator.Proto2Json
- map() - Method in class de.haumacher.msgbuf.generator.parser.ProtobufParser
- MAP - Static variable in interface de.haumacher.msgbuf.generator.parser.ProtobufParserConstants
-
RegularExpression Id.
- MAP_TYPE - de.haumacher.msgbuf.generator.ast.Type.TypeKind
-
Type literal for
MapType. - MAP_TYPE__TYPE - Static variable in class de.haumacher.msgbuf.generator.ast.MapType
-
Identifier for the
MapTypetype in JSON format. - MapType - Class in de.haumacher.msgbuf.generator.ast
-
A
Typethat is composed of a key and a value. - MapType() - Constructor for class de.haumacher.msgbuf.generator.ast.MapType
-
Creates a
MapTypeinstance. - MAX - Static variable in interface de.haumacher.msgbuf.generator.parser.ProtobufParserConstants
-
RegularExpression Id.
- maxNextCharInd - Variable in class de.haumacher.msgbuf.generator.parser.SimpleCharStream
- memberDefinition() - Method in class de.haumacher.msgbuf.generator.parser.ProtobufParser
- message() - Method in class de.haumacher.msgbuf.generator.parser.ProtobufParser
- MESSAGE - Static variable in interface de.haumacher.msgbuf.generator.parser.ProtobufParserConstants
-
RegularExpression Id.
- MESSAGE_DEF - de.haumacher.msgbuf.generator.ast.WithOptions.TypeKind
-
Type literal for
MessageDef. - MESSAGE_DEF__TYPE - Static variable in class de.haumacher.msgbuf.generator.ast.MessageDef
-
Identifier for the
MessageDeftype in JSON format. - MessageDef - Class in de.haumacher.msgbuf.generator.ast
-
Definitionof a data class. - MessageDef() - Constructor for class de.haumacher.msgbuf.generator.ast.MessageDef
-
Creates a
MessageDefinstance. - MessageDefOperations - Interface in de.haumacher.msgbuf.generator
-
Mix-in interface for
MessageDef. - MessageGenerator - Class in de.haumacher.msgbuf.generator
-
Generatorfor message data classes. - MessageGenerator(NameTable, Map<String, Option>, boolean, String, MessageDef, GeneratorPlugin) - Constructor for class de.haumacher.msgbuf.generator.MessageGenerator
-
Creates a
MessageGenerator. - messageImplContents(Map<String, Option>, MessageDef) - Method in interface de.haumacher.msgbuf.generator.GeneratorPlugin
-
Creates a
FileGeneratorthat is expanded within the implementation class. - messageImplContents(Map<String, Option>, MessageDef) - Method in class de.haumacher.msgbuf.generator.plugins.XmlStreamingPlugin
- messageInterfaceContents(Map<String, Option>, MessageDef) - Method in interface de.haumacher.msgbuf.generator.GeneratorPlugin
-
Creates a
FileGeneratorthat is expanded within the interface class. - messageInterfaceContents(Map<String, Option>, MessageDef) - Method in class de.haumacher.msgbuf.generator.plugins.XmlStreamingPlugin
- mkBinaryTypeConstant(MessageDef) - Static method in class de.haumacher.msgbuf.generator.CodeConvention
- mkType(Field) - Static method in class de.haumacher.msgbuf.generator.TypeGenerator
- mkType(Type) - Static method in class de.haumacher.msgbuf.generator.TypeGenerator
- mkType(Type, boolean) - Static method in class de.haumacher.msgbuf.generator.TypeGenerator
- mkTypeReadOnly(Field) - Static method in class de.haumacher.msgbuf.generator.TypeGenerator
- mkTypeWrapped(Type) - Static method in class de.haumacher.msgbuf.generator.TypeGenerator
- mkTypeWrappedImpl(Type) - Static method in class de.haumacher.msgbuf.generator.TypeGenerator
- MsgBufJsonProtocol - Class in de.haumacher.msgbuf.generator.common
-
Mapping of the
msgbufJSON protocol definition to protocol implementations. - MsgBufJsonProtocol() - Constructor for class de.haumacher.msgbuf.generator.common.MsgBufJsonProtocol
N
- name() - Method in class de.haumacher.msgbuf.generator.parser.ProtobufParser
- name(Field) - Static method in class de.haumacher.msgbuf.generator.CodeConvention
- NAME - Static variable in interface de.haumacher.msgbuf.generator.parser.ProtobufParserConstants
-
RegularExpression Id.
- NAME__PROP - Static variable in class de.haumacher.msgbuf.generator.ast.CustomType
- NAME__PROP - Static variable in class de.haumacher.msgbuf.generator.ast.Definition
- NAME__PROP - Static variable in class de.haumacher.msgbuf.generator.ast.Part
- NAMES__PROP - Static variable in class de.haumacher.msgbuf.generator.ast.QName
- NameTable - Class in de.haumacher.msgbuf.generator
-
TODO
- NameTable() - Constructor for class de.haumacher.msgbuf.generator.NameTable
- newToken(int) - Static method in class de.haumacher.msgbuf.generator.parser.Token
- newToken(int, String) - Static method in class de.haumacher.msgbuf.generator.parser.Token
-
Returns a new Token object, by default.
- next - Variable in class de.haumacher.msgbuf.generator.parser.Token
-
A reference to the next regular (non-special) token from the input stream.
- nl() - Method in class de.haumacher.msgbuf.generator.util.AbstractFileGenerator
- NL - Static variable in interface de.haumacher.msgbuf.generator.parser.ProtobufParserConstants
-
RegularExpression Id.
- none() - Static method in interface de.haumacher.msgbuf.generator.GeneratorPlugin
-
GeneratorPluginthat does not generate any output. - NULL - Static variable in interface de.haumacher.msgbuf.generator.parser.ProtobufParserConstants
-
RegularExpression Id.
- NUMBER - Static variable in interface de.haumacher.msgbuf.generator.parser.ProtobufParserConstants
-
RegularExpression Id.
- NUMBER_OPTION - de.haumacher.msgbuf.generator.ast.Option.TypeKind
-
Type literal for
NumberOption. - NUMBER_OPTION__TYPE - Static variable in class de.haumacher.msgbuf.generator.ast.NumberOption
-
Identifier for the
NumberOptiontype in JSON format. - NumberOption - Class in de.haumacher.msgbuf.generator.ast
-
Optionannotating an int value - NumberOption() - Constructor for class de.haumacher.msgbuf.generator.ast.NumberOption
-
Creates a
NumberOptioninstance.
O
- oneof() - Method in class de.haumacher.msgbuf.generator.parser.ProtobufParser
- ONEOF - Static variable in interface de.haumacher.msgbuf.generator.parser.ProtobufParserConstants
-
RegularExpression Id.
- Option - Class in de.haumacher.msgbuf.generator.ast
-
Base class for an option annotation.
- Option() - Constructor for class de.haumacher.msgbuf.generator.ast.Option
-
Creates a
Optioninstance. - OPTION - Static variable in interface de.haumacher.msgbuf.generator.parser.ProtobufParserConstants
-
RegularExpression Id.
- OPTION_CONTAINER - de.haumacher.msgbuf.generator.ast.WithOptions.TypeKind
-
Type literal for
OptionContainer. - OPTION_CONTAINER__TYPE - Static variable in class de.haumacher.msgbuf.generator.ast.OptionContainer
-
Identifier for the
OptionContainertype in JSON format. - Option.TypeKind - Enum in de.haumacher.msgbuf.generator.ast
-
Type codes for the
Optionhierarchy. - Option.Visitor<R,A> - Interface in de.haumacher.msgbuf.generator.ast
-
Visitor interface for the
Optionhierarchy. - optionAssignment(WithOptions) - Method in class de.haumacher.msgbuf.generator.parser.ProtobufParser
- OptionContainer - Class in de.haumacher.msgbuf.generator.ast
-
Container for temporary collecting annotations without further semantics.
- OptionContainer() - Constructor for class de.haumacher.msgbuf.generator.ast.OptionContainer
-
Creates a
OptionContainerinstance. - OPTIONS__PROP - Static variable in class de.haumacher.msgbuf.generator.ast.WithOptions
- optionStatement(WithOptions) - Method in class de.haumacher.msgbuf.generator.parser.ProtobufParser
- OUTER__PROP - Static variable in class de.haumacher.msgbuf.generator.ast.Definition
- OUTPUT_DIR_ARG - Static variable in class de.haumacher.msgbuf.generator.Generator
-
Argument giving the output directory.
- OWNER__PROP - Static variable in class de.haumacher.msgbuf.generator.ast.Part
P
- PACKAGE - Static variable in interface de.haumacher.msgbuf.generator.parser.ProtobufParserConstants
-
RegularExpression Id.
- PACKAGE__PROP - Static variable in class de.haumacher.msgbuf.generator.ast.DefinitionFile
- packageName(QName) - Static method in class de.haumacher.msgbuf.generator.CodeConvention
- parse(InputStream) - Static method in class de.haumacher.msgbuf.generator.Generator
- ParseException - Exception in de.haumacher.msgbuf.generator.parser
-
This exception is thrown when parse errors are encountered.
- ParseException() - Constructor for exception de.haumacher.msgbuf.generator.parser.ParseException
-
The following constructors are for use by you for whatever purpose you can think of.
- ParseException(Token, int[][], String[]) - Constructor for exception de.haumacher.msgbuf.generator.parser.ParseException
-
This constructor is used by the method "generateParseException" in the generated parser.
- ParseException(String) - Constructor for exception de.haumacher.msgbuf.generator.parser.ParseException
-
Constructor with message.
- Part - Class in de.haumacher.msgbuf.generator.ast
-
Member of a
Definition. - Part() - Constructor for class de.haumacher.msgbuf.generator.ast.Part
-
Creates a
Partinstance. - Part.Visitor<R,A> - Interface in de.haumacher.msgbuf.generator.ast
-
Visitor interface for the
Parthierarchy. - partOptions(Part) - Method in class de.haumacher.msgbuf.generator.parser.ProtobufParser
- prevCharIsCR - Variable in class de.haumacher.msgbuf.generator.parser.SimpleCharStream
- prevCharIsLF - Variable in class de.haumacher.msgbuf.generator.parser.SimpleCharStream
- PRIMITIVE_TYPE - de.haumacher.msgbuf.generator.ast.Type.TypeKind
-
Type literal for
PrimitiveType. - PRIMITIVE_TYPE__TYPE - Static variable in class de.haumacher.msgbuf.generator.ast.PrimitiveType
-
Identifier for the
PrimitiveTypetype in JSON format. - primitiveType() - Method in class de.haumacher.msgbuf.generator.parser.ProtobufParser
- PrimitiveType - Class in de.haumacher.msgbuf.generator.ast
-
A primitive built-in
Type. - PrimitiveType() - Constructor for class de.haumacher.msgbuf.generator.ast.PrimitiveType
-
Creates a
PrimitiveTypeinstance. - PrimitiveType.Kind - Enum in de.haumacher.msgbuf.generator.ast
-
Supported built-in types.
- process(DefinitionFile) - Method in class de.haumacher.msgbuf.generator.FieldIDSynthesizer
-
Assigns IDs in the given file.
- process(DefinitionFile) - Method in class de.haumacher.msgbuf.generator.TypeIdSynthesizer
-
Starts the ID assignment process.
- properties() - Method in class de.haumacher.msgbuf.generator.ast.CustomType
- properties() - Method in class de.haumacher.msgbuf.generator.ast.Definition
- properties() - Method in class de.haumacher.msgbuf.generator.ast.DefinitionBase
- properties() - Method in class de.haumacher.msgbuf.generator.ast.DefinitionFile
- properties() - Method in class de.haumacher.msgbuf.generator.ast.EnumDef
- properties() - Method in class de.haumacher.msgbuf.generator.ast.Field
- properties() - Method in class de.haumacher.msgbuf.generator.ast.Flag
- properties() - Method in class de.haumacher.msgbuf.generator.ast.MapType
- properties() - Method in class de.haumacher.msgbuf.generator.ast.MessageDef
- properties() - Method in class de.haumacher.msgbuf.generator.ast.NumberOption
- properties() - Method in class de.haumacher.msgbuf.generator.ast.Part
- properties() - Method in class de.haumacher.msgbuf.generator.ast.PrimitiveType
- properties() - Method in class de.haumacher.msgbuf.generator.ast.QName
- properties() - Method in class de.haumacher.msgbuf.generator.ast.StringOption
- properties() - Method in class de.haumacher.msgbuf.generator.ast.WithOptions
- Proto2Json - Class in de.haumacher.msgbuf.generator
-
Converts a
.protodefinition file into JSON representation. - Proto2Json() - Constructor for class de.haumacher.msgbuf.generator.Proto2Json
- ProtobufParser - Class in de.haumacher.msgbuf.generator.parser
-
Parser for protobuf definition files..
- ProtobufParser(ProtobufParserTokenManager) - Constructor for class de.haumacher.msgbuf.generator.parser.ProtobufParser
-
Constructor with generated Token Manager.
- ProtobufParser(InputStream) - Constructor for class de.haumacher.msgbuf.generator.parser.ProtobufParser
-
Constructor with InputStream.
- ProtobufParser(InputStream, String) - Constructor for class de.haumacher.msgbuf.generator.parser.ProtobufParser
-
Constructor with InputStream and supplied encoding
- ProtobufParser(Reader) - Constructor for class de.haumacher.msgbuf.generator.parser.ProtobufParser
-
Constructor.
- ProtobufParserConstants - Interface in de.haumacher.msgbuf.generator.parser
-
Token literal values and constants.
- ProtobufParserTokenManager - Class in de.haumacher.msgbuf.generator.parser
-
Token Manager.
- ProtobufParserTokenManager(SimpleCharStream) - Constructor for class de.haumacher.msgbuf.generator.parser.ProtobufParserTokenManager
-
Constructor.
- ProtobufParserTokenManager(SimpleCharStream, int) - Constructor for class de.haumacher.msgbuf.generator.parser.ProtobufParserTokenManager
-
Constructor.
- protocolName() - Method in enum de.haumacher.msgbuf.generator.ast.PrimitiveType.Kind
-
The protocol name of a
PrimitiveType.Kindconstant. - putOption(String, Option) - Method in class de.haumacher.msgbuf.generator.ast.Constant
- putOption(String, Option) - Method in class de.haumacher.msgbuf.generator.ast.Definition
- putOption(String, Option) - Method in class de.haumacher.msgbuf.generator.ast.DefinitionBase
- putOption(String, Option) - Method in class de.haumacher.msgbuf.generator.ast.DefinitionFile
- putOption(String, Option) - Method in class de.haumacher.msgbuf.generator.ast.EnumDef
- putOption(String, Option) - Method in class de.haumacher.msgbuf.generator.ast.Field
- putOption(String, Option) - Method in class de.haumacher.msgbuf.generator.ast.MessageDef
- putOption(String, Option) - Method in class de.haumacher.msgbuf.generator.ast.OptionContainer
- putOption(String, Option) - Method in class de.haumacher.msgbuf.generator.ast.Part
- putOption(String, Option) - Method in class de.haumacher.msgbuf.generator.ast.WithOptions
-
Adds a key value pair to the
WithOptions.getOptions()map.
Q
- qImplName(MessageDef) - Method in class de.haumacher.msgbuf.generator.AbstractMessageGenerator
- qImplName(QName) - Static method in class de.haumacher.msgbuf.generator.CodeConvention
- qImplName(String, Definition) - Static method in class de.haumacher.msgbuf.generator.CodeConvention
- qName() - Method in class de.haumacher.msgbuf.generator.parser.ProtobufParser
- qName(QName) - Static method in class de.haumacher.msgbuf.generator.CodeConvention
- qName(QName, Function<String, String>) - Static method in class de.haumacher.msgbuf.generator.CodeConvention
- qName(String, Definition, Function<String, String>) - Static method in class de.haumacher.msgbuf.generator.CodeConvention
- QName - Class in de.haumacher.msgbuf.generator.ast
-
A dot-separated qualified name.
- QName() - Constructor for class de.haumacher.msgbuf.generator.ast.QName
-
Creates a
QNameinstance. - QNAME__TYPE - Static variable in class de.haumacher.msgbuf.generator.ast.QName
-
Identifier for the
QNametype in JSON format. - qTypeName(CustomType) - Static method in class de.haumacher.msgbuf.generator.CodeConvention
- qTypeName(Definition) - Static method in class de.haumacher.msgbuf.generator.CodeConvention
- qTypeName(QName) - Static method in class de.haumacher.msgbuf.generator.CodeConvention
- QUOTE - Static variable in interface de.haumacher.msgbuf.generator.parser.ProtobufParserConstants
-
RegularExpression Id.
R
- readChar() - Method in class de.haumacher.msgbuf.generator.parser.SimpleCharStream
-
Read a character.
- readConstant(JsonReader) - Static method in class de.haumacher.msgbuf.generator.ast.Constant
-
Reads a new instance from the given reader.
- readCustomType(JsonReader) - Static method in class de.haumacher.msgbuf.generator.ast.CustomType
-
Reads a new instance from the given reader.
- readDefinition(JsonReader) - Static method in class de.haumacher.msgbuf.generator.ast.Definition
-
Reads a new instance from the given reader.
- readDefinitionBase(JsonReader) - Static method in class de.haumacher.msgbuf.generator.ast.DefinitionBase
-
Reads a new instance from the given reader.
- readDefinitionFile(JsonReader) - Static method in class de.haumacher.msgbuf.generator.ast.DefinitionFile
-
Reads a new instance from the given reader.
- readEnumDef(JsonReader) - Static method in class de.haumacher.msgbuf.generator.ast.EnumDef
-
Reads a new instance from the given reader.
- readEnumMethod(EnumDef) - Static method in class de.haumacher.msgbuf.generator.dart.DartCoding
-
Name of the method for reading an enum literal.
- readerName(Definition) - Static method in class de.haumacher.msgbuf.generator.CodeConvention
- readerName(String) - Static method in class de.haumacher.msgbuf.generator.CodeConvention
- readerNameContent(Definition) - Static method in class de.haumacher.msgbuf.generator.CodeConvention
- readerNameContent(String) - Static method in class de.haumacher.msgbuf.generator.CodeConvention
- readField(JsonReader) - Static method in class de.haumacher.msgbuf.generator.ast.Field
-
Reads a new instance from the given reader.
- readField(JsonReader, String) - Method in class de.haumacher.msgbuf.generator.ast.CustomType
- readField(JsonReader, String) - Method in class de.haumacher.msgbuf.generator.ast.Definition
- readField(JsonReader, String) - Method in class de.haumacher.msgbuf.generator.ast.DefinitionBase
- readField(JsonReader, String) - Method in class de.haumacher.msgbuf.generator.ast.DefinitionFile
- readField(JsonReader, String) - Method in class de.haumacher.msgbuf.generator.ast.EnumDef
- readField(JsonReader, String) - Method in class de.haumacher.msgbuf.generator.ast.Field
- readField(JsonReader, String) - Method in class de.haumacher.msgbuf.generator.ast.Flag
- readField(JsonReader, String) - Method in class de.haumacher.msgbuf.generator.ast.MapType
- readField(JsonReader, String) - Method in class de.haumacher.msgbuf.generator.ast.MessageDef
- readField(JsonReader, String) - Method in class de.haumacher.msgbuf.generator.ast.NumberOption
- readField(JsonReader, String) - Method in class de.haumacher.msgbuf.generator.ast.Part
- readField(JsonReader, String) - Method in class de.haumacher.msgbuf.generator.ast.PrimitiveType
- readField(JsonReader, String) - Method in class de.haumacher.msgbuf.generator.ast.QName
- readField(JsonReader, String) - Method in class de.haumacher.msgbuf.generator.ast.StringOption
- readField(JsonReader, String) - Method in class de.haumacher.msgbuf.generator.ast.WithOptions
- readFlag(JsonReader) - Static method in class de.haumacher.msgbuf.generator.ast.Flag
-
Reads a new instance from the given reader.
- readKind(DataReader) - Static method in enum de.haumacher.msgbuf.generator.ast.PrimitiveType.Kind
-
Reads a new instance from the given binary reader.
- readKind(JsonReader) - Static method in enum de.haumacher.msgbuf.generator.ast.PrimitiveType.Kind
-
Reads a new instance from the given reader.
- readMapType(JsonReader) - Static method in class de.haumacher.msgbuf.generator.ast.MapType
-
Reads a new instance from the given reader.
- readMessageDef(JsonReader) - Static method in class de.haumacher.msgbuf.generator.ast.MessageDef
-
Reads a new instance from the given reader.
- readNumberOption(JsonReader) - Static method in class de.haumacher.msgbuf.generator.ast.NumberOption
-
Reads a new instance from the given reader.
- ReadOperationBuilder - Class in de.haumacher.msgbuf.generator.dart
-
Generator of a read operation for reading a field value from a JSON stream.
- ReadOperationBuilder(Field) - Constructor for class de.haumacher.msgbuf.generator.dart.ReadOperationBuilder
-
Creates a
ReadOperationBuilder. - readOption(JsonReader) - Static method in class de.haumacher.msgbuf.generator.ast.Option
-
Reads a new instance from the given reader.
- readOptionContainer(JsonReader) - Static method in class de.haumacher.msgbuf.generator.ast.OptionContainer
-
Reads a new instance from the given reader.
- readPart(JsonReader) - Static method in class de.haumacher.msgbuf.generator.ast.Part
-
Reads a new instance from the given reader.
- readPrimitiveType(JsonReader) - Static method in class de.haumacher.msgbuf.generator.ast.PrimitiveType
-
Reads a new instance from the given reader.
- readQName(JsonReader) - Static method in class de.haumacher.msgbuf.generator.ast.QName
-
Reads a new instance from the given reader.
- readStringOption(JsonReader) - Static method in class de.haumacher.msgbuf.generator.ast.StringOption
-
Reads a new instance from the given reader.
- readType(JsonReader) - Static method in class de.haumacher.msgbuf.generator.ast.Type
-
Reads a new instance from the given reader.
- readWithOptions(JsonReader) - Static method in class de.haumacher.msgbuf.generator.ast.WithOptions
-
Reads a new instance from the given reader.
- registerListener(Listener) - Method in class de.haumacher.msgbuf.generator.ast.Option
- registerListener(Listener) - Method in class de.haumacher.msgbuf.generator.ast.QName
- registerListener(Listener) - Method in class de.haumacher.msgbuf.generator.ast.Type
- registerListener(Listener) - Method in class de.haumacher.msgbuf.generator.ast.WithOptions
- ReInit(ProtobufParserTokenManager) - Method in class de.haumacher.msgbuf.generator.parser.ProtobufParser
-
Reinitialise.
- ReInit(SimpleCharStream) - Method in class de.haumacher.msgbuf.generator.parser.ProtobufParserTokenManager
-
Reinitialise parser.
- ReInit(SimpleCharStream, int) - Method in class de.haumacher.msgbuf.generator.parser.ProtobufParserTokenManager
-
Reinitialise parser.
- ReInit(InputStream) - Method in class de.haumacher.msgbuf.generator.parser.ProtobufParser
-
Reinitialise.
- ReInit(InputStream) - Method in class de.haumacher.msgbuf.generator.parser.SimpleCharStream
-
Reinitialise.
- ReInit(InputStream, int, int) - Method in class de.haumacher.msgbuf.generator.parser.SimpleCharStream
-
Reinitialise.
- ReInit(InputStream, int, int, int) - Method in class de.haumacher.msgbuf.generator.parser.SimpleCharStream
-
Reinitialise.
- ReInit(InputStream, String) - Method in class de.haumacher.msgbuf.generator.parser.ProtobufParser
-
Reinitialise.
- ReInit(InputStream, String) - Method in class de.haumacher.msgbuf.generator.parser.SimpleCharStream
-
Reinitialise.
- ReInit(InputStream, String, int, int) - Method in class de.haumacher.msgbuf.generator.parser.SimpleCharStream
-
Reinitialise.
- ReInit(InputStream, String, int, int, int) - Method in class de.haumacher.msgbuf.generator.parser.SimpleCharStream
-
Reinitialise.
- ReInit(Reader) - Method in class de.haumacher.msgbuf.generator.parser.ProtobufParser
-
Reinitialise.
- ReInit(Reader) - Method in class de.haumacher.msgbuf.generator.parser.SimpleCharStream
-
Reinitialise.
- ReInit(Reader, int, int) - Method in class de.haumacher.msgbuf.generator.parser.SimpleCharStream
-
Reinitialise.
- ReInit(Reader, int, int, int) - Method in class de.haumacher.msgbuf.generator.parser.SimpleCharStream
-
Reinitialise.
- removeConstant(Constant) - Method in class de.haumacher.msgbuf.generator.ast.EnumDef
-
Removes a value from the
EnumDef.getConstants()list. - removeDefinition(Definition) - Method in class de.haumacher.msgbuf.generator.ast.DefinitionFile
-
Removes a value from the
DefinitionFile.getDefinitions()list. - removeDefinition(Definition) - Method in class de.haumacher.msgbuf.generator.ast.MessageDef
-
Removes a value from the
MessageDef.getDefinitions()list. - removeField(Field) - Method in class de.haumacher.msgbuf.generator.ast.MessageDef
-
Removes a value from the
MessageDef.getFields()list. - removeName(String) - Method in class de.haumacher.msgbuf.generator.ast.QName
-
Removes a value from the
QName.getNames()list. - removeOption(String) - Method in class de.haumacher.msgbuf.generator.ast.WithOptions
-
Removes a key from the
WithOptions.getOptions()map. - removerName(Field) - Static method in class de.haumacher.msgbuf.generator.CodeConvention
- removeSpecialization(MessageDef) - Method in class de.haumacher.msgbuf.generator.ast.MessageDef
-
Removes a value from the
MessageDef.getSpecializations()list. - REPEATED - Static variable in interface de.haumacher.msgbuf.generator.parser.ProtobufParserConstants
-
RegularExpression Id.
- REPEATED__PROP - Static variable in class de.haumacher.msgbuf.generator.ast.Field
- reservation() - Method in class de.haumacher.msgbuf.generator.parser.ProtobufParser
- reserved() - Method in class de.haumacher.msgbuf.generator.parser.ProtobufParser
- RESERVED - Static variable in interface de.haumacher.msgbuf.generator.parser.ProtobufParserConstants
-
RegularExpression Id.
- run() - Method in class de.haumacher.msgbuf.generator.dart.DartLibGenerator
-
Runs the generation.
S
- self() - Method in class de.haumacher.msgbuf.generator.ast.Field
- self() - Method in class de.haumacher.msgbuf.generator.ast.MessageDef
- self() - Method in interface de.haumacher.msgbuf.generator.FieldOperations
-
The implementation.
- self() - Method in interface de.haumacher.msgbuf.generator.MessageDefOperations
- set(String, Object) - Method in class de.haumacher.msgbuf.generator.ast.CustomType
- set(String, Object) - Method in class de.haumacher.msgbuf.generator.ast.Definition
- set(String, Object) - Method in class de.haumacher.msgbuf.generator.ast.DefinitionBase
- set(String, Object) - Method in class de.haumacher.msgbuf.generator.ast.DefinitionFile
- set(String, Object) - Method in class de.haumacher.msgbuf.generator.ast.EnumDef
- set(String, Object) - Method in class de.haumacher.msgbuf.generator.ast.Field
- set(String, Object) - Method in class de.haumacher.msgbuf.generator.ast.Flag
- set(String, Object) - Method in class de.haumacher.msgbuf.generator.ast.MapType
- set(String, Object) - Method in class de.haumacher.msgbuf.generator.ast.MessageDef
- set(String, Object) - Method in class de.haumacher.msgbuf.generator.ast.NumberOption
- set(String, Object) - Method in class de.haumacher.msgbuf.generator.ast.Part
- set(String, Object) - Method in class de.haumacher.msgbuf.generator.ast.PrimitiveType
- set(String, Object) - Method in class de.haumacher.msgbuf.generator.ast.QName
- set(String, Object) - Method in class de.haumacher.msgbuf.generator.ast.StringOption
- set(String, Object) - Method in class de.haumacher.msgbuf.generator.ast.WithOptions
- setAbstract(boolean) - Method in class de.haumacher.msgbuf.generator.ast.MessageDef
- setBinary(boolean) - Method in class de.haumacher.msgbuf.generator.MessageGenerator
- setComment(String) - Method in class de.haumacher.msgbuf.generator.ast.Constant
- setComment(String) - Method in class de.haumacher.msgbuf.generator.ast.Definition
- setComment(String) - Method in class de.haumacher.msgbuf.generator.ast.DefinitionBase
- setComment(String) - Method in class de.haumacher.msgbuf.generator.ast.EnumDef
- setComment(String) - Method in class de.haumacher.msgbuf.generator.ast.Field
- setComment(String) - Method in class de.haumacher.msgbuf.generator.ast.MessageDef
- setComment(String) - Method in class de.haumacher.msgbuf.generator.ast.Part
- setConstants(List<? extends Constant>) - Method in class de.haumacher.msgbuf.generator.ast.EnumDef
- setDebugStream(PrintStream) - Method in class de.haumacher.msgbuf.generator.parser.ProtobufParserTokenManager
-
Set debug output.
- setDefaultValue(String) - Method in class de.haumacher.msgbuf.generator.ast.Field
- setDefinition(Definition) - Method in class de.haumacher.msgbuf.generator.ast.CustomType
- setDefinitions(List<? extends Definition>) - Method in class de.haumacher.msgbuf.generator.ast.DefinitionFile
- setDefinitions(List<? extends Definition>) - Method in class de.haumacher.msgbuf.generator.ast.MessageDef
- setExtendedDef(MessageDef) - Method in class de.haumacher.msgbuf.generator.ast.MessageDef
- setExtends(QName) - Method in class de.haumacher.msgbuf.generator.ast.MessageDef
- setFields(List<? extends Field>) - Method in class de.haumacher.msgbuf.generator.ast.MessageDef
- setFile(DefinitionFile) - Method in class de.haumacher.msgbuf.generator.ast.Definition
- setFile(DefinitionFile) - Method in class de.haumacher.msgbuf.generator.ast.EnumDef
- setFile(DefinitionFile) - Method in class de.haumacher.msgbuf.generator.ast.MessageDef
- setId(int) - Method in class de.haumacher.msgbuf.generator.ast.MessageDef
- setIndex(int) - Method in class de.haumacher.msgbuf.generator.ast.Constant
- setIndex(int) - Method in class de.haumacher.msgbuf.generator.ast.Field
- setIndex(int) - Method in class de.haumacher.msgbuf.generator.ast.Part
- setJson(boolean) - Method in class de.haumacher.msgbuf.generator.MessageGenerator
- setKeyType(Type) - Method in class de.haumacher.msgbuf.generator.ast.MapType
- setKind(PrimitiveType.Kind) - Method in class de.haumacher.msgbuf.generator.ast.PrimitiveType
- setName(QName) - Method in class de.haumacher.msgbuf.generator.ast.CustomType
- setName(String) - Method in class de.haumacher.msgbuf.generator.ast.Constant
- setName(String) - Method in class de.haumacher.msgbuf.generator.ast.Definition
- setName(String) - Method in class de.haumacher.msgbuf.generator.ast.EnumDef
- setName(String) - Method in class de.haumacher.msgbuf.generator.ast.Field
- setName(String) - Method in class de.haumacher.msgbuf.generator.ast.MessageDef
- setName(String) - Method in class de.haumacher.msgbuf.generator.ast.Part
- setNames(List<? extends String>) - Method in class de.haumacher.msgbuf.generator.ast.QName
- setOptions(Map<String, Option>) - Method in class de.haumacher.msgbuf.generator.ast.Constant
- setOptions(Map<String, Option>) - Method in class de.haumacher.msgbuf.generator.ast.Definition
- setOptions(Map<String, Option>) - Method in class de.haumacher.msgbuf.generator.ast.DefinitionBase
- setOptions(Map<String, Option>) - Method in class de.haumacher.msgbuf.generator.ast.DefinitionFile
- setOptions(Map<String, Option>) - Method in class de.haumacher.msgbuf.generator.ast.EnumDef
- setOptions(Map<String, Option>) - Method in class de.haumacher.msgbuf.generator.ast.Field
- setOptions(Map<String, Option>) - Method in class de.haumacher.msgbuf.generator.ast.MessageDef
- setOptions(Map<String, Option>) - Method in class de.haumacher.msgbuf.generator.ast.OptionContainer
- setOptions(Map<String, Option>) - Method in class de.haumacher.msgbuf.generator.ast.Part
- setOptions(Map<String, Option>) - Method in class de.haumacher.msgbuf.generator.ast.WithOptions
- setOut(File) - Method in class de.haumacher.msgbuf.generator.Generator
- setOuter(MessageDef) - Method in class de.haumacher.msgbuf.generator.ast.Definition
- setOuter(MessageDef) - Method in class de.haumacher.msgbuf.generator.ast.EnumDef
- setOuter(MessageDef) - Method in class de.haumacher.msgbuf.generator.ast.MessageDef
- setOwner(Definition) - Method in class de.haumacher.msgbuf.generator.ast.Constant
- setOwner(Definition) - Method in class de.haumacher.msgbuf.generator.ast.Field
- setOwner(Definition) - Method in class de.haumacher.msgbuf.generator.ast.Part
- setPackage(QName) - Method in class de.haumacher.msgbuf.generator.ast.DefinitionFile
- setReflection(boolean) - Method in class de.haumacher.msgbuf.generator.MessageGenerator
- setRepeated(boolean) - Method in class de.haumacher.msgbuf.generator.ast.Field
- setSpecializations(List<? extends MessageDef>) - Method in class de.haumacher.msgbuf.generator.ast.MessageDef
- setTabSize(int) - Method in class de.haumacher.msgbuf.generator.parser.SimpleCharStream
- setterName(Field) - Static method in class de.haumacher.msgbuf.generator.CodeConvention
- setTransient(boolean) - Method in class de.haumacher.msgbuf.generator.ast.Field
- setType(Type) - Method in class de.haumacher.msgbuf.generator.ast.Field
- setValue(boolean) - Method in class de.haumacher.msgbuf.generator.ast.Flag
- setValue(double) - Method in class de.haumacher.msgbuf.generator.ast.NumberOption
- setValue(String) - Method in class de.haumacher.msgbuf.generator.ast.StringOption
- setValueType(Type) - Method in class de.haumacher.msgbuf.generator.ast.MapType
- SFIXED_32 - de.haumacher.msgbuf.generator.ast.PrimitiveType.Kind
-
A signed 32 bit integer without runlength encoding.
- SFIXED_64 - de.haumacher.msgbuf.generator.ast.PrimitiveType.Kind
-
A signed 64 bit integer without runlength encoding.
- SimpleCharStream - Class in de.haumacher.msgbuf.generator.parser
-
An implementation of interface CharStream, where the stream is assumed to contain only ASCII characters (without unicode processing).
- SimpleCharStream(InputStream) - Constructor for class de.haumacher.msgbuf.generator.parser.SimpleCharStream
-
Constructor.
- SimpleCharStream(InputStream, int, int) - Constructor for class de.haumacher.msgbuf.generator.parser.SimpleCharStream
-
Constructor.
- SimpleCharStream(InputStream, int, int, int) - Constructor for class de.haumacher.msgbuf.generator.parser.SimpleCharStream
-
Constructor.
- SimpleCharStream(InputStream, String) - Constructor for class de.haumacher.msgbuf.generator.parser.SimpleCharStream
-
Constructor.
- SimpleCharStream(InputStream, String, int, int) - Constructor for class de.haumacher.msgbuf.generator.parser.SimpleCharStream
-
Constructor.
- SimpleCharStream(InputStream, String, int, int, int) - Constructor for class de.haumacher.msgbuf.generator.parser.SimpleCharStream
-
Constructor.
- SimpleCharStream(Reader) - Constructor for class de.haumacher.msgbuf.generator.parser.SimpleCharStream
-
Constructor.
- SimpleCharStream(Reader, int, int) - Constructor for class de.haumacher.msgbuf.generator.parser.SimpleCharStream
-
Constructor.
- SimpleCharStream(Reader, int, int, int) - Constructor for class de.haumacher.msgbuf.generator.parser.SimpleCharStream
-
Constructor.
- SINT_32 - de.haumacher.msgbuf.generator.ast.PrimitiveType.Kind
-
A signed 32 bit integer.
- SINT_64 - de.haumacher.msgbuf.generator.ast.PrimitiveType.Kind
-
A signed 64 bit integer.
- SPACE - Static variable in interface de.haumacher.msgbuf.generator.parser.ProtobufParserConstants
-
RegularExpression Id.
- SPECIALIZATIONS__PROP - Static variable in class de.haumacher.msgbuf.generator.ast.MessageDef
- specialToken - Variable in class de.haumacher.msgbuf.generator.parser.Token
-
This field is used to access special tokens that occur prior to this token, but after the immediately preceding regular (non-special) token.
- STATIC_LEXER_ERROR - Static variable in error de.haumacher.msgbuf.generator.parser.TokenMgrError
-
An attempt was made to create a second instance of a static token manager.
- staticFlag - Static variable in class de.haumacher.msgbuf.generator.parser.SimpleCharStream
-
Whether parser is static.
- STRING - de.haumacher.msgbuf.generator.ast.PrimitiveType.Kind
-
A string of characters.
- STRING - Static variable in interface de.haumacher.msgbuf.generator.parser.ProtobufParserConstants
-
RegularExpression Id.
- STRING_OPTION - de.haumacher.msgbuf.generator.ast.Option.TypeKind
-
Type literal for
StringOption. - STRING_OPTION__TYPE - Static variable in class de.haumacher.msgbuf.generator.ast.StringOption
-
Identifier for the
StringOptiontype in JSON format. - stringContent(String) - Static method in class de.haumacher.msgbuf.generator.common.Util
- stringLiteral(String) - Static method in class de.haumacher.msgbuf.generator.dart.DartCoding
-
A string literal with the given value.
- stringLiteral(String) - Static method in class de.haumacher.msgbuf.generator.util.CodeUtil
-
A Java string literal with the given value.
- StringOption - Class in de.haumacher.msgbuf.generator.ast
-
Optionannotating a string value - StringOption() - Constructor for class de.haumacher.msgbuf.generator.ast.StringOption
-
Creates a
StringOptioninstance. - stripComment(Token) - Static method in class de.haumacher.msgbuf.generator.common.Util
- stripComment(String) - Static method in class de.haumacher.msgbuf.generator.common.Util
- suffix(Field) - Static method in class de.haumacher.msgbuf.generator.CodeConvention
- SwitchTo(int) - Method in class de.haumacher.msgbuf.generator.parser.ProtobufParserTokenManager
-
Switch to specified lex state.
- SYNTAX - Static variable in interface de.haumacher.msgbuf.generator.parser.ProtobufParserConstants
-
RegularExpression Id.
T
- TAB - Static variable in interface de.haumacher.msgbuf.generator.parser.ProtobufParserConstants
-
RegularExpression Id.
- tabSize - Variable in class de.haumacher.msgbuf.generator.parser.SimpleCharStream
- TO - Static variable in interface de.haumacher.msgbuf.generator.parser.ProtobufParserConstants
-
RegularExpression Id.
- token - Variable in class de.haumacher.msgbuf.generator.parser.ProtobufParser
-
Current token.
- Token - Class in de.haumacher.msgbuf.generator.parser
-
Describes the input token stream.
- Token() - Constructor for class de.haumacher.msgbuf.generator.parser.Token
-
No-argument constructor
- Token(int) - Constructor for class de.haumacher.msgbuf.generator.parser.Token
-
Constructs a new token for the specified Image.
- Token(int, String) - Constructor for class de.haumacher.msgbuf.generator.parser.Token
-
Constructs a new token for the specified Image and Kind.
- token_source - Variable in class de.haumacher.msgbuf.generator.parser.ProtobufParser
-
Generated Token Manager.
- tokenImage - Variable in exception de.haumacher.msgbuf.generator.parser.ParseException
-
This is a reference to the "tokenImage" array of the generated parser within which the parse error occurred.
- tokenImage - Static variable in interface de.haumacher.msgbuf.generator.parser.ProtobufParserConstants
-
Literal token values.
- TokenMgrError - Error in de.haumacher.msgbuf.generator.parser
-
Token Manager Error.
- TokenMgrError() - Constructor for error de.haumacher.msgbuf.generator.parser.TokenMgrError
-
No arg constructor.
- TokenMgrError(boolean, int, int, int, String, int, int) - Constructor for error de.haumacher.msgbuf.generator.parser.TokenMgrError
-
Full Constructor.
- TokenMgrError(String, int) - Constructor for error de.haumacher.msgbuf.generator.parser.TokenMgrError
-
Constructor with message and reason.
- toString() - Method in class de.haumacher.msgbuf.generator.parser.Token
-
Returns the image.
- toString(Definition) - Static method in class de.haumacher.msgbuf.generator.common.Util
- toString(Part) - Static method in class de.haumacher.msgbuf.generator.common.Util
- trace_enabled() - Method in class de.haumacher.msgbuf.generator.parser.ProtobufParser
-
Trace enabled.
- trackLineColumn - Variable in class de.haumacher.msgbuf.generator.parser.SimpleCharStream
- TRANSIENT - Static variable in interface de.haumacher.msgbuf.generator.parser.ProtobufParserConstants
-
RegularExpression Id.
- TRANSIENT__PROP - Static variable in class de.haumacher.msgbuf.generator.ast.Field
- TRUE - Static variable in interface de.haumacher.msgbuf.generator.parser.ProtobufParserConstants
-
RegularExpression Id.
- type() - Method in class de.haumacher.msgbuf.generator.parser.ProtobufParser
- Type - Class in de.haumacher.msgbuf.generator.ast
-
Base class for possible
Fieldtypes. - Type() - Constructor for class de.haumacher.msgbuf.generator.ast.Type
-
Creates a
Typeinstance. - TYPE - Static variable in interface de.haumacher.msgbuf.generator.parser.ProtobufParserConstants
-
RegularExpression Id.
- TYPE__PROP - Static variable in class de.haumacher.msgbuf.generator.ast.Field
- Type.TypeKind - Enum in de.haumacher.msgbuf.generator.ast
-
Type codes for the
Typehierarchy. - Type.Visitor<R,A> - Interface in de.haumacher.msgbuf.generator.ast
-
Visitor interface for the
Typehierarchy. - TypeGenerator - Class in de.haumacher.msgbuf.generator
-
Generator for Java types of
Fields. - typeId(MessageDef) - Static method in class de.haumacher.msgbuf.generator.common.MsgBufJsonProtocol
-
Identifier used to announce an object of the given type.
- TypeIdSynthesizer - Class in de.haumacher.msgbuf.generator
-
Assigns type IDs in polymorphic hierarchies.
- TypeIdSynthesizer() - Constructor for class de.haumacher.msgbuf.generator.TypeIdSynthesizer
- typeKindConstant(MessageDef) - Static method in class de.haumacher.msgbuf.generator.CodeConvention
- typeName(Definition) - Static method in class de.haumacher.msgbuf.generator.CodeConvention
- typeName(Definition) - Static method in class de.haumacher.msgbuf.generator.dart.DartCoding
-
Name of a class or enum.
- typeName(Field) - Static method in class de.haumacher.msgbuf.generator.dart.DartCoding
-
Name of the type of the given field.
- typeName(String) - Static method in class de.haumacher.msgbuf.generator.CodeConvention
- TypeNameBuilder - Class in de.haumacher.msgbuf.generator.dart
-
Generator for type names of fields.
U
- UINT_32 - de.haumacher.msgbuf.generator.ast.PrimitiveType.Kind
-
An unsigned 32 bit integer.
- UINT_64 - de.haumacher.msgbuf.generator.ast.PrimitiveType.Kind
-
An unsigned 64 bit integer.
- underscored(String) - Static method in class de.haumacher.msgbuf.generator.util.CodeUtil
-
Converts a camel-case name to a name where parts are separated by '_'.
- unregisterListener(Listener) - Method in class de.haumacher.msgbuf.generator.ast.Option
- unregisterListener(Listener) - Method in class de.haumacher.msgbuf.generator.ast.QName
- unregisterListener(Listener) - Method in class de.haumacher.msgbuf.generator.ast.Type
- unregisterListener(Listener) - Method in class de.haumacher.msgbuf.generator.ast.WithOptions
- UpdateLineColumn(char) - Method in class de.haumacher.msgbuf.generator.parser.SimpleCharStream
- Util - Class in de.haumacher.msgbuf.generator.common
-
Utilities for accessing
msgbufmodel. - Util() - Constructor for class de.haumacher.msgbuf.generator.common.Util
V
- value() - Method in class de.haumacher.msgbuf.generator.parser.ProtobufParser
- VALUE__PROP - Static variable in class de.haumacher.msgbuf.generator.ast.Flag
- VALUE__PROP - Static variable in class de.haumacher.msgbuf.generator.ast.NumberOption
- VALUE__PROP - Static variable in class de.haumacher.msgbuf.generator.ast.StringOption
- VALUE_TYPE__PROP - Static variable in class de.haumacher.msgbuf.generator.ast.MapType
- valueOf(String) - Static method in enum de.haumacher.msgbuf.generator.ast.Option.TypeKind
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum de.haumacher.msgbuf.generator.ast.PrimitiveType.Kind
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum de.haumacher.msgbuf.generator.ast.Type.TypeKind
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum de.haumacher.msgbuf.generator.ast.WithOptions.TypeKind
-
Returns the enum constant of this type with the specified name.
- valueOfProtocol(String) - Static method in enum de.haumacher.msgbuf.generator.ast.PrimitiveType.Kind
-
Looks up a
PrimitiveType.Kindconstant by it's protocol name. - values() - Static method in enum de.haumacher.msgbuf.generator.ast.Option.TypeKind
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum de.haumacher.msgbuf.generator.ast.PrimitiveType.Kind
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum de.haumacher.msgbuf.generator.ast.Type.TypeKind
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum de.haumacher.msgbuf.generator.ast.WithOptions.TypeKind
-
Returns an array containing the constants of this enum type, in the order they are declared.
- visit(Constant, A) - Method in interface de.haumacher.msgbuf.generator.ast.Part.Visitor
-
Visit case for
Constant. - visit(CustomType, A) - Method in interface de.haumacher.msgbuf.generator.ast.Type.Visitor
-
Visit case for
CustomType. - visit(CustomType, Field) - Method in class de.haumacher.msgbuf.generator.dart.InitializerGenerator
- visit(CustomType, Field) - Method in class de.haumacher.msgbuf.generator.dart.TypeNameBuilder
- visit(CustomType, Boolean) - Method in class de.haumacher.msgbuf.generator.TypeGenerator
- visit(CustomType, String) - Method in class de.haumacher.msgbuf.generator.dart.WriteOperationBuilder
- visit(CustomType, Function<String, String>) - Method in class de.haumacher.msgbuf.generator.dart.ReadOperationBuilder
- visit(Definition.Visitor<R, A>, A) - Method in class de.haumacher.msgbuf.generator.ast.Definition
-
Accepts the given visitor.
- visit(Definition.Visitor<R, A>, A) - Method in class de.haumacher.msgbuf.generator.ast.EnumDef
- visit(Definition.Visitor<R, A>, A) - Method in class de.haumacher.msgbuf.generator.ast.MessageDef
- visit(DefinitionBase.Visitor<R, A>, A) - Method in class de.haumacher.msgbuf.generator.ast.Definition
- visit(DefinitionBase.Visitor<R, A>, A) - Method in class de.haumacher.msgbuf.generator.ast.DefinitionBase
-
Accepts the given visitor.
- visit(DefinitionBase.Visitor<R, A>, A) - Method in class de.haumacher.msgbuf.generator.ast.Part
- visit(DefinitionFile, A) - Method in interface de.haumacher.msgbuf.generator.ast.WithOptions.Visitor
-
Visit case for
DefinitionFile. - visit(EnumDef, A) - Method in interface de.haumacher.msgbuf.generator.ast.Definition.Visitor
-
Visit case for
EnumDef. - visit(EnumDef, Field) - Method in class de.haumacher.msgbuf.generator.dart.InitializerGenerator
- visit(EnumDef, Field) - Method in class de.haumacher.msgbuf.generator.dart.TypeNameBuilder
- visit(EnumDef, String) - Method in class de.haumacher.msgbuf.generator.dart.WriteOperationBuilder
- visit(EnumDef, Void) - Method in class de.haumacher.msgbuf.generator.dart.DartLibGenerator
- visit(EnumDef, Void) - Method in class de.haumacher.msgbuf.generator.FieldIDSynthesizer
- visit(EnumDef, Void) - Method in class de.haumacher.msgbuf.generator.MessageGenerator
- visit(EnumDef, Void) - Method in class de.haumacher.msgbuf.generator.NameTable
- visit(EnumDef, Void) - Method in class de.haumacher.msgbuf.generator.TypeIdSynthesizer
- visit(EnumDef, Function<String, String>) - Method in class de.haumacher.msgbuf.generator.dart.ReadOperationBuilder
- visit(Field, A) - Method in interface de.haumacher.msgbuf.generator.ast.Part.Visitor
-
Visit case for
Field. - visit(Flag, A) - Method in interface de.haumacher.msgbuf.generator.ast.Option.Visitor
-
Visit case for
Flag. - visit(MapType, A) - Method in interface de.haumacher.msgbuf.generator.ast.Type.Visitor
-
Visit case for
MapType. - visit(MapType, Field) - Method in class de.haumacher.msgbuf.generator.dart.InitializerGenerator
- visit(MapType, Field) - Method in class de.haumacher.msgbuf.generator.dart.TypeNameBuilder
- visit(MapType, Boolean) - Method in class de.haumacher.msgbuf.generator.TypeGenerator
- visit(MapType, String) - Method in class de.haumacher.msgbuf.generator.dart.WriteOperationBuilder
- visit(MapType, Function<String, String>) - Method in class de.haumacher.msgbuf.generator.dart.ReadOperationBuilder
- visit(MessageDef, A) - Method in interface de.haumacher.msgbuf.generator.ast.Definition.Visitor
-
Visit case for
MessageDef. - visit(MessageDef, Field) - Method in class de.haumacher.msgbuf.generator.dart.InitializerGenerator
- visit(MessageDef, Field) - Method in class de.haumacher.msgbuf.generator.dart.TypeNameBuilder
- visit(MessageDef, String) - Method in class de.haumacher.msgbuf.generator.dart.WriteOperationBuilder
- visit(MessageDef, Void) - Method in class de.haumacher.msgbuf.generator.dart.DartLibGenerator
- visit(MessageDef, Void) - Method in class de.haumacher.msgbuf.generator.FieldIDSynthesizer
- visit(MessageDef, Void) - Method in class de.haumacher.msgbuf.generator.MessageGenerator
- visit(MessageDef, Void) - Method in class de.haumacher.msgbuf.generator.NameTable
- visit(MessageDef, Void) - Method in class de.haumacher.msgbuf.generator.TypeIdSynthesizer
- visit(MessageDef, Function<String, String>) - Method in class de.haumacher.msgbuf.generator.dart.ReadOperationBuilder
- visit(NumberOption, A) - Method in interface de.haumacher.msgbuf.generator.ast.Option.Visitor
-
Visit case for
NumberOption. - visit(Option.Visitor<R, A>, A) - Method in class de.haumacher.msgbuf.generator.ast.Flag
- visit(Option.Visitor<R, A>, A) - Method in class de.haumacher.msgbuf.generator.ast.NumberOption
- visit(Option.Visitor<R, A>, A) - Method in class de.haumacher.msgbuf.generator.ast.Option
-
Accepts the given visitor.
- visit(Option.Visitor<R, A>, A) - Method in class de.haumacher.msgbuf.generator.ast.StringOption
- visit(OptionContainer, A) - Method in interface de.haumacher.msgbuf.generator.ast.WithOptions.Visitor
-
Visit case for
OptionContainer. - visit(Part.Visitor<R, A>, A) - Method in class de.haumacher.msgbuf.generator.ast.Constant
- visit(Part.Visitor<R, A>, A) - Method in class de.haumacher.msgbuf.generator.ast.Field
- visit(Part.Visitor<R, A>, A) - Method in class de.haumacher.msgbuf.generator.ast.Part
-
Accepts the given visitor.
- visit(PrimitiveType, A) - Method in interface de.haumacher.msgbuf.generator.ast.Type.Visitor
-
Visit case for
PrimitiveType. - visit(PrimitiveType, Field) - Method in class de.haumacher.msgbuf.generator.dart.InitializerGenerator
- visit(PrimitiveType, Field) - Method in class de.haumacher.msgbuf.generator.dart.TypeNameBuilder
- visit(PrimitiveType, Boolean) - Method in class de.haumacher.msgbuf.generator.TypeGenerator
- visit(PrimitiveType, String) - Method in class de.haumacher.msgbuf.generator.dart.WriteOperationBuilder
- visit(PrimitiveType, Function<String, String>) - Method in class de.haumacher.msgbuf.generator.dart.ReadOperationBuilder
- visit(StringOption, A) - Method in interface de.haumacher.msgbuf.generator.ast.Option.Visitor
-
Visit case for
StringOption. - visit(Type.Visitor<R, A>, A) - Method in class de.haumacher.msgbuf.generator.ast.CustomType
- visit(Type.Visitor<R, A>, A) - Method in class de.haumacher.msgbuf.generator.ast.MapType
- visit(Type.Visitor<R, A>, A) - Method in class de.haumacher.msgbuf.generator.ast.PrimitiveType
- visit(Type.Visitor<R, A>, A) - Method in class de.haumacher.msgbuf.generator.ast.Type
-
Accepts the given visitor.
- visit(WithOptions.Visitor<R, A>, A) - Method in class de.haumacher.msgbuf.generator.ast.DefinitionBase
- visit(WithOptions.Visitor<R, A>, A) - Method in class de.haumacher.msgbuf.generator.ast.DefinitionFile
- visit(WithOptions.Visitor<R, A>, A) - Method in class de.haumacher.msgbuf.generator.ast.OptionContainer
- visit(WithOptions.Visitor<R, A>, A) - Method in class de.haumacher.msgbuf.generator.ast.WithOptions
-
Accepts the given visitor.
- visitCaseMethod(MessageDef) - Static method in class de.haumacher.msgbuf.generator.dart.DartCoding
-
Visit method of the given concrete type.
- visitMethod(MessageDef) - Static method in class de.haumacher.msgbuf.generator.dart.DartCoding
-
Name of the visit method of the given abstract type.
- visitorName(MessageDef) - Static method in class de.haumacher.msgbuf.generator.dart.DartCoding
-
Name of the visitor class for the given
MessageDef.
W
- WithOptions - Class in de.haumacher.msgbuf.generator.ast
-
Base class for object that can be annotated.
- WithOptions() - Constructor for class de.haumacher.msgbuf.generator.ast.WithOptions
-
Creates a
WithOptionsinstance. - WithOptions.TypeKind - Enum in de.haumacher.msgbuf.generator.ast
-
Type codes for the
WithOptionshierarchy. - WithOptions.Visitor<R,A> - Interface in de.haumacher.msgbuf.generator.ast
-
Visitor interface for the
WithOptionshierarchy. - writeEnumMethod(EnumDef) - Static method in class de.haumacher.msgbuf.generator.dart.DartCoding
-
Name of the method for writing an enum literal.
- writeFields(JsonWriter) - Method in class de.haumacher.msgbuf.generator.ast.CustomType
- writeFields(JsonWriter) - Method in class de.haumacher.msgbuf.generator.ast.Definition
- writeFields(JsonWriter) - Method in class de.haumacher.msgbuf.generator.ast.DefinitionBase
- writeFields(JsonWriter) - Method in class de.haumacher.msgbuf.generator.ast.DefinitionFile
- writeFields(JsonWriter) - Method in class de.haumacher.msgbuf.generator.ast.EnumDef
- writeFields(JsonWriter) - Method in class de.haumacher.msgbuf.generator.ast.Field
- writeFields(JsonWriter) - Method in class de.haumacher.msgbuf.generator.ast.Flag
- writeFields(JsonWriter) - Method in class de.haumacher.msgbuf.generator.ast.MapType
- writeFields(JsonWriter) - Method in class de.haumacher.msgbuf.generator.ast.MessageDef
- writeFields(JsonWriter) - Method in class de.haumacher.msgbuf.generator.ast.NumberOption
- writeFields(JsonWriter) - Method in class de.haumacher.msgbuf.generator.ast.Part
- writeFields(JsonWriter) - Method in class de.haumacher.msgbuf.generator.ast.PrimitiveType
- writeFields(JsonWriter) - Method in class de.haumacher.msgbuf.generator.ast.QName
- writeFields(JsonWriter) - Method in class de.haumacher.msgbuf.generator.ast.StringOption
- writeFields(JsonWriter) - Method in class de.haumacher.msgbuf.generator.ast.WithOptions
- WriteOperationBuilder - Class in de.haumacher.msgbuf.generator.dart
-
Generator of a read operation for reading a field value from a JSON stream.
- WriteOperationBuilder(boolean, Type, String) - Constructor for class de.haumacher.msgbuf.generator.dart.WriteOperationBuilder
-
Creates a
WriteOperationBuilder. - writeTo(DataWriter) - Method in enum de.haumacher.msgbuf.generator.ast.PrimitiveType.Kind
-
Writes this instance to the given binary output.
- writeTo(JsonWriter) - Method in class de.haumacher.msgbuf.generator.ast.Option
- writeTo(JsonWriter) - Method in enum de.haumacher.msgbuf.generator.ast.PrimitiveType.Kind
-
Writes this instance to the given output.
- writeTo(JsonWriter) - Method in class de.haumacher.msgbuf.generator.ast.QName
- writeTo(JsonWriter) - Method in class de.haumacher.msgbuf.generator.ast.Type
- writeTo(JsonWriter) - Method in class de.haumacher.msgbuf.generator.ast.WithOptions
X
- xmlName(String) - Static method in class de.haumacher.msgbuf.generator.util.CodeUtil
-
Converts a
CamelCasename into a '-' separated name in all lower case. - XmlStreamingPlugin - Class in de.haumacher.msgbuf.generator.plugins
-
GeneratorPlugingenerating XML reading code for theXMLStreamReaderinterface. - XmlStreamingPlugin() - Constructor for class de.haumacher.msgbuf.generator.plugins.XmlStreamingPlugin
- XNAME - Static variable in interface de.haumacher.msgbuf.generator.parser.ProtobufParserConstants
-
RegularExpression Id.
_
- _listener - Variable in class de.haumacher.msgbuf.generator.ast.Option
- _listener - Variable in class de.haumacher.msgbuf.generator.ast.QName
- _listener - Variable in class de.haumacher.msgbuf.generator.ast.Type
- _listener - Variable in class de.haumacher.msgbuf.generator.ast.WithOptions
- _noInterfaces - Variable in class de.haumacher.msgbuf.generator.AbstractMessageGenerator
- _packageSuffix - Variable in class de.haumacher.msgbuf.generator.AbstractMessageGenerator
All Classes All Packages