Class MetaPragma
java.lang.Object
com.sun.tools.corba.ee.idl.PragmaHandler
com.sun.tools.corba.ee.idl.som.idlemit.MetaPragma
This is an implementation that handles
#pragma meta scoped_name string
where
- scoped_name == "::" separated scoped name
- string == separated identifiers, such as "localonly", "abstract", or "init". D59407: NOTE: any non-white-space is grouped as part of the identifier.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static intprivate static intprivate static intparse pragma message and place into vector v.static intprivate static int -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate voidbooleanMain entry point for the MetaPragma handlerstatic voidprocessForward(ForwardEntry forwardEntry) Fold the meta info from the forward entry into its corresponding interface entry.Methods inherited from class com.sun.tools.corba.ee.idl.PragmaHandler
closeScope, currentToken, getEntryForName, getStringToEOL, getUntil, nextToken, openScope, parseException, scopedName, skipToEOL, skipUntil
-
Field Details
-
metaKey
public static int metaKey -
initialState
private static int initialStateparse pragma message and place into vector v. -
commentState
private static int commentState -
textState
private static int textState -
finalState
private static int finalState
-
-
Constructor Details
-
MetaPragma
public MetaPragma()
-
-
Method Details
-
process
Main entry point for the MetaPragma handler- Specified by:
processin classPragmaHandler- Parameters:
pragma- string for pragma namecurrentToken- next token in the input stream.- Returns:
- true if this is a meta pragma.
-
processForward
Fold the meta info from the forward entry into its corresponding interface entry.- Parameters:
forwardEntry- the forward entry to process
-
parseMsg
-